text: const { CodeableConceptSchema } = require('./allSchemaHeaders.js');
  const { CodingSchema } = require('./allSchemaHeaders.js');
  const { ContactDetailSchema } = require('./allSchemaHeaders.js');
  const { DomainResourceSchema } = require('./DomainResource');
  const { IdentifierSchema } = require('./allSchemaHeaders.js');
  const { PeriodSchema } = require('./allSchemaHeaders.js');
  const { PrimitiveBooleanSchema } = require('./allSchemaHeaders.js');
  const { PrimitiveCanonicalSchema } = require('./allSchemaHeaders.js');
  const { PrimitiveDateSchema } = require('./allSchemaHeaders.js');
  const { PrimitiveDateTimeSchema } = require('./allSchemaHeaders.js');
  const { PrimitiveMarkdownSchema } = require('./allSchemaHeaders.js');
  const { PrimitiveStringSchema } = require('./allSchemaHeaders.js');
  const { PrimitiveUriSchema } = require('./allSchemaHeaders.js');
  const { PublicationStatusSchema } = require('./allSchemaHeaders.js');
  const { QuestionnaireItemSchema } = require('./allSchemaHeaders.js');
  const { ResourceTypeSchema } = require('./allSchemaHeaders.js');
  const { UsageContextSchema } = require('./allSchemaHeaders.js');
  const { QuestionnaireSchema } = require('./allSchemaHeaders.js');
  
  QuestionnaireSchema.add(DomainResourceSchema);
  QuestionnaireSchema.remove('id');
  QuestionnaireSchema.add({
    url: PrimitiveUriSchema,
    identifier: [IdentifierSchema],
    version: PrimitiveStringSchema,
    name: PrimitiveStringSchema,
    title: PrimitiveStringSchema,
    derivedFrom: [PrimitiveCanonicalSchema],
    status: PublicationStatusSchema,
    experimental: PrimitiveBooleanSchema,
    subjectType: [ResourceTypeSchema],
    date: PrimitiveDateTimeSchema,
    publisher: PrimitiveStringSchema,
    contact: [ContactDetailSchema],
    description: PrimitiveMarkdownSchema,
    useContext: [UsageContextSchema],
    jurisdiction: [CodeableConceptSchema],
    purpose: PrimitiveMarkdownSchema,
    copyright: PrimitiveMarkdownSchema,
    approvalDate: PrimitiveDateSchema,
    lastReviewDate: PrimitiveDateSchema,
    effectivePeriod: PeriodSchema,
    code: [CodingSchema],
    item: [QuestionnaireItemSchema],
  });
  
  module.exports.QuestionnaireSchema = QuestionnaireSchema;
  