openapi: 3.0.0
info:
  title: SHINNY FHIR API
  description: Ingest API for FHIR ingest
  contact:
    email: na@nyec.org
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.0
servers:
  - url: http://shinny.org/fhir.shinny
    description: n/a
paths:
  /bundle:
    post:
      tags:
        - developers
      summary: upserts a bundle of FHIR resources
      description: Adds/updates one or more FHIR resource to the system
      operationId: upsertBundledResources
      requestBody:
        description: Bundle to update/create
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Bundle'
      responses:
        '200':
          description: item updated/created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Success'
        '400':
          description: update/create failed due to invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationOutcome'
        '500':
          description: failed to process request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationOutcome'
  /patient/{id}:
    delete:
      summary: delete a FHIR resource
      operationId: deletePatientResource
      parameters:
        - name: id
          in: path
          description: The patient ID
          required: true
          style: simple
          explode: false
          schema:
            minimum: 1
            type: string
      responses:
        '200':
          description: item has been deleted
        '400':
          description: deletion failed due to invalid input
        '500':
          description: failed to process request
  /encounter/{id}:
    delete:
      summary: delete a FHIR resource
      operationId: deleteEncounterResource
      parameters:
        - name: id
          in: path
          description: The user ID
          required: true
          style: simple
          explode: false
          schema:
            minimum: 1
            type: string
      responses:
        '200':
          description: item has been deleted
        '400':
          description: deletion failed due to invalid input
        '500':
          description: failed to process request
  /observation/{id}:
    delete:
      summary: delete a FHIR resource
      operationId: deleteObservationResources
      parameters:
        - name: id
          in: path
          description: The user ID
          required: true
          style: simple
          explode: false
          schema:
            minimum: 1
            type: string
      responses:
        '200':
          description: item has been deleted
        '400':
          description: deletion failed due to invalid input
        '500':
          description: failed to process request
  /diagnosis/{id}:
    delete:
      summary: delete a FHIR resource
      operationId: deleteDiagnosisResource
      parameters:
        - name: id
          in: path
          description: The user ID
          required: true
          style: simple
          explode: false
          schema:
            minimum: 1
            type: string
      responses:
        '200':
          description: item has been deleted
        '400':
          description: deletion failed due to invalid input
        '500':
          description: failed to process request
  /procedure/{id}:
    delete:
      summary: delete a FHIR resource
      operationId: deleteProcedureResource
      parameters:
        - name: id
          in: path
          description: The user ID
          required: true
          style: simple
          explode: false
          schema:
            minimum: 1
            type: string
      responses:
        '200':
          description: item has been deleted
        '400':
          description: deletion failed due to invalid input
        '500':
          description: failed to process request
  /practitioner/{id}:
    delete:
      summary: delete a FHIR resource
      operationId: deletePractionerResource
      parameters:
        - name: id
          in: path
          description: The user ID
          required: true
          style: simple
          explode: false
          schema:
            minimum: 1
            type: string
      responses:
        '200':
          description: item has been deleted
        '400':
          description: deletion failed due to invalid input
        '500':
          description: failed to process request
  /careplan/{id}:
    delete:
      summary: delete a FHIR resource
      operationId: deleteCareplanResource
      parameters:
        - name: id
          in: path
          description: The user ID
          required: true
          style: simple
          explode: false
          schema:
            minimum: 1
            type: string
      responses:
        '200':
          description: item has been deleted
        '400':
          description: deletion failed due to invalid input
        '500':
          description: failed to process request
  /relatedperson/{id}:
    delete:
      summary: delete a FHIR resource
      operationId: deleteRelatedPersonResource
      parameters:
        - name: id
          in: path
          description: The user ID
          required: true
          style: simple
          explode: false
          schema:
            minimum: 1
            type: string
      responses:
        '200':
          description: item has been deleted
        '400':
          description: deletion failed due to invalid input
        '500':
          description: failed to process request
components:
  schemas:
    ResourceList:
      oneOf:
        - "$ref": "#/components/schemas/Account"
        - "$ref": "#/components/schemas/ActivityDefinition"
        - "$ref": "#/components/schemas/ActorDefinition"
        - "$ref": "#/components/schemas/AdministrableProductDefinition"
        - "$ref": "#/components/schemas/AdverseEvent"
        - "$ref": "#/components/schemas/AllergyIntolerance"
        - "$ref": "#/components/schemas/Appointment"
        - "$ref": "#/components/schemas/AppointmentResponse"
        - "$ref": "#/components/schemas/ArtifactAssessment"
        - "$ref": "#/components/schemas/AuditEvent"
        - "$ref": "#/components/schemas/Basic"
        - "$ref": "#/components/schemas/Binary"
        - "$ref": "#/components/schemas/BiologicallyDerivedProduct"
        - "$ref": "#/components/schemas/BiologicallyDerivedProductDispense"
        - "$ref": "#/components/schemas/BodyStructure"
        - "$ref": "#/components/schemas/Bundle"
        - "$ref": "#/components/schemas/CapabilityStatement"
        - "$ref": "#/components/schemas/CarePlan"
        - "$ref": "#/components/schemas/CareTeam"
        - "$ref": "#/components/schemas/ChargeItem"
        - "$ref": "#/components/schemas/ChargeItemDefinition"
        - "$ref": "#/components/schemas/Citation"
        - "$ref": "#/components/schemas/Claim"
        - "$ref": "#/components/schemas/ClaimResponse"
        - "$ref": "#/components/schemas/ClinicalImpression"
        - "$ref": "#/components/schemas/ClinicalUseDefinition"
        - "$ref": "#/components/schemas/CodeSystem"
        - "$ref": "#/components/schemas/Communication"
        - "$ref": "#/components/schemas/CommunicationRequest"
        - "$ref": "#/components/schemas/CompartmentDefinition"
        - "$ref": "#/components/schemas/Composition"
        - "$ref": "#/components/schemas/ConceptMap"
        - "$ref": "#/components/schemas/Condition"
        - "$ref": "#/components/schemas/ConditionDefinition"
        - "$ref": "#/components/schemas/Consent"
        - "$ref": "#/components/schemas/Contract"
        - "$ref": "#/components/schemas/Coverage"
        - "$ref": "#/components/schemas/CoverageEligibilityRequest"
        - "$ref": "#/components/schemas/CoverageEligibilityResponse"
        - "$ref": "#/components/schemas/DetectedIssue"
        - "$ref": "#/components/schemas/Device"
        - "$ref": "#/components/schemas/DeviceAssociation"
        - "$ref": "#/components/schemas/DeviceDefinition"
        - "$ref": "#/components/schemas/DeviceDispense"
        - "$ref": "#/components/schemas/DeviceMetric"
        - "$ref": "#/components/schemas/DeviceRequest"
        - "$ref": "#/components/schemas/DeviceUsage"
        - "$ref": "#/components/schemas/DiagnosticReport"
        - "$ref": "#/components/schemas/DocumentReference"
        - "$ref": "#/components/schemas/Encounter"
        - "$ref": "#/components/schemas/EncounterHistory"
        - "$ref": "#/components/schemas/Endpoint"
        - "$ref": "#/components/schemas/EnrollmentRequest"
        - "$ref": "#/components/schemas/EnrollmentResponse"
        - "$ref": "#/components/schemas/EpisodeOfCare"
        - "$ref": "#/components/schemas/EventDefinition"
        - "$ref": "#/components/schemas/Evidence"
        - "$ref": "#/components/schemas/EvidenceReport"
        - "$ref": "#/components/schemas/EvidenceVariable"
        - "$ref": "#/components/schemas/ExampleScenario"
        - "$ref": "#/components/schemas/ExplanationOfBenefit"
        - "$ref": "#/components/schemas/FamilyMemberHistory"
        - "$ref": "#/components/schemas/Flag"
        - "$ref": "#/components/schemas/FormularyItem"
        - "$ref": "#/components/schemas/GenomicStudy"
        - "$ref": "#/components/schemas/Goal"
        - "$ref": "#/components/schemas/GraphDefinition"
        - "$ref": "#/components/schemas/Group"
        - "$ref": "#/components/schemas/GuidanceResponse"
        - "$ref": "#/components/schemas/HealthcareService"
        - "$ref": "#/components/schemas/ImagingSelection"
        - "$ref": "#/components/schemas/ImagingStudy"
        - "$ref": "#/components/schemas/Immunization"
        - "$ref": "#/components/schemas/ImmunizationEvaluation"
        - "$ref": "#/components/schemas/ImmunizationRecommendation"
        - "$ref": "#/components/schemas/ImplementationGuide"
        - "$ref": "#/components/schemas/Ingredient"
        - "$ref": "#/components/schemas/InsurancePlan"
        - "$ref": "#/components/schemas/InventoryItem"
        - "$ref": "#/components/schemas/InventoryReport"
        - "$ref": "#/components/schemas/Invoice"
        - "$ref": "#/components/schemas/Library"
        - "$ref": "#/components/schemas/Linkage"
        - "$ref": "#/components/schemas/List"
        - "$ref": "#/components/schemas/Location"
        - "$ref": "#/components/schemas/ManufacturedItemDefinition"
        - "$ref": "#/components/schemas/Measure"
        - "$ref": "#/components/schemas/MeasureReport"
        - "$ref": "#/components/schemas/Medication"
        - "$ref": "#/components/schemas/MedicationAdministration"
        - "$ref": "#/components/schemas/MedicationDispense"
        - "$ref": "#/components/schemas/MedicationKnowledge"
        - "$ref": "#/components/schemas/MedicationRequest"
        - "$ref": "#/components/schemas/MedicationStatement"
        - "$ref": "#/components/schemas/MedicinalProductDefinition"
        - "$ref": "#/components/schemas/MessageDefinition"
        - "$ref": "#/components/schemas/MessageHeader"
        - "$ref": "#/components/schemas/MolecularSequence"
        - "$ref": "#/components/schemas/NamingSystem"
        - "$ref": "#/components/schemas/NutritionIntake"
        - "$ref": "#/components/schemas/NutritionOrder"
        - "$ref": "#/components/schemas/NutritionProduct"
        - "$ref": "#/components/schemas/Observation"
        - "$ref": "#/components/schemas/ObservationDefinition"
        - "$ref": "#/components/schemas/OperationDefinition"
        - "$ref": "#/components/schemas/OperationOutcome"
        - "$ref": "#/components/schemas/Organization"
        - "$ref": "#/components/schemas/OrganizationAffiliation"
        - "$ref": "#/components/schemas/PackagedProductDefinition"
        - "$ref": "#/components/schemas/Parameters"
        - "$ref": "#/components/schemas/Patient"
        - "$ref": "#/components/schemas/PaymentNotice"
        - "$ref": "#/components/schemas/PaymentReconciliation"
        - "$ref": "#/components/schemas/Permission"
        - "$ref": "#/components/schemas/Person"
        - "$ref": "#/components/schemas/PlanDefinition"
        - "$ref": "#/components/schemas/Practitioner"
        - "$ref": "#/components/schemas/PractitionerRole"
        - "$ref": "#/components/schemas/Procedure"
        - "$ref": "#/components/schemas/Provenance"
        - "$ref": "#/components/schemas/Questionnaire"
        - "$ref": "#/components/schemas/QuestionnaireResponse"
        - "$ref": "#/components/schemas/RegulatedAuthorization"
        - "$ref": "#/components/schemas/RelatedPerson"
        - "$ref": "#/components/schemas/RequestOrchestration"
        - "$ref": "#/components/schemas/Requirements"
        - "$ref": "#/components/schemas/ResearchStudy"
        - "$ref": "#/components/schemas/ResearchSubject"
        - "$ref": "#/components/schemas/RiskAssessment"
        - "$ref": "#/components/schemas/Schedule"
        - "$ref": "#/components/schemas/SearchParameter"
        - "$ref": "#/components/schemas/ServiceRequest"
        - "$ref": "#/components/schemas/Slot"
        - "$ref": "#/components/schemas/Specimen"
        - "$ref": "#/components/schemas/SpecimenDefinition"
        - "$ref": "#/components/schemas/StructureDefinition"
        - "$ref": "#/components/schemas/StructureMap"
        - "$ref": "#/components/schemas/Subscription"
        - "$ref": "#/components/schemas/SubscriptionStatus"
        - "$ref": "#/components/schemas/SubscriptionTopic"
        - "$ref": "#/components/schemas/Substance"
        - "$ref": "#/components/schemas/SubstanceDefinition"
        - "$ref": "#/components/schemas/SubstanceNucleicAcid"
        - "$ref": "#/components/schemas/SubstancePolymer"
        - "$ref": "#/components/schemas/SubstanceProtein"
        - "$ref": "#/components/schemas/SubstanceReferenceInformation"
        - "$ref": "#/components/schemas/SubstanceSourceMaterial"
        - "$ref": "#/components/schemas/SupplyDelivery"
        - "$ref": "#/components/schemas/SupplyRequest"
        - "$ref": "#/components/schemas/Task"
        - "$ref": "#/components/schemas/TerminologyCapabilities"
        - "$ref": "#/components/schemas/TestPlan"
        - "$ref": "#/components/schemas/TestReport"
        - "$ref": "#/components/schemas/TestScript"
        - "$ref": "#/components/schemas/Transport"
        - "$ref": "#/components/schemas/ValueSet"
        - "$ref": "#/components/schemas/VerificationResult"
        - "$ref": "#/components/schemas/VisionPrescription"
    base64Binary:
      type: string
      description: A stream of bytes
    boolean:
      pattern: ^true|false$
      type: boolean
      description: Value of "true" or "false"
    canonical:
      pattern: ^\S*$
      type: string
      description: A URI that is a reference to a canonical URL on a FHIR resource
    code:
      pattern: ^[^\s]+( [^\s]+)*$
      type: string
      description: A string which has at least one character and no leading or trailing
        whitespace and where there is no whitespace other than single spaces in the
        contents
    date:
      pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
      type: string
      description: A date or partial date (e.g. just year or year + month). There is
        no UTC offset. The format is a union of the schema types gYear, gYearMonth and
        date.  Dates SHALL be valid dates.
    dateTime:
      pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
      type: string
      description: A date, date-time or partial date (e.g. just year or year + month).  If
        hours and minutes are specified, a UTC offset SHALL be populated. The format
        is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds
        must be provided due to schema type constraints but may be zero-filled and may
        be ignored.                 Dates SHALL be valid dates.
    decimal:
      pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
      type: number
      description: A rational number with implicit precision
    id:
      pattern: ^[A-Za-z0-9\-\.]{1,64}$
      type: string
      description: Any combination of letters, numerals, "-" and ".", with a length
        limit of 64 characters.  (This might be an integer, an unprefixed OID, UUID
        or any other identifier pattern that meets these constraints.)  Ids are case-insensitive.
    instant:
      pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$
      type: string
      description: An instant in time - known at least to the second
    integer:
      pattern: ^[0]|[-+]?[1-9][0-9]*$
      type: number
      description: A whole number
    integer64:
      pattern: ^[0]|[-+]?[1-9][0-9]*$
      type: string
      description: A very large whole number
    markdown:
      pattern: ^^[\s\S]+$$
      type: string
      description: A string that may contain Github Flavored Markdown syntax for optional
        processing by a mark down presentation engine
    oid:
      pattern: ^urn:oid:[0-2](\.(0|[1-9][0-9]*))+$
      type: string
      description: An OID represented as a URI
    positiveInt:
      pattern: ^[1-9][0-9]*$
      type: number
      description: An integer with a value that is positive (e.g. >0)
    string:
      pattern: ^^[\s\S]+$$
      type: string
      description: A sequence of Unicode characters
    time:
      pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
      type: string
      description: A time during the day, with no date specified
    unsignedInt:
      pattern: ^[0]|([1-9][0-9]*)$
      type: number
      description: An integer with a value that is not negative (e.g. >= 0)
    uri:
      pattern: ^\S*$
      type: string
      description: String of characters used to identify a name or a resource
    url:
      pattern: ^\S*$
      type: string
      description: A URI that is a literal reference
    uuid:
      pattern: ^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
      type: string
      description: A UUID, represented as a URI
    xhtml:
      description: xhtml - escaped html (see specfication)
    Base:
      description: Base definition for all types defined in FHIR type system.
      properties: {}
      type: object
      additionalProperties: false
    Element:
      description: Base definition for all elements in a resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
      type: object
      additionalProperties: false
    DataType:
      description: The base class for all re-useable types defined as part of the FHIR
        Specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
      type: object
      additionalProperties: false
    PrimitiveType:
      description: The base type for all re-useable types defined that have a simple
        property.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
      type: object
      additionalProperties: false
    BackboneType:
      description: Base definition for the few data types that are allowed to carry
        modifier extensions.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
      type: object
      additionalProperties: false
    Extension:
      description: Optional Extension Element - found in all resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: Source of the definition for the extension code - a logical name
            or a URL.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        valueBase64Binary:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
          type: string
        _valueBase64Binary:
          description: Extensions for valueBase64Binary
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueCanonical:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^\S*$
          type: string
        _valueCanonical:
          description: Extensions for valueCanonical
          $ref: '#/components/schemas/Element'
        valueCode:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^[^\s]+( [^\s]+)*$
          type: string
        _valueCode:
          description: Extensions for valueCode
          $ref: '#/components/schemas/Element'
        valueDate:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
        valueId:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^[A-Za-z0-9\-\.]{1,64}$
          type: string
        _valueId:
          description: Extensions for valueId
          $ref: '#/components/schemas/Element'
        valueInstant:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$
          type: string
        _valueInstant:
          description: Extensions for valueInstant
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueInteger64:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: string
        _valueInteger64:
          description: Extensions for valueInteger64
          $ref: '#/components/schemas/Element'
        valueMarkdown:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^^[\s\S]+$$
          type: string
        _valueMarkdown:
          description: Extensions for valueMarkdown
          $ref: '#/components/schemas/Element'
        valueOid:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^urn:oid:[0-2](\.(0|[1-9][0-9]*))+$
          type: string
        _valueOid:
          description: Extensions for valueOid
          $ref: '#/components/schemas/Element'
        valuePositiveInt:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^[1-9][0-9]*$
          type: number
        _valuePositiveInt:
          description: Extensions for valuePositiveInt
          $ref: '#/components/schemas/Element'
        valueString:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueTime:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _valueTime:
          description: Extensions for valueTime
          $ref: '#/components/schemas/Element'
        valueUnsignedInt:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^[0]|([1-9][0-9]*)$
          type: number
        _valueUnsignedInt:
          description: Extensions for valueUnsignedInt
          $ref: '#/components/schemas/Element'
        valueUri:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^\S*$
          type: string
        _valueUri:
          description: Extensions for valueUri
          $ref: '#/components/schemas/Element'
        valueUrl:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^\S*$
          type: string
        _valueUrl:
          description: Extensions for valueUrl
          $ref: '#/components/schemas/Element'
        valueUuid:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          pattern: ^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          type: string
        _valueUuid:
          description: Extensions for valueUuid
          $ref: '#/components/schemas/Element'
        valueAddress:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Address'
        valueAge:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Age'
        valueAnnotation:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Annotation'
        valueAttachment:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Attachment'
        valueCodeableConcept:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableReference:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/CodeableReference'
        valueCoding:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Coding'
        valueContactPoint:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/ContactPoint'
        valueCount:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Count'
        valueDistance:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Distance'
        valueDuration:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Duration'
        valueHumanName:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/HumanName'
        valueIdentifier:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Identifier'
        valueMoney:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Money'
        valuePeriod:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Period'
        valueQuantity:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Range'
        valueRatio:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Ratio'
        valueRatioRange:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/RatioRange'
        valueReference:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Reference'
        valueSampledData:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/SampledData'
        valueSignature:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Signature'
        valueTiming:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Timing'
        valueContactDetail:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/ContactDetail'
        valueDataRequirement:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/DataRequirement'
        valueExpression:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Expression'
        valueParameterDefinition:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/ParameterDefinition'
        valueRelatedArtifact:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/RelatedArtifact'
        valueTriggerDefinition:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/TriggerDefinition'
        valueUsageContext:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/UsageContext'
        valueAvailability:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Availability'
        valueExtendedContactDetail:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/ExtendedContactDetail'
        valueDosage:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Dosage'
        valueMeta:
          description: Value of extension - must be one of a constrained set of the
            data types (see [Extensibility](extensibility.html) for a list).
          $ref: '#/components/schemas/Meta'
      type: object
      additionalProperties: false
    Narrative:
      description: A human-readable summary of the resource conveying the essential
        clinical and business information for the resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        status:
          description: The status of the narrative - whether it's entirely generated
            (from just the defined data or the extensions too), or whether a human authored
            it and it may contain additional data.
          enum:
          - generated
          - extensions
          - additional
          - empty
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        div:
          description: The actual narrative content, a stripped down version of XHTML.
          $ref: '#/components/schemas/xhtml'
      type: object
      additionalProperties: false
      required:
      - div
    Annotation:
      description: A  text note which also  contains information about who made the
        statement and when.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        authorReference:
          description: The individual responsible for making the annotation.
          $ref: '#/components/schemas/Reference'
        authorString:
          description: The individual responsible for making the annotation.
          pattern: ^^[\s\S]+$$
          type: string
        _authorString:
          description: Extensions for authorString
          $ref: '#/components/schemas/Element'
        time:
          description: Indicates when this particular annotation was made.
          $ref: '#/components/schemas/dateTime'
        _time:
          description: Extensions for time
          $ref: '#/components/schemas/Element'
        text:
          description: The text of the annotation in markdown format.
          $ref: '#/components/schemas/markdown'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Attachment:
      description: For referring to data content defined in other formats.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        contentType:
          description: Identifies the type of the data in the attachment and allows
            a method to be chosen to interpret or render the data. Includes mime type
            parameters such as charset where appropriate.
          $ref: '#/components/schemas/code'
        _contentType:
          description: Extensions for contentType
          $ref: '#/components/schemas/Element'
        language:
          description: The human language of the content. The value can be any valid
            value according to BCP 47.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        data:
          description: The actual data of the attachment - a sequence of bytes, base64
            encoded.
          $ref: '#/components/schemas/base64Binary'
        _data:
          description: Extensions for data
          $ref: '#/components/schemas/Element'
        url:
          description: A location where the data can be accessed.
          $ref: '#/components/schemas/url'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        size:
          description: The number of bytes of data that make up this attachment (before
            base64 encoding, if that is done).
          $ref: '#/components/schemas/integer64'
        _size:
          description: Extensions for size
          $ref: '#/components/schemas/Element'
        hash:
          description: The calculated hash of the data using SHA-1. Represented using
            base64.
          $ref: '#/components/schemas/base64Binary'
        _hash:
          description: Extensions for hash
          $ref: '#/components/schemas/Element'
        title:
          description: A label or set of text to display in place of the data.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        creation:
          description: The date that the attachment was first created.
          $ref: '#/components/schemas/dateTime'
        _creation:
          description: Extensions for creation
          $ref: '#/components/schemas/Element'
        height:
          description: Height of the image in pixels (photo/video).
          $ref: '#/components/schemas/positiveInt'
        _height:
          description: Extensions for height
          $ref: '#/components/schemas/Element'
        width:
          description: Width of the image in pixels (photo/video).
          $ref: '#/components/schemas/positiveInt'
        _width:
          description: Extensions for width
          $ref: '#/components/schemas/Element'
        frames:
          description: The number of frames in a photo. This is used with a multi-page
            fax, or an imaging acquisition context that takes multiple slices in a single
            image, or an animated gif. If there is more than one frame, this SHALL have
            a value in order to alert interface software that a multi-frame capable
            rendering widget is required.
          $ref: '#/components/schemas/positiveInt'
        _frames:
          description: Extensions for frames
          $ref: '#/components/schemas/Element'
        duration:
          description: The duration of the recording in seconds - for audio and video.
          $ref: '#/components/schemas/decimal'
        _duration:
          description: Extensions for duration
          $ref: '#/components/schemas/Element'
        pages:
          description: The number of pages when printed.
          $ref: '#/components/schemas/positiveInt'
        _pages:
          description: Extensions for pages
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Identifier:
      description: An identifier - identifies some entity uniquely and unambiguously.
        Typically this is used for business identifiers.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        use:
          description: The purpose of this identifier.
          enum:
          - usual
          - official
          - temp
          - secondary
          - old
        _use:
          description: Extensions for use
          $ref: '#/components/schemas/Element'
        type:
          description: A coded type for the identifier that can be used to determine
            which identifier to use for a specific purpose.
          $ref: '#/components/schemas/CodeableConcept'
        system:
          description: Establishes the namespace for the value - that is, an absolute
            URL that describes a set values that are unique.
          $ref: '#/components/schemas/uri'
        _system:
          description: Extensions for system
          $ref: '#/components/schemas/Element'
        value:
          description: The portion of the identifier typically relevant to the user
            and which is unique within the context of the system.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
        period:
          description: Time period during which identifier is/was valid for use.
          $ref: '#/components/schemas/Period'
        assigner:
          description: Organization that issued/manages the identifier.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    CodeableConcept:
      description: A concept that may be defined by a formal reference to a terminology
        or ontology or may be provided by text.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        coding:
          description: A reference to a code defined by a terminology system.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        text:
          description: A human language representation of the concept as seen/selected/uttered
            by the user who entered the data and/or which represents the intended meaning
            of the user.
          $ref: '#/components/schemas/string'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    CodeableReference:
      description: A reference to a resource (by instance), or instead, a reference
        to a concept defined in a terminology or ontology (by class).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        concept:
          description: A reference to a concept - e.g. the information is identified
            by its general class to the degree of precision found in the terminology.
          $ref: '#/components/schemas/CodeableConcept'
        reference:
          description: A reference to a resource the provides exact details about the
            information being referenced.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    Coding:
      description: A reference to a code defined by a terminology system.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        system:
          description: The identification of the code system that defines the meaning
            of the symbol in the code.
          $ref: '#/components/schemas/uri'
        _system:
          description: Extensions for system
          $ref: '#/components/schemas/Element'
        version:
          description: The version of the code system which was used when choosing this
            code. Note that a well-maintained code system does not need the version
            reported, because the meaning of codes is consistent across versions. However
            this cannot consistently be assured, and when the meaning is not guaranteed
            to be consistent, the version SHOULD be exchanged.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        code:
          description: A symbol in syntax defined by the system. The symbol may be a
            predefined code or an expression in a syntax defined by the coding system
            (e.g. post-coordination).
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        display:
          description: A representation of the meaning of the code in the system, following
            the rules of the system.
          $ref: '#/components/schemas/string'
        _display:
          description: Extensions for display
          $ref: '#/components/schemas/Element'
        userSelected:
          description: Indicates that this coding was chosen by a user directly - e.g.
            off a pick list of available items (codes or displays).
          $ref: '#/components/schemas/boolean'
        _userSelected:
          description: Extensions for userSelected
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Quantity:
      description: A measured amount (or an amount that can potentially be measured).
        Note that measured amounts include amounts that are not precisely quantified,
        including amounts involving arbitrary units and floating currencies.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        value:
          description: The value of the measured amount. The value includes an implicit
            precision in the presentation of the value.
          $ref: '#/components/schemas/decimal'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
        comparator:
          description: How the value should be understood and represented - whether
            the actual value is greater or less than the stated value due to measurement
            issues; e.g. if the comparator is "<" , then the real value is < stated
            value.
          enum:
          - <
          - <=
          - '>='
          - '>'
          - ad
        _comparator:
          description: Extensions for comparator
          $ref: '#/components/schemas/Element'
        unit:
          description: A human-readable form of the unit.
          $ref: '#/components/schemas/string'
        _unit:
          description: Extensions for unit
          $ref: '#/components/schemas/Element'
        system:
          description: The identification of the system that provides the coded form
            of the unit.
          $ref: '#/components/schemas/uri'
        _system:
          description: Extensions for system
          $ref: '#/components/schemas/Element'
        code:
          description: A computer processable form of the unit in some unit representation
            system.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Duration:
      description: A length of time.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        value:
          description: The value of the measured amount. The value includes an implicit
            precision in the presentation of the value.
          $ref: '#/components/schemas/decimal'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
        comparator:
          description: How the value should be understood and represented - whether
            the actual value is greater or less than the stated value due to measurement
            issues; e.g. if the comparator is "<" , then the real value is < stated
            value.
          enum:
          - <
          - <=
          - '>='
          - '>'
          - ad
        _comparator:
          description: Extensions for comparator
          $ref: '#/components/schemas/Element'
        unit:
          description: A human-readable form of the unit.
          $ref: '#/components/schemas/string'
        _unit:
          description: Extensions for unit
          $ref: '#/components/schemas/Element'
        system:
          description: The identification of the system that provides the coded form
            of the unit.
          $ref: '#/components/schemas/uri'
        _system:
          description: Extensions for system
          $ref: '#/components/schemas/Element'
        code:
          description: A computer processable form of the unit in some unit representation
            system.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Distance:
      description: A length - a value with a unit that is a physical distance.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        value:
          description: The value of the measured amount. The value includes an implicit
            precision in the presentation of the value.
          $ref: '#/components/schemas/decimal'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
        comparator:
          description: How the value should be understood and represented - whether
            the actual value is greater or less than the stated value due to measurement
            issues; e.g. if the comparator is "<" , then the real value is < stated
            value.
          enum:
          - <
          - <=
          - '>='
          - '>'
          - ad
        _comparator:
          description: Extensions for comparator
          $ref: '#/components/schemas/Element'
        unit:
          description: A human-readable form of the unit.
          $ref: '#/components/schemas/string'
        _unit:
          description: Extensions for unit
          $ref: '#/components/schemas/Element'
        system:
          description: The identification of the system that provides the coded form
            of the unit.
          $ref: '#/components/schemas/uri'
        _system:
          description: Extensions for system
          $ref: '#/components/schemas/Element'
        code:
          description: A computer processable form of the unit in some unit representation
            system.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Count:
      description: A measured amount (or an amount that can potentially be measured).
        Note that measured amounts include amounts that are not precisely quantified,
        including amounts involving arbitrary units and floating currencies.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        value:
          description: The value of the measured amount. The value includes an implicit
            precision in the presentation of the value.
          $ref: '#/components/schemas/decimal'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
        comparator:
          description: How the value should be understood and represented - whether
            the actual value is greater or less than the stated value due to measurement
            issues; e.g. if the comparator is "<" , then the real value is < stated
            value.
          enum:
          - <
          - <=
          - '>='
          - '>'
          - ad
        _comparator:
          description: Extensions for comparator
          $ref: '#/components/schemas/Element'
        unit:
          description: A human-readable form of the unit.
          $ref: '#/components/schemas/string'
        _unit:
          description: Extensions for unit
          $ref: '#/components/schemas/Element'
        system:
          description: The identification of the system that provides the coded form
            of the unit.
          $ref: '#/components/schemas/uri'
        _system:
          description: Extensions for system
          $ref: '#/components/schemas/Element'
        code:
          description: A computer processable form of the unit in some unit representation
            system.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Money:
      description: An amount of economic utility in some recognized currency.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        value:
          description: Numerical value (with implicit precision).
          $ref: '#/components/schemas/decimal'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
        currency:
          description: ISO 4217 Currency Code.
          $ref: '#/components/schemas/code'
        _currency:
          description: Extensions for currency
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Age:
      description: A duration of time during which an organism (or a process) has existed.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        value:
          description: The value of the measured amount. The value includes an implicit
            precision in the presentation of the value.
          $ref: '#/components/schemas/decimal'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
        comparator:
          description: How the value should be understood and represented - whether
            the actual value is greater or less than the stated value due to measurement
            issues; e.g. if the comparator is "<" , then the real value is < stated
            value.
          enum:
          - <
          - <=
          - '>='
          - '>'
          - ad
        _comparator:
          description: Extensions for comparator
          $ref: '#/components/schemas/Element'
        unit:
          description: A human-readable form of the unit.
          $ref: '#/components/schemas/string'
        _unit:
          description: Extensions for unit
          $ref: '#/components/schemas/Element'
        system:
          description: The identification of the system that provides the coded form
            of the unit.
          $ref: '#/components/schemas/uri'
        _system:
          description: Extensions for system
          $ref: '#/components/schemas/Element'
        code:
          description: A computer processable form of the unit in some unit representation
            system.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Range:
      description: A set of ordered Quantities defined by a low and high limit.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        low:
          description: The low limit. The boundary is inclusive.
          $ref: '#/components/schemas/Quantity'
        high:
          description: The high limit. The boundary is inclusive.
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
    Period:
      description: A time period defined by a start and end date and optionally time.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        start:
          description: The start of the period. The boundary is inclusive.
          $ref: '#/components/schemas/dateTime'
        _start:
          description: Extensions for start
          $ref: '#/components/schemas/Element'
        end:
          description: The end of the period. If the end of the period is missing, it
            means no end was known or planned at the time the instance was created.
            The start may be in the past, and the end date in the future, which means
            that period is expected/planned to end at that time.
          $ref: '#/components/schemas/dateTime'
        _end:
          description: Extensions for end
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Ratio:
      description: A relationship of two Quantity values - expressed as a numerator
        and a denominator.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        numerator:
          description: The value of the numerator.
          $ref: '#/components/schemas/Quantity'
        denominator:
          description: The value of the denominator.
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
    RatioRange:
      description: A range of ratios expressed as a low and high numerator and a denominator.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        lowNumerator:
          description: The value of the low limit numerator.
          $ref: '#/components/schemas/Quantity'
        highNumerator:
          description: The value of the high limit numerator.
          $ref: '#/components/schemas/Quantity'
        denominator:
          description: The value of the denominator.
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
    Reference:
      description: A reference from one resource to another.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        reference:
          description: A reference to a location at which the other resource is found.
            The reference may be a relative reference, in which case it is relative
            to the service base URL, or an absolute URL that resolves to the location
            where the resource is found. The reference may be version specific or not.
            If the reference is not to a FHIR RESTful server, then it should be assumed
            to be version specific. Internal fragment references (start with '#') refer
            to contained resources.
          $ref: '#/components/schemas/string'
        _reference:
          description: Extensions for reference
          $ref: '#/components/schemas/Element'
        type:
          description: 'The expected type of the target of the reference. If both Reference.type
            and Reference.reference are populated and Reference.reference is a FHIR
            URL, both SHALL be consistent.


            The type is the Canonical URL of Resource Definition that is the type this
            reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/
            e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient.
            Absolute URLs are only allowed for logical models (and can only be used
            in references in logical models, not resources).'
          $ref: '#/components/schemas/uri'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        identifier:
          description: An identifier for the target resource. This is used when there
            is no way to reference the other resource directly, either because the entity
            it represents is not available through a FHIR server, or because there is
            no way for the author of the resource to convert a known identifier to an
            actual location. There is no requirement that a Reference.identifier point
            to something that is actually exposed as a FHIR instance, but it SHALL point
            to a business concept that would be expected to be exposed as a FHIR instance,
            and that instance would need to be of a FHIR resource type allowed by the
            reference.
          $ref: '#/components/schemas/Identifier'
        display:
          description: Plain text narrative that identifies the resource in addition
            to the resource reference.
          $ref: '#/components/schemas/string'
        _display:
          description: Extensions for display
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    SampledData:
      description: A series of measurements taken by a device, with upper and lower
        limits. There may be more than one dimension in the data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        origin:
          description: The base quantity that a measured value of zero represents. In
            addition, this provides the units of the entire measurement series.
          $ref: '#/components/schemas/Quantity'
        interval:
          description: Amount of intervalUnits between samples, e.g. milliseconds for
            time-based sampling.
          $ref: '#/components/schemas/decimal'
        _interval:
          description: Extensions for interval
          $ref: '#/components/schemas/Element'
        intervalUnit:
          description: The measurement unit in which the sample interval is expressed.
          $ref: '#/components/schemas/code'
        _intervalUnit:
          description: Extensions for intervalUnit
          $ref: '#/components/schemas/Element'
        factor:
          description: A correction factor that is applied to the sampled data points
            before they are added to the origin.
          $ref: '#/components/schemas/decimal'
        _factor:
          description: Extensions for factor
          $ref: '#/components/schemas/Element'
        lowerLimit:
          description: The lower limit of detection of the measured points. This is
            needed if any of the data points have the value "L" (lower than detection
            limit).
          $ref: '#/components/schemas/decimal'
        _lowerLimit:
          description: Extensions for lowerLimit
          $ref: '#/components/schemas/Element'
        upperLimit:
          description: The upper limit of detection of the measured points. This is
            needed if any of the data points have the value "U" (higher than detection
            limit).
          $ref: '#/components/schemas/decimal'
        _upperLimit:
          description: Extensions for upperLimit
          $ref: '#/components/schemas/Element'
        dimensions:
          description: The number of sample points at each time point. If this value
            is greater than one, then the dimensions will be interlaced - all the sample
            points for a point in time will be recorded at once.
          $ref: '#/components/schemas/positiveInt'
        _dimensions:
          description: Extensions for dimensions
          $ref: '#/components/schemas/Element'
        codeMap:
          description: Reference to ConceptMap that defines the codes used in the data.
          $ref: '#/components/schemas/canonical'
        offsets:
          description: A series of data points which are decimal values separated by
            a single space (character u20).  The units in which the offsets are expressed
            are found in intervalUnit.  The absolute point at which the measurements
            begin SHALL be conveyed outside the scope of this datatype, e.g. Observation.effectiveDateTime
            for a timing offset.
          $ref: '#/components/schemas/string'
        _offsets:
          description: Extensions for offsets
          $ref: '#/components/schemas/Element'
        data:
          description: A series of data points which are decimal values or codes separated
            by a single space (character u20). The special codes "E" (error), "L" (below
            detection limit) and "U" (above detection limit) are also defined for used
            in place of decimal values.
          $ref: '#/components/schemas/string'
        _data:
          description: Extensions for data
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - origin
    Signature:
      description: A signature along with supporting context. The signature may be a
        digital signature that is cryptographic in nature, or some other signature acceptable
        to the domain. This other signature may be as simple as a graphical image representing
        a hand-written signature, or a signature ceremony Different signature approaches
        have different utilities.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: An indication of the reason that the entity signed this document.
            This may be explicitly included as part of the signature information and
            can be used when determining accountability for various actions concerning
            the document.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        when:
          description: When the digital signature was signed.
          $ref: '#/components/schemas/instant'
        _when:
          description: Extensions for when
          $ref: '#/components/schemas/Element'
        who:
          description: A reference to an application-usable description of the identity
            that signed  (e.g. the signature used their private key).
          $ref: '#/components/schemas/Reference'
        onBehalfOf:
          description: A reference to an application-usable description of the identity
            that is represented by the signature.
          $ref: '#/components/schemas/Reference'
        targetFormat:
          description: A mime type that indicates the technical format of the target
            resources signed by the signature.
          $ref: '#/components/schemas/code'
        _targetFormat:
          description: Extensions for targetFormat
          $ref: '#/components/schemas/Element'
        sigFormat:
          description: A mime type that indicates the technical format of the signature.
            Important mime types are application/signature+xml for X ML DigSig, application/jose
            for JWS, and image/* for a graphical image of a signature, etc.
          $ref: '#/components/schemas/code'
        _sigFormat:
          description: Extensions for sigFormat
          $ref: '#/components/schemas/Element'
        data:
          description: The base64 encoding of the Signature content. When signature
            is not recorded electronically this element would be empty.
          $ref: '#/components/schemas/base64Binary'
        _data:
          description: Extensions for data
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    HumanName:
      description: A name, normally of a human, that can be used for other living entities
        (e.g. animals but not organizations) that have been assigned names by a human
        and may need the use of name parts or the need for usage information.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        use:
          description: Identifies the purpose for this name.
          enum:
          - usual
          - official
          - temp
          - nickname
          - anonymous
          - old
          - maiden
        _use:
          description: Extensions for use
          $ref: '#/components/schemas/Element'
        text:
          description: Specifies the entire name as it should be displayed e.g. on an
            application UI. This may be provided instead of or as well as the specific
            parts.
          $ref: '#/components/schemas/string'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
        family:
          description: The part of a name that links to the genealogy. In some cultures
            (e.g. Eritrea) the family name of a son is the first name of his father.
          $ref: '#/components/schemas/string'
        _family:
          description: Extensions for family
          $ref: '#/components/schemas/Element'
        given:
          description: Given name.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _given:
          description: Extensions for given
          items:
            $ref: '#/components/schemas/Element'
          type: array
        prefix:
          description: Part of the name that is acquired as a title due to academic,
            legal, employment or nobility status, etc. and that appears at the start
            of the name.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _prefix:
          description: Extensions for prefix
          items:
            $ref: '#/components/schemas/Element'
          type: array
        suffix:
          description: Part of the name that is acquired as a title due to academic,
            legal, employment or nobility status, etc. and that appears at the end of
            the name.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _suffix:
          description: Extensions for suffix
          items:
            $ref: '#/components/schemas/Element'
          type: array
        period:
          description: Indicates the period of time when this name was valid for the
            named person.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
    Address:
      description: 'An address expressed using postal conventions (as opposed to GPS
        or other location definition formats).  This data type may be used to convey
        addresses for use in delivering mail as well as for visiting locations which
        might not be valid for mail delivery.  There are a variety of postal address
        formats defined around the world.

        The ISO21090-codedString may be used to provide a coded representation of the
        contents of strings in an Address.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        use:
          description: The purpose of this address.
          enum:
          - home
          - work
          - temp
          - old
          - billing
        _use:
          description: Extensions for use
          $ref: '#/components/schemas/Element'
        type:
          description: Distinguishes between physical addresses (those you can visit)
            and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses
            are both.
          enum:
          - postal
          - physical
          - both
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        text:
          description: Specifies the entire address as it should be displayed e.g. on
            a postal label. This may be provided instead of or as well as the specific
            parts.
          $ref: '#/components/schemas/string'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
        line:
          description: This component contains the house number, apartment number, street
            name, street direction,  P.O. Box number, delivery hints, and similar address
            information.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _line:
          description: Extensions for line
          items:
            $ref: '#/components/schemas/Element'
          type: array
        city:
          description: The name of the city, town, suburb, village or other community
            or delivery center.
          $ref: '#/components/schemas/string'
        _city:
          description: Extensions for city
          $ref: '#/components/schemas/Element'
        district:
          description: The name of the administrative area (county).
          $ref: '#/components/schemas/string'
        _district:
          description: Extensions for district
          $ref: '#/components/schemas/Element'
        state:
          description: Sub-unit of a country with limited sovereignty in a federally
            organized country. A code may be used if codes are in common use (e.g. US
            2 letter state codes).
          $ref: '#/components/schemas/string'
        _state:
          description: Extensions for state
          $ref: '#/components/schemas/Element'
        postalCode:
          description: A postal code designating a region defined by the postal service.
          $ref: '#/components/schemas/string'
        _postalCode:
          description: Extensions for postalCode
          $ref: '#/components/schemas/Element'
        country:
          description: Country - a nation as commonly understood or generally accepted.
          $ref: '#/components/schemas/string'
        _country:
          description: Extensions for country
          $ref: '#/components/schemas/Element'
        period:
          description: Time period when address was/is in use.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
    ContactPoint:
      description: Details for all kinds of technology mediated contact points for a
        person or organization, including telephone, email, etc.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        system:
          description: Telecommunications form for contact point - what communications
            system is required to make use of the contact.
          enum:
          - phone
          - fax
          - email
          - pager
          - url
          - sms
          - other
        _system:
          description: Extensions for system
          $ref: '#/components/schemas/Element'
        value:
          description: The actual contact point details, in a form that is meaningful
            to the designated communication system (i.e. phone number or email address).
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
        use:
          description: Identifies the purpose for the contact point.
          enum:
          - home
          - work
          - temp
          - old
          - mobile
        _use:
          description: Extensions for use
          $ref: '#/components/schemas/Element'
        rank:
          description: Specifies a preferred order in which to use a set of contacts.
            ContactPoints with lower rank values are more preferred than those with
            higher rank values.
          $ref: '#/components/schemas/positiveInt'
        _rank:
          description: Extensions for rank
          $ref: '#/components/schemas/Element'
        period:
          description: Time period when the contact point was/is in use.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
    Timing:
      description: Specifies an event that may occur multiple times. Timing schedules
        are used to record when things are planned, expected or requested to occur.
        The most common usage is in dosage instructions for medications. They are also
        used when planning care of various kinds, and may be used for reporting the
        schedule to which past regular activities were carried out.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        event:
          description: Identifies specific times when the event occurs.
          items:
            $ref: '#/components/schemas/dateTime'
          type: array
        _event:
          description: Extensions for event
          items:
            $ref: '#/components/schemas/Element'
          type: array
        repeat:
          description: A set of rules that describe when the event is scheduled.
          $ref: '#/components/schemas/Timing_Repeat'
        code:
          description: A code for the timing schedule (or just text in code.text). Some
            codes such as BID are ubiquitous, but many institutions define their own
            additional codes. If a code is provided, the code is understood to be a
            complete statement of whatever is specified in the structured timing data,
            and either the code or the data may be used to interpret the Timing, with
            the exception that .repeat.bounds still applies over the code (and is not
            contained in the code).
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    Timing_Repeat:
      description: Specifies an event that may occur multiple times. Timing schedules
        are used to record when things are planned, expected or requested to occur.
        The most common usage is in dosage instructions for medications. They are also
        used when planning care of various kinds, and may be used for reporting the
        schedule to which past regular activities were carried out.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        boundsDuration:
          description: Either a duration for the length of the timing schedule, a range
            of possible length, or outer bounds for start and/or end limits of the timing
            schedule.
          $ref: '#/components/schemas/Duration'
        boundsRange:
          description: Either a duration for the length of the timing schedule, a range
            of possible length, or outer bounds for start and/or end limits of the timing
            schedule.
          $ref: '#/components/schemas/Range'
        boundsPeriod:
          description: Either a duration for the length of the timing schedule, a range
            of possible length, or outer bounds for start and/or end limits of the timing
            schedule.
          $ref: '#/components/schemas/Period'
        count:
          description: A total count of the desired number of repetitions across the
            duration of the entire timing specification. If countMax is present, this
            element indicates the lower bound of the allowed range of count values.
          $ref: '#/components/schemas/positiveInt'
        _count:
          description: Extensions for count
          $ref: '#/components/schemas/Element'
        countMax:
          description: If present, indicates that the count is a range - so to perform
            the action between [count] and [countMax] times.
          $ref: '#/components/schemas/positiveInt'
        _countMax:
          description: Extensions for countMax
          $ref: '#/components/schemas/Element'
        duration:
          description: How long this thing happens for when it happens. If durationMax
            is present, this element indicates the lower bound of the allowed range
            of the duration.
          $ref: '#/components/schemas/decimal'
        _duration:
          description: Extensions for duration
          $ref: '#/components/schemas/Element'
        durationMax:
          description: If present, indicates that the duration is a range - so to perform
            the action between [duration] and [durationMax] time length.
          $ref: '#/components/schemas/decimal'
        _durationMax:
          description: Extensions for durationMax
          $ref: '#/components/schemas/Element'
        durationUnit:
          description: 'The units of time for the duration, in UCUM units

            Normal practice is to use the ''mo'' code as a calendar month when calculating
            the next occurrence.'
          enum:
          - s
          - min
          - h
          - d
          - wk
          - mo
          - a
        _durationUnit:
          description: Extensions for durationUnit
          $ref: '#/components/schemas/Element'
        frequency:
          description: The number of times to repeat the action within the specified
            period. If frequencyMax is present, this element indicates the lower bound
            of the allowed range of the frequency.
          $ref: '#/components/schemas/positiveInt'
        _frequency:
          description: Extensions for frequency
          $ref: '#/components/schemas/Element'
        frequencyMax:
          description: If present, indicates that the frequency is a range - so to repeat
            between [frequency] and [frequencyMax] times within the period or period
            range.
          $ref: '#/components/schemas/positiveInt'
        _frequencyMax:
          description: Extensions for frequencyMax
          $ref: '#/components/schemas/Element'
        period:
          description: Indicates the duration of time over which repetitions are to
            occur; e.g. to express "3 times per day", 3 would be the frequency and "1
            day" would be the period. If periodMax is present, this element indicates
            the lower bound of the allowed range of the period length.
          $ref: '#/components/schemas/decimal'
        _period:
          description: Extensions for period
          $ref: '#/components/schemas/Element'
        periodMax:
          description: If present, indicates that the period is a range from [period]
            to [periodMax], allowing expressing concepts such as "do this once every
            3-5 days.
          $ref: '#/components/schemas/decimal'
        _periodMax:
          description: Extensions for periodMax
          $ref: '#/components/schemas/Element'
        periodUnit:
          description: 'The units of time for the period in UCUM units

            Normal practice is to use the ''mo'' code as a calendar month when calculating
            the next occurrence.'
          enum:
          - s
          - min
          - h
          - d
          - wk
          - mo
          - a
        _periodUnit:
          description: Extensions for periodUnit
          $ref: '#/components/schemas/Element'
        dayOfWeek:
          description: If one or more days of week is provided, then the action happens
            only on the specified day(s).
          items:
            $ref: '#/components/schemas/code'
          type: array
        _dayOfWeek:
          description: Extensions for dayOfWeek
          items:
            $ref: '#/components/schemas/Element'
          type: array
        timeOfDay:
          description: Specified time of day for action to take place.
          items:
            $ref: '#/components/schemas/time'
          type: array
        _timeOfDay:
          description: Extensions for timeOfDay
          items:
            $ref: '#/components/schemas/Element'
          type: array
        when:
          description: An approximate time period during the day, potentially linked
            to an event of daily living that indicates when the action should occur.
          items:
            enum:
            - MORN
            - MORN.early
            - MORN.late
            - NOON
            - AFT
            - AFT.early
            - AFT.late
            - EVE
            - EVE.early
            - EVE.late
            - NIGHT
            - PHS
            - IMD
            - HS
            - WAKE
            - C
            - CM
            - CD
            - CV
            - AC
            - ACM
            - ACD
            - ACV
            - PC
            - PCM
            - PCD
            - PCV
          type: array
        _when:
          description: Extensions for when
          items:
            $ref: '#/components/schemas/Element'
          type: array
        offset:
          description: The number of minutes from the event. If the event code does
            not indicate whether the minutes is before or after the event, then the
            offset is assumed to be after the event.
          $ref: '#/components/schemas/unsignedInt'
        _offset:
          description: Extensions for offset
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Meta:
      description: The metadata about a resource. This is content in the resource that
        is maintained by the infrastructure. Changes to the content might not always
        be associated with version changes to the resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        versionId:
          description: The version specific identifier, as it appears in the version
            portion of the URL. This value changes when the resource is created, updated,
            or deleted.
          $ref: '#/components/schemas/id'
        _versionId:
          description: Extensions for versionId
          $ref: '#/components/schemas/Element'
        lastUpdated:
          description: When the resource last changed - e.g. when the version changed.
          $ref: '#/components/schemas/instant'
        _lastUpdated:
          description: Extensions for lastUpdated
          $ref: '#/components/schemas/Element'
        source:
          description: A uri that identifies the source system of the resource. This
            provides a minimal amount of [[[Provenance]]] information that can be used
            to track or differentiate the source of information in the resource. The
            source may identify another FHIR server, document, message, database, etc.
          $ref: '#/components/schemas/uri'
        _source:
          description: Extensions for source
          $ref: '#/components/schemas/Element'
        profile:
          description: A list of profiles (references to [[[StructureDefinition]]] resources)
            that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        security:
          description: Security labels applied to this resource. These tags connect
            specific resources to the overall security policy and infrastructure.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        tag:
          description: Tags applied to this resource. Tags are intended to be used to
            identify and relate resources to process and workflow, and applications
            are not required to consider the tags when interpreting the meaning of a
            resource.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
      type: object
      additionalProperties: false
      required:
      - lastUpdated
    ContactDetail:
      description: Specifies contact information for a person or organization.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: The name of an individual to contact.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        telecom:
          description: The contact details for the individual (if a name was provided)
            or the organization.
          items:
            $ref: '#/components/schemas/ContactPoint'
          type: array
      type: object
      additionalProperties: false
    ExtendedContactDetail:
      description: Specifies contact information for a specific purpose over a period
        of time, might be handled/monitored by a specific named person or organization.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        purpose:
          description: The purpose/type of contact.
          $ref: '#/components/schemas/CodeableConcept'
        name:
          description: The name of an individual to contact, some types of contact detail
            are usually blank.
          items:
            $ref: '#/components/schemas/HumanName'
          type: array
        telecom:
          description: The contact details application for the purpose defined.
          items:
            $ref: '#/components/schemas/ContactPoint'
          type: array
        address:
          description: Address for the contact.
          $ref: '#/components/schemas/Address'
        organization:
          description: This contact detail is handled/monitored by a specific organization.
            If the name is provided in the contact, then it is referring to the named
            individual within this organization.
          $ref: '#/components/schemas/Reference'
        period:
          description: Period that this contact was valid for usage.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
    VirtualServiceDetail:
      description: The set of values required to describe a virtual service's connection
        details, including some limitations of the service.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        channelType:
          description: The type of virtual service to connect to (i.e. Teams, Zoom,
            Specific VMR technology, WhatsApp).
          $ref: '#/components/schemas/Coding'
        addressUrl:
          description: What address or number needs to be used for a user to connect
            to the virtual service to join. The channelType informs as to which datatype
            is appropriate to use (requires knowledge of the specific type).
          pattern: ^\S*$
          type: string
        _addressUrl:
          description: Extensions for addressUrl
          $ref: '#/components/schemas/Element'
        addressString:
          description: What address or number needs to be used for a user to connect
            to the virtual service to join. The channelType informs as to which datatype
            is appropriate to use (requires knowledge of the specific type).
          pattern: ^^[\s\S]+$$
          type: string
        _addressString:
          description: Extensions for addressString
          $ref: '#/components/schemas/Element'
        addressContactPoint:
          description: What address or number needs to be used for a user to connect
            to the virtual service to join. The channelType informs as to which datatype
            is appropriate to use (requires knowledge of the specific type).
          $ref: '#/components/schemas/ContactPoint'
        addressExtendedContactDetail:
          description: What address or number needs to be used for a user to connect
            to the virtual service to join. The channelType informs as to which datatype
            is appropriate to use (requires knowledge of the specific type).
          $ref: '#/components/schemas/ExtendedContactDetail'
        additionalInfo:
          description: A web address that provides additional details on the call, such
            as alternative/regional call in numbers, or other associated services.
          items:
            $ref: '#/components/schemas/url'
          type: array
        _additionalInfo:
          description: Extensions for additionalInfo
          items:
            $ref: '#/components/schemas/Element'
          type: array
        maxParticipants:
          description: Maximum number of participants supported by the virtual service
            where there are limitations imposed.
          $ref: '#/components/schemas/positiveInt'
        _maxParticipants:
          description: Extensions for maxParticipants
          $ref: '#/components/schemas/Element'
        sessionKey:
          description: Some systems require an additional factor/value be provided to
            access the service.
          $ref: '#/components/schemas/string'
        _sessionKey:
          description: Extensions for sessionKey
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Availability:
      description: Availability data for an {item}, declaring what days/times are available,
        and any exceptions. The exceptions could be textual only, e.g. Public holidays,
        or could be time period specific and indicate a specific years dates.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        availableTime:
          description: A collection of times that the {item} is available.
          items:
            $ref: '#/components/schemas/Availability_AvailableTime'
          type: array
        notAvailableTime:
          description: The {item} is not available during this period of time due to
            the provided reason.
          items:
            $ref: '#/components/schemas/Availability_NotAvailableTime'
          type: array
      type: object
      additionalProperties: false
    Availability_AvailableTime:
      description: Availability data for an {item}, declaring what days/times are available,
        and any exceptions. The exceptions could be textual only, e.g. Public holidays,
        or could be time period specific and indicate a specific years dates.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        daysOfWeek:
          description: Indicates which days of the week are available between the start
            and end Times.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _daysOfWeek:
          description: Extensions for daysOfWeek
          items:
            $ref: '#/components/schemas/Element'
          type: array
        allDay:
          description: Is this always available? (hence times are irrelevant) i.e. 24
            hour service.
          $ref: '#/components/schemas/boolean'
        _allDay:
          description: Extensions for allDay
          $ref: '#/components/schemas/Element'
        availableStartTime:
          description: 'The opening time of day. Note: If the AllDay flag is set, then
            this time is ignored.'
          $ref: '#/components/schemas/time'
        _availableStartTime:
          description: Extensions for availableStartTime
          $ref: '#/components/schemas/Element'
        availableEndTime:
          description: 'The closing time of day. Note: If the AllDay flag is set, then
            this time is ignored.'
          $ref: '#/components/schemas/time'
        _availableEndTime:
          description: Extensions for availableEndTime
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Availability_NotAvailableTime:
      description: Availability data for an {item}, declaring what days/times are available,
        and any exceptions. The exceptions could be textual only, e.g. Public holidays,
        or could be time period specific and indicate a specific years dates.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: The reason that can be presented to the user as to why this time
            is not available.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        during:
          description: The {item} is not available (seasonally or for a public holiday)
            during this period.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
    MonetaryComponent:
      description: Financial line items use this datatype to commonly categorize the
        value, and other factors that may effect how the value should be interpreted.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of monetary component, what the value is to be used
            for and how that should be applied in its context. e.g. A surchange would
            increase the cost, a deduction would reduce the cost.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        code:
          description: A codable breakdown of the type of monetary component. e.g. State
            Tax, Federal Tax, VIP-Discount.
          $ref: '#/components/schemas/CodeableConcept'
        factor:
          description: The factor that has been applied to the base price (in another
            monetary component value) when performing calculations.
          $ref: '#/components/schemas/decimal'
        _factor:
          description: Extensions for factor
          $ref: '#/components/schemas/Element'
        amount:
          description: The explicit value amount of the component (based on type/code).
          $ref: '#/components/schemas/Money'
      type: object
      additionalProperties: false
    Contributor:
      description: A contributor to the content of a knowledge asset, including authors,
        editors, reviewers, and endorsers.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of contributor.
          enum:
          - author
          - editor
          - reviewer
          - endorser
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        name:
          description: The name of the individual or organization responsible for the
            contribution.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the contributor.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
      type: object
      additionalProperties: false
    DataRequirement:
      description: Describes a required data item for evaluation in terms of the type
        of data, and optional code or date-based filters of the data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of the required data, specified as the type name of
            a resource. For profiles, this value is set to the type of the base resource
            of the profile.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        profile:
          description: The profile of the required data, specified as the uri of the
            profile definition.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        subjectCodeableConcept:
          description: The intended subjects of the data requirement. If this element
            is not provided, a Patient subject is assumed.
          $ref: '#/components/schemas/CodeableConcept'
        subjectReference:
          description: The intended subjects of the data requirement. If this element
            is not provided, a Patient subject is assumed.
          $ref: '#/components/schemas/Reference'
        mustSupport:
          description: "Indicates that specific elements of the type are referenced\
            \ by the knowledge module and must be supported by the consumer in order\
            \ to obtain an effective evaluation. This does not mean that a value is\
            \ required for this element, only that the consuming system must understand\
            \ the element and be able to provide values for it if they are available.\
            \ \n\nThe value of mustSupport SHALL be a FHIRPath resolvable on the type\
            \ of the DataRequirement. The path SHALL consist only of identifiers, constant\
            \ indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple)\
            \ for full details)."
          items:
            $ref: '#/components/schemas/string'
          type: array
        _mustSupport:
          description: Extensions for mustSupport
          items:
            $ref: '#/components/schemas/Element'
          type: array
        codeFilter:
          description: Code filters specify additional constraints on the data, specifying
            the value set of interest for a particular element of the data. Each code
            filter defines an additional constraint on the data, i.e. code filters are
            AND'ed, not OR'ed.
          items:
            $ref: '#/components/schemas/DataRequirement_CodeFilter'
          type: array
        dateFilter:
          description: Date filters specify additional constraints on the data in terms
            of the applicable date range for specific elements. Each date filter specifies
            an additional constraint on the data, i.e. date filters are AND'ed, not
            OR'ed.
          items:
            $ref: '#/components/schemas/DataRequirement_DateFilter'
          type: array
        valueFilter:
          description: Value filters specify additional constraints on the data for
            elements other than code-valued or date-valued. Each value filter specifies
            an additional constraint on the data (i.e. valueFilters are AND'ed, not
            OR'ed).
          items:
            $ref: '#/components/schemas/DataRequirement_ValueFilter'
          type: array
        limit:
          description: Specifies a maximum number of results that are required (uses
            the _count search parameter).
          $ref: '#/components/schemas/positiveInt'
        _limit:
          description: Extensions for limit
          $ref: '#/components/schemas/Element'
        sort:
          description: Specifies the order of the results to be returned.
          items:
            $ref: '#/components/schemas/DataRequirement_Sort'
          type: array
      type: object
      additionalProperties: false
    DataRequirement_CodeFilter:
      description: Describes a required data item for evaluation in terms of the type
        of data, and optional code or date-based filters of the data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        path:
          description: The code-valued attribute of the filter. The specified path SHALL
            be a FHIRPath resolvable on the specified type of the DataRequirement, and
            SHALL consist only of identifiers, constant indexers, and .resolve(). The
            path is allowed to contain qualifiers (.) to traverse sub-elements, as well
            as indexers ([x]) to traverse multiple-cardinality sub-elements (see the
            [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note
            that the index must be an integer constant. The path must resolve to an
            element of type code, Coding, or CodeableConcept.
          $ref: '#/components/schemas/string'
        _path:
          description: Extensions for path
          $ref: '#/components/schemas/Element'
        searchParam:
          description: A token parameter that refers to a search parameter defined on
            the specified type of the DataRequirement, and which searches on elements
            of type code, Coding, or CodeableConcept.
          $ref: '#/components/schemas/string'
        _searchParam:
          description: Extensions for searchParam
          $ref: '#/components/schemas/Element'
        valueSet:
          description: The valueset for the code filter. The valueSet and code elements
            are additive. If valueSet is specified, the filter will return only those
            data items for which the value of the code-valued element specified in the
            path is a member of the specified valueset.
          $ref: '#/components/schemas/canonical'
        code:
          description: The codes for the code filter. If values are given, the filter
            will return only those data items for which the code-valued attribute specified
            by the path has a value that is one of the specified codes. If codes are
            specified in addition to a value set, the filter returns items matching
            a code in the value set or one of the specified codes.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
      type: object
      additionalProperties: false
    DataRequirement_DateFilter:
      description: Describes a required data item for evaluation in terms of the type
        of data, and optional code or date-based filters of the data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        path:
          description: The date-valued attribute of the filter. The specified path SHALL
            be a FHIRPath resolvable on the specified type of the DataRequirement, and
            SHALL consist only of identifiers, constant indexers, and .resolve(). The
            path is allowed to contain qualifiers (.) to traverse sub-elements, as well
            as indexers ([x]) to traverse multiple-cardinality sub-elements (see the
            [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note
            that the index must be an integer constant. The path must resolve to an
            element of type date, dateTime, Period, Schedule, or Timing.
          $ref: '#/components/schemas/string'
        _path:
          description: Extensions for path
          $ref: '#/components/schemas/Element'
        searchParam:
          description: A date parameter that refers to a search parameter defined on
            the specified type of the DataRequirement, and which searches on elements
            of type date, dateTime, Period, Schedule, or Timing.
          $ref: '#/components/schemas/string'
        _searchParam:
          description: Extensions for searchParam
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The value of the filter. If period is specified, the filter will
            return only those data items that fall within the bounds determined by the
            Period, inclusive of the period boundaries. If dateTime is specified, the
            filter will return only those data items that are equal to the specified
            dateTime. If a Duration is specified, the filter will return only those
            data items that fall within Duration before now.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valuePeriod:
          description: The value of the filter. If period is specified, the filter will
            return only those data items that fall within the bounds determined by the
            Period, inclusive of the period boundaries. If dateTime is specified, the
            filter will return only those data items that are equal to the specified
            dateTime. If a Duration is specified, the filter will return only those
            data items that fall within Duration before now.
          $ref: '#/components/schemas/Period'
        valueDuration:
          description: The value of the filter. If period is specified, the filter will
            return only those data items that fall within the bounds determined by the
            Period, inclusive of the period boundaries. If dateTime is specified, the
            filter will return only those data items that are equal to the specified
            dateTime. If a Duration is specified, the filter will return only those
            data items that fall within Duration before now.
          $ref: '#/components/schemas/Duration'
      type: object
      additionalProperties: false
    DataRequirement_ValueFilter:
      description: Describes a required data item for evaluation in terms of the type
        of data, and optional code or date-based filters of the data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        path:
          description: The attribute of the filter. The specified path SHALL be a FHIRPath
            resolvable on the specified type of the DataRequirement, and SHALL consist
            only of identifiers, constant indexers, and .resolve(). The path is allowed
            to contain qualifiers (.) to traverse sub-elements, as well as indexers
            ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath
            Profile](fhirpath.html#simple) for full details). Note that the index must
            be an integer constant. The path must resolve to an element of a type that
            is comparable to the valueFilter.value[x] element for the filter.
          $ref: '#/components/schemas/string'
        _path:
          description: Extensions for path
          $ref: '#/components/schemas/Element'
        searchParam:
          description: A search parameter defined on the specified type of the DataRequirement,
            and which searches on elements of a type compatible with the type of the
            valueFilter.value[x] for the filter.
          $ref: '#/components/schemas/string'
        _searchParam:
          description: Extensions for searchParam
          $ref: '#/components/schemas/Element'
        comparator:
          description: The comparator to be used to determine whether the value is matching.
          $ref: '#/components/schemas/code'
        _comparator:
          description: Extensions for comparator
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The value of the filter.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valuePeriod:
          description: The value of the filter.
          $ref: '#/components/schemas/Period'
        valueDuration:
          description: The value of the filter.
          $ref: '#/components/schemas/Duration'
      type: object
      additionalProperties: false
    DataRequirement_Sort:
      description: Describes a required data item for evaluation in terms of the type
        of data, and optional code or date-based filters of the data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        path:
          description: The attribute of the sort. The specified path must be resolvable
            from the type of the required data. The path is allowed to contain qualifiers
            (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality
            sub-elements. Note that the index must be an integer constant.
          $ref: '#/components/schemas/string'
        _path:
          description: Extensions for path
          $ref: '#/components/schemas/Element'
        direction:
          description: The direction of the sort, ascending or descending.
          enum:
          - ascending
          - descending
        _direction:
          description: Extensions for direction
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ParameterDefinition:
      description: The parameters to the module. This collection specifies both the
        input and output parameters. Input parameters are provided by the caller as
        part of the $evaluate operation. Output parameters are included in the GuidanceResponse.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: The name of the parameter used to allow access to the value of
            the parameter in evaluation contexts.
          $ref: '#/components/schemas/code'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        use:
          description: Whether the parameter is input or output for the module.
          $ref: '#/components/schemas/code'
        _use:
          description: Extensions for use
          $ref: '#/components/schemas/Element'
        min:
          description: The minimum number of times this parameter SHALL appear in the
            request or response.
          $ref: '#/components/schemas/integer'
        _min:
          description: Extensions for min
          $ref: '#/components/schemas/Element'
        max:
          description: The maximum number of times this element is permitted to appear
            in the request or response.
          $ref: '#/components/schemas/string'
        _max:
          description: Extensions for max
          $ref: '#/components/schemas/Element'
        documentation:
          description: A brief discussion of what the parameter is for and how it is
            used by the module.
          $ref: '#/components/schemas/string'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
        type:
          description: The type of the parameter.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        profile:
          description: If specified, this indicates a profile that the input data must
            conform to, or that the output data will conform to.
          $ref: '#/components/schemas/canonical'
      type: object
      additionalProperties: false
    RelatedArtifact:
      description: Related artifacts such as additional documentation, justification,
        or bibliographic references.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of relationship to the related artifact.
          enum:
          - documentation
          - justification
          - citation
          - predecessor
          - successor
          - derived-from
          - depends-on
          - composed-of
          - part-of
          - amends
          - amended-with
          - appends
          - appended-with
          - cites
          - cited-by
          - comments-on
          - comment-in
          - contains
          - contained-in
          - corrects
          - correction-in
          - replaces
          - replaced-with
          - retracts
          - retracted-by
          - signs
          - similar-to
          - supports
          - supported-with
          - transforms
          - transformed-into
          - transformed-with
          - documents
          - specification-of
          - created-with
          - cite-as
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        classifier:
          description: Provides additional classifiers of the related artifact.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        label:
          description: A short label that can be used to reference the citation from
            elsewhere in the containing artifact, such as a footnote index.
          $ref: '#/components/schemas/string'
        _label:
          description: Extensions for label
          $ref: '#/components/schemas/Element'
        display:
          description: A brief description of the document or knowledge resource being
            referenced, suitable for display to a consumer.
          $ref: '#/components/schemas/string'
        _display:
          description: Extensions for display
          $ref: '#/components/schemas/Element'
        citation:
          description: A bibliographic citation for the related artifact. This text
            SHOULD be formatted according to an accepted citation format.
          $ref: '#/components/schemas/markdown'
        _citation:
          description: Extensions for citation
          $ref: '#/components/schemas/Element'
        document:
          description: The document being referenced, represented as an attachment.
            This is exclusive with the resource element.
          $ref: '#/components/schemas/Attachment'
        resource:
          description: The related artifact, such as a library, value set, profile,
            or other knowledge resource.
          $ref: '#/components/schemas/canonical'
        resourceReference:
          description: The related artifact, if the artifact is not a canonical resource,
            or a resource reference to a canonical resource.
          $ref: '#/components/schemas/Reference'
        publicationStatus:
          description: The publication status of the artifact being referred to.
          $ref: '#/components/schemas/code'
        _publicationStatus:
          description: Extensions for publicationStatus
          $ref: '#/components/schemas/Element'
        publicationDate:
          description: The date of publication of the artifact being referred to.
          $ref: '#/components/schemas/date'
        _publicationDate:
          description: Extensions for publicationDate
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TriggerDefinition:
      description: A description of a triggering event. Triggering events can be named
        events, data events, or periodic, as determined by the type element.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of triggering event.
          enum:
          - named-event
          - periodic
          - data-changed
          - data-added
          - data-modified
          - data-removed
          - data-accessed
          - data-access-ended
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        name:
          description: A formal name for the event. This may be an absolute URI that
            identifies the event formally (e.g. from a trigger registry), or a simple
            relative URI that identifies the event in a local context.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        code:
          description: A code that identifies the event.
          $ref: '#/components/schemas/CodeableConcept'
        subscriptionTopic:
          description: A reference to a SubscriptionTopic resource that defines the
            event. If this element is provided, no other information about the trigger
            definition may be supplied.
          $ref: '#/components/schemas/canonical'
        timingTiming:
          description: The timing of the event (if this is a periodic trigger).
          $ref: '#/components/schemas/Timing'
        timingReference:
          description: The timing of the event (if this is a periodic trigger).
          $ref: '#/components/schemas/Reference'
        timingDate:
          description: The timing of the event (if this is a periodic trigger).
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _timingDate:
          description: Extensions for timingDate
          $ref: '#/components/schemas/Element'
        timingDateTime:
          description: The timing of the event (if this is a periodic trigger).
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _timingDateTime:
          description: Extensions for timingDateTime
          $ref: '#/components/schemas/Element'
        data:
          description: The triggering data of the event (if this is a data trigger).
            If more than one data is requirement is specified, then all the data requirements
            must be true.
          items:
            $ref: '#/components/schemas/DataRequirement'
          type: array
        condition:
          description: A boolean-valued expression that is evaluated in the context
            of the container of the trigger definition and returns whether or not the
            trigger fires.
          $ref: '#/components/schemas/Expression'
      type: object
      additionalProperties: false
    UsageContext:
      description: Specifies clinical/business/etc. metadata that can be used to retrieve,
        index and/or categorize an artifact. This metadata can either be specific to
        the applicable population (e.g., age category, DRG) or the specific context
        of care (e.g., venue, care setting, provider of care).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A code that identifies the type of context being specified by
            this usage context.
          $ref: '#/components/schemas/Coding'
        valueCodeableConcept:
          description: A value that defines the context specified in this context of
            use. The interpretation of the value is defined by the code.
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: A value that defines the context specified in this context of
            use. The interpretation of the value is defined by the code.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: A value that defines the context specified in this context of
            use. The interpretation of the value is defined by the code.
          $ref: '#/components/schemas/Range'
        valueReference:
          description: A value that defines the context specified in this context of
            use. The interpretation of the value is defined by the code.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - code
    Dosage:
      description: Indicates how the medication is/was taken or should be taken by the
        patient.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: Indicates the order in which the dosage instructions should be
            applied or interpreted.
          $ref: '#/components/schemas/integer'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        text:
          description: Free text dosage instructions e.g. SIG.
          $ref: '#/components/schemas/string'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
        additionalInstruction:
          description: Supplemental instructions to the patient on how to take the medication  (e.g.
            "with meals" or"take half to one hour before food") or warnings for the
            patient about the medication (e.g. "may cause drowsiness" or "avoid exposure
            of skin to direct sunlight or sunlamps").
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        patientInstruction:
          description: Instructions in terms that are understood by the patient or consumer.
          $ref: '#/components/schemas/string'
        _patientInstruction:
          description: Extensions for patientInstruction
          $ref: '#/components/schemas/Element'
        timing:
          description: When medication should be administered.
          $ref: '#/components/schemas/Timing'
        asNeeded:
          description: Indicates whether the Medication is only taken when needed within
            a specific dosing schedule (Boolean option).
          $ref: '#/components/schemas/boolean'
        _asNeeded:
          description: Extensions for asNeeded
          $ref: '#/components/schemas/Element'
        asNeededFor:
          description: Indicates whether the Medication is only taken based on a precondition
            for taking the Medication (CodeableConcept).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        site:
          description: Body site to administer to.
          $ref: '#/components/schemas/CodeableConcept'
        route:
          description: How drug should enter body.
          $ref: '#/components/schemas/CodeableConcept'
        method:
          description: Technique for administering medication.
          $ref: '#/components/schemas/CodeableConcept'
        doseAndRate:
          description: Depending on the resource,this is the amount of medication administered,
            to  be administered or typical amount to be administered.
          items:
            $ref: '#/components/schemas/Dosage_DoseAndRate'
          type: array
        maxDosePerPeriod:
          description: Upper limit on medication per unit of time.
          items:
            $ref: '#/components/schemas/Ratio'
          type: array
        maxDosePerAdministration:
          description: Upper limit on medication per administration.
          $ref: '#/components/schemas/Quantity'
        maxDosePerLifetime:
          description: Upper limit on medication per lifetime of the patient.
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
    Dosage_DoseAndRate:
      description: Indicates how the medication is/was taken or should be taken by the
        patient.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The kind of dose or rate specified, for example, ordered or calculated.
          $ref: '#/components/schemas/CodeableConcept'
        doseRange:
          description: Amount of medication per dose.
          $ref: '#/components/schemas/Range'
        doseQuantity:
          description: Amount of medication per dose.
          $ref: '#/components/schemas/Quantity'
        rateRatio:
          description: Amount of medication per unit of time.
          $ref: '#/components/schemas/Ratio'
        rateRange:
          description: Amount of medication per unit of time.
          $ref: '#/components/schemas/Range'
        rateQuantity:
          description: Amount of medication per unit of time.
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
    ProductShelfLife:
      description: The shelf-life and storage information for a medicinal product item
        or container can be described using this class.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: This describes the shelf life, taking into account various scenarios
            such as shelf life of the packaged Medicinal Product itself, shelf life
            after transformation where necessary and shelf life after the first opening
            of a bottle, etc. The shelf life type shall be specified using an appropriate
            controlled vocabulary The controlled term and the controlled term identifier
            shall be specified.
          $ref: '#/components/schemas/CodeableConcept'
        periodDuration:
          description: The shelf life time period can be specified using a numerical
            value for the period of time and its unit of time measurement The unit of
            measurement shall be specified in accordance with ISO 11240 and the resulting
            terminology The symbol and the symbol identifier shall be used.
          $ref: '#/components/schemas/Duration'
        periodString:
          description: The shelf life time period can be specified using a numerical
            value for the period of time and its unit of time measurement The unit of
            measurement shall be specified in accordance with ISO 11240 and the resulting
            terminology The symbol and the symbol identifier shall be used.
          pattern: ^^[\s\S]+$$
          type: string
        _periodString:
          description: Extensions for periodString
          $ref: '#/components/schemas/Element'
        specialPrecautionsForStorage:
          description: Special precautions for storage, if any, can be specified using
            an appropriate controlled vocabulary The controlled term and the controlled
            term identifier shall be specified.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
    MarketingStatus:
      description: The marketing status describes the date when a medicinal product
        is actually put on the market or the date as of which it is no longer available.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        country:
          description: The country in which the marketing authorization has been granted
            shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2
            code elements.
          $ref: '#/components/schemas/CodeableConcept'
        jurisdiction:
          description: Where a Medicines Regulatory Agency has granted a marketing authorization
            for which specific provisions within a jurisdiction apply, the jurisdiction
            can be specified using an appropriate controlled terminology The controlled
            term and the controlled term identifier shall be specified.
          $ref: '#/components/schemas/CodeableConcept'
        status:
          description: This attribute provides information on the status of the marketing
            of the medicinal product See ISO/TS 20443 for more information and examples.
          $ref: '#/components/schemas/CodeableConcept'
        dateRange:
          description: The date when the Medicinal Product is placed on the market by
            the Marketing Authorization Holder (or where applicable, the manufacturer/distributor)
            in a country and/or jurisdiction shall be provided A complete date consisting
            of day, month and year shall be specified using the ISO 8601 date format
            NOTE “Placed on the market” refers to the release of the Medicinal Product
            into the distribution chain.
          $ref: '#/components/schemas/Period'
        restoreDate:
          description: The date when the Medicinal Product is placed on the market by
            the Marketing Authorization Holder (or where applicable, the manufacturer/distributor)
            in a country and/or jurisdiction shall be provided A complete date consisting
            of day, month and year shall be specified using the ISO 8601 date format
            NOTE “Placed on the market” refers to the release of the Medicinal Product
            into the distribution chain.
          $ref: '#/components/schemas/dateTime'
        _restoreDate:
          description: Extensions for restoreDate
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - status
    Expression:
      description: A expression that is evaluated in a specified context and returns
        a value. The context of use of the expression must specify the context in which
        the expression is evaluated, and how the result of the expression is used.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: A brief, natural language description of the condition that effectively
            communicates the intended semantics.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        name:
          description: A short name assigned to the expression to allow for multiple
            reuse of the expression in the context where it is defined.
          $ref: '#/components/schemas/code'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        language:
          description: The media type of the language for the expression.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        expression:
          description: An expression in the specified language that returns a value.
          $ref: '#/components/schemas/string'
        _expression:
          description: Extensions for expression
          $ref: '#/components/schemas/Element'
        reference:
          description: A URI that defines where the expression is found.
          $ref: '#/components/schemas/uri'
        _reference:
          description: Extensions for reference
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ElementDefinition:
      description: Captures constraints on each element within the resource, profile,
        or extension.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        path:
          description: The path identifies the element and is expressed as a "."-separated
            list of ancestor elements, beginning with the name of the resource or extension.
          $ref: '#/components/schemas/string'
        _path:
          description: Extensions for path
          $ref: '#/components/schemas/Element'
        representation:
          description: Codes that define how this element is represented in instances,
            when the deviation varies from the normal case. No extensions are allowed
            on elements with a representation of 'xmlAttr', no matter what FHIR serialization
            format is used.
          items:
            enum:
            - xmlAttr
            - xmlText
            - typeAttr
            - cdaText
            - xhtml
          type: array
        _representation:
          description: Extensions for representation
          items:
            $ref: '#/components/schemas/Element'
          type: array
        sliceName:
          description: The name of this element definition slice, when slicing is working.
            The name must be a token with no dots or spaces. This is a unique name referring
            to a specific set of constraints applied to this element, used to provide
            a name to different slices of the same element.
          $ref: '#/components/schemas/string'
        _sliceName:
          description: Extensions for sliceName
          $ref: '#/components/schemas/Element'
        sliceIsConstraining:
          description: If true, indicates that this slice definition is constraining
            a slice definition with the same name in an inherited profile. If false,
            the slice is not overriding any slice in an inherited profile. If missing,
            the slice might or might not be overriding a slice in an inherited profile,
            depending on the sliceName.
          $ref: '#/components/schemas/boolean'
        _sliceIsConstraining:
          description: Extensions for sliceIsConstraining
          $ref: '#/components/schemas/Element'
        label:
          description: A single preferred label which is the text to display beside
            the element indicating its meaning or to use to prompt for the element in
            a user display or form.
          $ref: '#/components/schemas/string'
        _label:
          description: Extensions for label
          $ref: '#/components/schemas/Element'
        code:
          description: A code that has the same meaning as the element in a particular
            terminology.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        slicing:
          description: Indicates that the element is sliced into a set of alternative
            definitions (i.e. in a structure definition, there are multiple different
            constraints on a single element in the base resource). Slicing can be used
            in any resource that has cardinality ..* on the base resource, or any resource
            with a choice of types. The set of slices is any elements that come after
            this in the element sequence that have the same path, until a shorter path
            occurs (the shorter path terminates the set).
          $ref: '#/components/schemas/ElementDefinition_Slicing'
        short:
          description: A concise description of what this element means (e.g. for use
            in autogenerated summaries).
          $ref: '#/components/schemas/string'
        _short:
          description: Extensions for short
          $ref: '#/components/schemas/Element'
        definition:
          description: 'Provides a complete explanation of the meaning of the data element
            for human readability.  For the case of elements derived from existing elements
            (e.g. constraints), the definition SHALL be consistent with the base definition,
            but convey the meaning of the element in the particular context of use of
            the resource. (Note: The text you are reading is specified in ElementDefinition.definition).'
          $ref: '#/components/schemas/markdown'
        _definition:
          description: Extensions for definition
          $ref: '#/components/schemas/Element'
        comment:
          description: 'Explanatory notes and implementation guidance about the data
            element, including notes about how to use the data properly, exceptions
            to proper use, etc. (Note: The text you are reading is specified in ElementDefinition.comment).'
          $ref: '#/components/schemas/markdown'
        _comment:
          description: Extensions for comment
          $ref: '#/components/schemas/Element'
        requirements:
          description: This element is for traceability of why the element was created
            and why the constraints exist as they do. This may be used to point to source
            materials or specifications that drove the structure of this element.
          $ref: '#/components/schemas/markdown'
        _requirements:
          description: Extensions for requirements
          $ref: '#/components/schemas/Element'
        alias:
          description: Identifies additional names by which this element might also
            be known.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _alias:
          description: Extensions for alias
          items:
            $ref: '#/components/schemas/Element'
          type: array
        min:
          description: The minimum number of times this element SHALL appear in the
            instance.
          $ref: '#/components/schemas/unsignedInt'
        _min:
          description: Extensions for min
          $ref: '#/components/schemas/Element'
        max:
          description: The maximum number of times this element is permitted to appear
            in the instance.
          $ref: '#/components/schemas/string'
        _max:
          description: Extensions for max
          $ref: '#/components/schemas/Element'
        base:
          description: Information about the base definition of the element, provided
            to make it unnecessary for tools to trace the deviation of the element through
            the derived and related profiles. When the element definition is not the
            original definition of an element - e.g. either in a constraint on another
            type, or for elements from a super type in a snap shot - then the information
            in provided in the element definition may be different to the base definition.
            On the original definition of the element, it will be same.
          $ref: '#/components/schemas/ElementDefinition_Base'
        contentReference:
          description: Identifies an element defined elsewhere in the definition whose
            content rules should be applied to the current element. ContentReferences
            bring across all the rules that are in the ElementDefinition for the element,
            including definitions, cardinality constraints, bindings, invariants etc.
          $ref: '#/components/schemas/uri'
        _contentReference:
          description: Extensions for contentReference
          $ref: '#/components/schemas/Element'
        type:
          description: The data type or resource that the value of this element is permitted
            to be.
          items:
            $ref: '#/components/schemas/ElementDefinition_Type'
          type: array
        defaultValueBase64Binary:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
          type: string
        _defaultValueBase64Binary:
          description: Extensions for defaultValueBase64Binary
          $ref: '#/components/schemas/Element'
        defaultValueBoolean:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^true|false$
          type: boolean
        _defaultValueBoolean:
          description: Extensions for defaultValueBoolean
          $ref: '#/components/schemas/Element'
        defaultValueCanonical:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^\S*$
          type: string
        _defaultValueCanonical:
          description: Extensions for defaultValueCanonical
          $ref: '#/components/schemas/Element'
        defaultValueCode:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^[^\s]+( [^\s]+)*$
          type: string
        _defaultValueCode:
          description: Extensions for defaultValueCode
          $ref: '#/components/schemas/Element'
        defaultValueDate:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _defaultValueDate:
          description: Extensions for defaultValueDate
          $ref: '#/components/schemas/Element'
        defaultValueDateTime:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _defaultValueDateTime:
          description: Extensions for defaultValueDateTime
          $ref: '#/components/schemas/Element'
        defaultValueDecimal:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _defaultValueDecimal:
          description: Extensions for defaultValueDecimal
          $ref: '#/components/schemas/Element'
        defaultValueId:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^[A-Za-z0-9\-\.]{1,64}$
          type: string
        _defaultValueId:
          description: Extensions for defaultValueId
          $ref: '#/components/schemas/Element'
        defaultValueInstant:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$
          type: string
        _defaultValueInstant:
          description: Extensions for defaultValueInstant
          $ref: '#/components/schemas/Element'
        defaultValueInteger:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _defaultValueInteger:
          description: Extensions for defaultValueInteger
          $ref: '#/components/schemas/Element'
        defaultValueInteger64:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: string
        _defaultValueInteger64:
          description: Extensions for defaultValueInteger64
          $ref: '#/components/schemas/Element'
        defaultValueMarkdown:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^^[\s\S]+$$
          type: string
        _defaultValueMarkdown:
          description: Extensions for defaultValueMarkdown
          $ref: '#/components/schemas/Element'
        defaultValueOid:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^urn:oid:[0-2](\.(0|[1-9][0-9]*))+$
          type: string
        _defaultValueOid:
          description: Extensions for defaultValueOid
          $ref: '#/components/schemas/Element'
        defaultValuePositiveInt:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^[1-9][0-9]*$
          type: number
        _defaultValuePositiveInt:
          description: Extensions for defaultValuePositiveInt
          $ref: '#/components/schemas/Element'
        defaultValueString:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^^[\s\S]+$$
          type: string
        _defaultValueString:
          description: Extensions for defaultValueString
          $ref: '#/components/schemas/Element'
        defaultValueTime:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _defaultValueTime:
          description: Extensions for defaultValueTime
          $ref: '#/components/schemas/Element'
        defaultValueUnsignedInt:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^[0]|([1-9][0-9]*)$
          type: number
        _defaultValueUnsignedInt:
          description: Extensions for defaultValueUnsignedInt
          $ref: '#/components/schemas/Element'
        defaultValueUri:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^\S*$
          type: string
        _defaultValueUri:
          description: Extensions for defaultValueUri
          $ref: '#/components/schemas/Element'
        defaultValueUrl:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^\S*$
          type: string
        _defaultValueUrl:
          description: Extensions for defaultValueUrl
          $ref: '#/components/schemas/Element'
        defaultValueUuid:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          pattern: ^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          type: string
        _defaultValueUuid:
          description: Extensions for defaultValueUuid
          $ref: '#/components/schemas/Element'
        defaultValueAddress:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Address'
        defaultValueAge:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Age'
        defaultValueAnnotation:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Annotation'
        defaultValueAttachment:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Attachment'
        defaultValueCodeableConcept:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/CodeableConcept'
        defaultValueCodeableReference:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/CodeableReference'
        defaultValueCoding:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Coding'
        defaultValueContactPoint:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/ContactPoint'
        defaultValueCount:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Count'
        defaultValueDistance:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Distance'
        defaultValueDuration:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Duration'
        defaultValueHumanName:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/HumanName'
        defaultValueIdentifier:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Identifier'
        defaultValueMoney:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Money'
        defaultValuePeriod:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Period'
        defaultValueQuantity:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Quantity'
        defaultValueRange:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Range'
        defaultValueRatio:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Ratio'
        defaultValueRatioRange:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/RatioRange'
        defaultValueReference:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Reference'
        defaultValueSampledData:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/SampledData'
        defaultValueSignature:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Signature'
        defaultValueTiming:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Timing'
        defaultValueContactDetail:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/ContactDetail'
        defaultValueDataRequirement:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/DataRequirement'
        defaultValueExpression:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Expression'
        defaultValueParameterDefinition:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/ParameterDefinition'
        defaultValueRelatedArtifact:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/RelatedArtifact'
        defaultValueTriggerDefinition:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/TriggerDefinition'
        defaultValueUsageContext:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/UsageContext'
        defaultValueAvailability:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Availability'
        defaultValueExtendedContactDetail:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/ExtendedContactDetail'
        defaultValueDosage:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Dosage'
        defaultValueMeta:
          description: The value that should be used if there is no value stated in
            the instance (e.g. 'if not otherwise specified, the abstract is false').
          $ref: '#/components/schemas/Meta'
        meaningWhenMissing:
          description: The Implicit meaning that is to be understood when this element
            is missing (e.g. 'when this element is missing, the period is ongoing').
          $ref: '#/components/schemas/markdown'
        _meaningWhenMissing:
          description: Extensions for meaningWhenMissing
          $ref: '#/components/schemas/Element'
        orderMeaning:
          description: If present, indicates that the order of the repeating element
            has meaning and describes what that meaning is.  If absent, it means that
            the order of the element has no meaning.
          $ref: '#/components/schemas/string'
        _orderMeaning:
          description: Extensions for orderMeaning
          $ref: '#/components/schemas/Element'
        fixedBase64Binary:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
          type: string
        _fixedBase64Binary:
          description: Extensions for fixedBase64Binary
          $ref: '#/components/schemas/Element'
        fixedBoolean:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^true|false$
          type: boolean
        _fixedBoolean:
          description: Extensions for fixedBoolean
          $ref: '#/components/schemas/Element'
        fixedCanonical:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^\S*$
          type: string
        _fixedCanonical:
          description: Extensions for fixedCanonical
          $ref: '#/components/schemas/Element'
        fixedCode:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^[^\s]+( [^\s]+)*$
          type: string
        _fixedCode:
          description: Extensions for fixedCode
          $ref: '#/components/schemas/Element'
        fixedDate:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _fixedDate:
          description: Extensions for fixedDate
          $ref: '#/components/schemas/Element'
        fixedDateTime:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _fixedDateTime:
          description: Extensions for fixedDateTime
          $ref: '#/components/schemas/Element'
        fixedDecimal:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _fixedDecimal:
          description: Extensions for fixedDecimal
          $ref: '#/components/schemas/Element'
        fixedId:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^[A-Za-z0-9\-\.]{1,64}$
          type: string
        _fixedId:
          description: Extensions for fixedId
          $ref: '#/components/schemas/Element'
        fixedInstant:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$
          type: string
        _fixedInstant:
          description: Extensions for fixedInstant
          $ref: '#/components/schemas/Element'
        fixedInteger:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _fixedInteger:
          description: Extensions for fixedInteger
          $ref: '#/components/schemas/Element'
        fixedInteger64:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: string
        _fixedInteger64:
          description: Extensions for fixedInteger64
          $ref: '#/components/schemas/Element'
        fixedMarkdown:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^^[\s\S]+$$
          type: string
        _fixedMarkdown:
          description: Extensions for fixedMarkdown
          $ref: '#/components/schemas/Element'
        fixedOid:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^urn:oid:[0-2](\.(0|[1-9][0-9]*))+$
          type: string
        _fixedOid:
          description: Extensions for fixedOid
          $ref: '#/components/schemas/Element'
        fixedPositiveInt:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^[1-9][0-9]*$
          type: number
        _fixedPositiveInt:
          description: Extensions for fixedPositiveInt
          $ref: '#/components/schemas/Element'
        fixedString:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^^[\s\S]+$$
          type: string
        _fixedString:
          description: Extensions for fixedString
          $ref: '#/components/schemas/Element'
        fixedTime:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _fixedTime:
          description: Extensions for fixedTime
          $ref: '#/components/schemas/Element'
        fixedUnsignedInt:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^[0]|([1-9][0-9]*)$
          type: number
        _fixedUnsignedInt:
          description: Extensions for fixedUnsignedInt
          $ref: '#/components/schemas/Element'
        fixedUri:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^\S*$
          type: string
        _fixedUri:
          description: Extensions for fixedUri
          $ref: '#/components/schemas/Element'
        fixedUrl:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^\S*$
          type: string
        _fixedUrl:
          description: Extensions for fixedUrl
          $ref: '#/components/schemas/Element'
        fixedUuid:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          pattern: ^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          type: string
        _fixedUuid:
          description: Extensions for fixedUuid
          $ref: '#/components/schemas/Element'
        fixedAddress:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Address'
        fixedAge:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Age'
        fixedAnnotation:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Annotation'
        fixedAttachment:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Attachment'
        fixedCodeableConcept:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/CodeableConcept'
        fixedCodeableReference:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/CodeableReference'
        fixedCoding:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Coding'
        fixedContactPoint:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/ContactPoint'
        fixedCount:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Count'
        fixedDistance:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Distance'
        fixedDuration:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Duration'
        fixedHumanName:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/HumanName'
        fixedIdentifier:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Identifier'
        fixedMoney:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Money'
        fixedPeriod:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Period'
        fixedQuantity:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Quantity'
        fixedRange:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Range'
        fixedRatio:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Ratio'
        fixedRatioRange:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/RatioRange'
        fixedReference:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Reference'
        fixedSampledData:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/SampledData'
        fixedSignature:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Signature'
        fixedTiming:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Timing'
        fixedContactDetail:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/ContactDetail'
        fixedDataRequirement:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/DataRequirement'
        fixedExpression:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Expression'
        fixedParameterDefinition:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/ParameterDefinition'
        fixedRelatedArtifact:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/RelatedArtifact'
        fixedTriggerDefinition:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/TriggerDefinition'
        fixedUsageContext:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/UsageContext'
        fixedAvailability:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Availability'
        fixedExtendedContactDetail:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/ExtendedContactDetail'
        fixedDosage:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Dosage'
        fixedMeta:
          description: Specifies a value that SHALL be exactly the value  for this element
            in the instance, if present. For purposes of comparison, non-significant
            whitespace is ignored, and all values must be an exact match (case and accent
            sensitive). Missing elements/attributes must also be missing.
          $ref: '#/components/schemas/Meta'
        patternBase64Binary:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
          type: string
        _patternBase64Binary:
          description: Extensions for patternBase64Binary
          $ref: '#/components/schemas/Element'
        patternBoolean:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^true|false$
          type: boolean
        _patternBoolean:
          description: Extensions for patternBoolean
          $ref: '#/components/schemas/Element'
        patternCanonical:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^\S*$
          type: string
        _patternCanonical:
          description: Extensions for patternCanonical
          $ref: '#/components/schemas/Element'
        patternCode:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^[^\s]+( [^\s]+)*$
          type: string
        _patternCode:
          description: Extensions for patternCode
          $ref: '#/components/schemas/Element'
        patternDate:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _patternDate:
          description: Extensions for patternDate
          $ref: '#/components/schemas/Element'
        patternDateTime:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _patternDateTime:
          description: Extensions for patternDateTime
          $ref: '#/components/schemas/Element'
        patternDecimal:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _patternDecimal:
          description: Extensions for patternDecimal
          $ref: '#/components/schemas/Element'
        patternId:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^[A-Za-z0-9\-\.]{1,64}$
          type: string
        _patternId:
          description: Extensions for patternId
          $ref: '#/components/schemas/Element'
        patternInstant:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$
          type: string
        _patternInstant:
          description: Extensions for patternInstant
          $ref: '#/components/schemas/Element'
        patternInteger:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _patternInteger:
          description: Extensions for patternInteger
          $ref: '#/components/schemas/Element'
        patternInteger64:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: string
        _patternInteger64:
          description: Extensions for patternInteger64
          $ref: '#/components/schemas/Element'
        patternMarkdown:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^^[\s\S]+$$
          type: string
        _patternMarkdown:
          description: Extensions for patternMarkdown
          $ref: '#/components/schemas/Element'
        patternOid:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^urn:oid:[0-2](\.(0|[1-9][0-9]*))+$
          type: string
        _patternOid:
          description: Extensions for patternOid
          $ref: '#/components/schemas/Element'
        patternPositiveInt:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^[1-9][0-9]*$
          type: number
        _patternPositiveInt:
          description: Extensions for patternPositiveInt
          $ref: '#/components/schemas/Element'
        patternString:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^^[\s\S]+$$
          type: string
        _patternString:
          description: Extensions for patternString
          $ref: '#/components/schemas/Element'
        patternTime:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _patternTime:
          description: Extensions for patternTime
          $ref: '#/components/schemas/Element'
        patternUnsignedInt:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^[0]|([1-9][0-9]*)$
          type: number
        _patternUnsignedInt:
          description: Extensions for patternUnsignedInt
          $ref: '#/components/schemas/Element'
        patternUri:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^\S*$
          type: string
        _patternUri:
          description: Extensions for patternUri
          $ref: '#/components/schemas/Element'
        patternUrl:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^\S*$
          type: string
        _patternUrl:
          description: Extensions for patternUrl
          $ref: '#/components/schemas/Element'
        patternUuid:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          pattern: ^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          type: string
        _patternUuid:
          description: Extensions for patternUuid
          $ref: '#/components/schemas/Element'
        patternAddress:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Address'
        patternAge:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Age'
        patternAnnotation:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Annotation'
        patternAttachment:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Attachment'
        patternCodeableConcept:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/CodeableConcept'
        patternCodeableReference:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/CodeableReference'
        patternCoding:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Coding'
        patternContactPoint:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/ContactPoint'
        patternCount:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Count'
        patternDistance:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Distance'
        patternDuration:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Duration'
        patternHumanName:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/HumanName'
        patternIdentifier:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Identifier'
        patternMoney:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Money'
        patternPeriod:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Period'
        patternQuantity:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Quantity'
        patternRange:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Range'
        patternRatio:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Ratio'
        patternRatioRange:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/RatioRange'
        patternReference:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Reference'
        patternSampledData:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/SampledData'
        patternSignature:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Signature'
        patternTiming:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Timing'
        patternContactDetail:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/ContactDetail'
        patternDataRequirement:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/DataRequirement'
        patternExpression:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Expression'
        patternParameterDefinition:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/ParameterDefinition'
        patternRelatedArtifact:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/RelatedArtifact'
        patternTriggerDefinition:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/TriggerDefinition'
        patternUsageContext:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/UsageContext'
        patternAvailability:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Availability'
        patternExtendedContactDetail:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/ExtendedContactDetail'
        patternDosage:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Dosage'
        patternMeta:
          description: "Specifies a value that each occurrence of the element in the\
            \ instance SHALL follow - that is, any value in the pattern must be found\
            \ in the instance, if the element has a value. Other additional values may\
            \ be found too. This is effectively constraint by example.  \n\nWhen pattern[x]\
            \ is used to constrain a primitive, it means that the value provided in\
            \ the pattern[x] must match the instance value exactly.\n\nWhen an element\
            \ within a pattern[x] is used to constrain an array, it means that each\
            \ element provided in the pattern[x] must (recursively) match at least one\
            \ element from the instance array.\n\nWhen pattern[x] is used to constrain\
            \ a complex object, it means that each property in the pattern must be present\
            \ in the complex object, and its value must recursively match -- i.e.,\n\
            \n1. If primitive: it must match exactly the pattern value\n2. If a complex\
            \ object: it must match (recursively) the pattern value\n3. If an array:\
            \ it must match (recursively) the pattern value\n\nIf a pattern[x] is declared\
            \ on a repeating element, the pattern applies to all repetitions.  If the\
            \ desire is for a pattern to apply to only one element or a subset of elements,\
            \ slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples)\
            \ for examples of pattern usage and the effect it will have."
          $ref: '#/components/schemas/Meta'
        example:
          description: A sample value for this element demonstrating the type of information
            that would typically be found in the element.
          items:
            $ref: '#/components/schemas/ElementDefinition_Example'
          type: array
        minValueDate:
          description: The minimum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _minValueDate:
          description: Extensions for minValueDate
          $ref: '#/components/schemas/Element'
        minValueDateTime:
          description: The minimum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _minValueDateTime:
          description: Extensions for minValueDateTime
          $ref: '#/components/schemas/Element'
        minValueInstant:
          description: The minimum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$
          type: string
        _minValueInstant:
          description: Extensions for minValueInstant
          $ref: '#/components/schemas/Element'
        minValueTime:
          description: The minimum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _minValueTime:
          description: Extensions for minValueTime
          $ref: '#/components/schemas/Element'
        minValueDecimal:
          description: The minimum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _minValueDecimal:
          description: Extensions for minValueDecimal
          $ref: '#/components/schemas/Element'
        minValueInteger:
          description: The minimum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _minValueInteger:
          description: Extensions for minValueInteger
          $ref: '#/components/schemas/Element'
        minValueInteger64:
          description: The minimum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: string
        _minValueInteger64:
          description: Extensions for minValueInteger64
          $ref: '#/components/schemas/Element'
        minValuePositiveInt:
          description: The minimum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^[1-9][0-9]*$
          type: number
        _minValuePositiveInt:
          description: Extensions for minValuePositiveInt
          $ref: '#/components/schemas/Element'
        minValueUnsignedInt:
          description: The minimum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^[0]|([1-9][0-9]*)$
          type: number
        _minValueUnsignedInt:
          description: Extensions for minValueUnsignedInt
          $ref: '#/components/schemas/Element'
        minValueQuantity:
          description: The minimum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          $ref: '#/components/schemas/Quantity'
        maxValueDate:
          description: The maximum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _maxValueDate:
          description: Extensions for maxValueDate
          $ref: '#/components/schemas/Element'
        maxValueDateTime:
          description: The maximum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _maxValueDateTime:
          description: Extensions for maxValueDateTime
          $ref: '#/components/schemas/Element'
        maxValueInstant:
          description: The maximum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$
          type: string
        _maxValueInstant:
          description: Extensions for maxValueInstant
          $ref: '#/components/schemas/Element'
        maxValueTime:
          description: The maximum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _maxValueTime:
          description: Extensions for maxValueTime
          $ref: '#/components/schemas/Element'
        maxValueDecimal:
          description: The maximum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _maxValueDecimal:
          description: Extensions for maxValueDecimal
          $ref: '#/components/schemas/Element'
        maxValueInteger:
          description: The maximum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _maxValueInteger:
          description: Extensions for maxValueInteger
          $ref: '#/components/schemas/Element'
        maxValueInteger64:
          description: The maximum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: string
        _maxValueInteger64:
          description: Extensions for maxValueInteger64
          $ref: '#/components/schemas/Element'
        maxValuePositiveInt:
          description: The maximum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^[1-9][0-9]*$
          type: number
        _maxValuePositiveInt:
          description: Extensions for maxValuePositiveInt
          $ref: '#/components/schemas/Element'
        maxValueUnsignedInt:
          description: The maximum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          pattern: ^[0]|([1-9][0-9]*)$
          type: number
        _maxValueUnsignedInt:
          description: Extensions for maxValueUnsignedInt
          $ref: '#/components/schemas/Element'
        maxValueQuantity:
          description: The maximum allowed value for the element. The value is inclusive.
            This is allowed for the types date, dateTime, instant, time, decimal, integer,
            and Quantity.
          $ref: '#/components/schemas/Quantity'
        maxLength:
          description: Indicates the maximum length in characters that is permitted
            to be present in conformant instances and which is expected to be supported
            by conformant consumers that support the element. ```maxLength``` SHOULD
            only be used on primitive data types that have a string representation (see
            [[[http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics]]]).
          $ref: '#/components/schemas/integer'
        _maxLength:
          description: Extensions for maxLength
          $ref: '#/components/schemas/Element'
        condition:
          description: A reference to an invariant that may make additional statements
            about the cardinality or value in the instance.
          items:
            $ref: '#/components/schemas/id'
          type: array
        _condition:
          description: Extensions for condition
          items:
            $ref: '#/components/schemas/Element'
          type: array
        constraint:
          description: Formal constraints such as co-occurrence and other constraints
            that can be computationally evaluated within the context of the instance.
          items:
            $ref: '#/components/schemas/ElementDefinition_Constraint'
          type: array
        mustHaveValue:
          description: Specifies for a primitive data type that the value of the data
            type cannot be replaced by an extension.
          $ref: '#/components/schemas/boolean'
        _mustHaveValue:
          description: Extensions for mustHaveValue
          $ref: '#/components/schemas/Element'
        valueAlternatives:
          description: Specifies a list of extensions that can appear in place of a
            primitive value.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        mustSupport:
          description: If true, implementations that produce or consume resources SHALL
            provide "support" for the element in some meaningful way. Note that this
            is being phased out and replaced by obligations (see below).  If false,
            the element may be ignored and not supported. If false, whether to populate
            or use the data element in any way is at the discretion of the implementation.
          $ref: '#/components/schemas/boolean'
        _mustSupport:
          description: Extensions for mustSupport
          $ref: '#/components/schemas/Element'
        isModifier:
          description: 'If true, the value of this element affects the interpretation
            of the element or resource that contains it, and the value of the element
            cannot be ignored. Typically, this is used for status, negation and qualification
            codes. The effect of this is that the element cannot be ignored by systems:
            they SHALL either recognize the element and process it, and/or a pre-determination
            has been made that it is not relevant to their particular system. When used
            on the root element in an extension definition, this indicates whether or
            not the extension is a modifier extension.'
          $ref: '#/components/schemas/boolean'
        _isModifier:
          description: Extensions for isModifier
          $ref: '#/components/schemas/Element'
        isModifierReason:
          description: Explains how that element affects the interpretation of the resource
            or element that contains it.
          $ref: '#/components/schemas/string'
        _isModifierReason:
          description: Extensions for isModifierReason
          $ref: '#/components/schemas/Element'
        isSummary:
          description: Whether the element should be included if a client requests a
            search with the parameter _summary=true.
          $ref: '#/components/schemas/boolean'
        _isSummary:
          description: Extensions for isSummary
          $ref: '#/components/schemas/Element'
        binding:
          description: Binds to a value set if this element is coded (code, Coding,
            CodeableConcept, Quantity), or the data types (string, uri).
          $ref: '#/components/schemas/ElementDefinition_Binding'
        mapping:
          description: Identifies a concept from an external specification that roughly
            corresponds to this element.
          items:
            $ref: '#/components/schemas/ElementDefinition_Mapping'
          type: array
      type: object
      additionalProperties: false
    ElementDefinition_Slicing:
      description: Captures constraints on each element within the resource, profile,
        or extension.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        discriminator:
          description: Designates which child elements are used to discriminate between
            the slices when processing an instance. If one or more discriminators are
            provided, the value of the child elements in the instance data SHALL completely
            distinguish which slice the element in the resource matches based on the
            allowed values for those elements in each of the slices.
          items:
            $ref: '#/components/schemas/ElementDefinition_Discriminator'
          type: array
        description:
          description: A human-readable text description of how the slicing works. If
            there is no discriminator, this is required to be present to provide whatever
            information is possible about how the slices can be differentiated.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        ordered:
          description: If the matching elements have to occur in the same order as defined
            in the profile.
          $ref: '#/components/schemas/boolean'
        _ordered:
          description: Extensions for ordered
          $ref: '#/components/schemas/Element'
        rules:
          description: Whether additional slices are allowed or not. When the slices
            are ordered, profile authors can also say that additional slices are only
            allowed at the end.
          enum:
          - closed
          - open
          - openAtEnd
        _rules:
          description: Extensions for rules
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ElementDefinition_Discriminator:
      description: Captures constraints on each element within the resource, profile,
        or extension.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: How the element value is interpreted when discrimination is evaluated.
          enum:
          - value
          - exists
          - pattern
          - type
          - profile
          - position
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        path:
          description: A FHIRPath expression, using [the simple subset of FHIRPath](fhirpath.html#simple),
            that is used to identify the element on which discrimination is based.
          $ref: '#/components/schemas/string'
        _path:
          description: Extensions for path
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ElementDefinition_Base:
      description: Captures constraints on each element within the resource, profile,
        or extension.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        path:
          description: The Path that identifies the base element - this matches the
            ElementDefinition.path for that element. Across FHIR, there is only one
            base definition of any element - that is, an element definition on a [[[StructureDefinition]]]
            without a StructureDefinition.base.
          $ref: '#/components/schemas/string'
        _path:
          description: Extensions for path
          $ref: '#/components/schemas/Element'
        min:
          description: Minimum cardinality of the base element identified by the path.
          $ref: '#/components/schemas/unsignedInt'
        _min:
          description: Extensions for min
          $ref: '#/components/schemas/Element'
        max:
          description: Maximum cardinality of the base element identified by the path.
          $ref: '#/components/schemas/string'
        _max:
          description: Extensions for max
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ElementDefinition_Type:
      description: Captures constraints on each element within the resource, profile,
        or extension.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: URL of Data type or Resource that is a(or the) type used for
            this element. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition
            e.g. "string" is a reference to http://hl7.org/fhir/StructureDefinition/string.
            Absolute URLs are only allowed in logical models.
          $ref: '#/components/schemas/uri'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        profile:
          description: Identifies a profile structure or implementation Guide that applies
            to the datatype this element refers to. If any profiles are specified, then
            the content must conform to at least one of them. The URL can be a local
            reference - to a contained StructureDefinition, or a reference to another
            StructureDefinition or Implementation Guide by a canonical URL. When an
            implementation guide is specified, the type SHALL conform to at least one
            profile defined in the implementation guide.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        targetProfile:
          description: Used when the type is "Reference" or "canonical", and identifies
            a profile structure or implementation Guide that applies to the target of
            the reference this element refers to. If any profiles are specified, then
            the content must conform to at least one of them. The URL can be a local
            reference - to a contained StructureDefinition, or a reference to another
            StructureDefinition or Implementation Guide by a canonical URL. When an
            implementation guide is specified, the target resource SHALL conform to
            at least one profile defined in the implementation guide.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        aggregation:
          description: If the type is a reference to another resource, how the resource
            is or can be aggregated - is it a contained resource, or a reference, and
            if the context is a bundle, is it included in the bundle.
          items:
            enum:
            - contained
            - referenced
            - bundled
          type: array
        _aggregation:
          description: Extensions for aggregation
          items:
            $ref: '#/components/schemas/Element'
          type: array
        versioning:
          description: Whether this reference needs to be version specific or version
            independent, or whether either can be used.
          enum:
          - either
          - independent
          - specific
        _versioning:
          description: Extensions for versioning
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ElementDefinition_Example:
      description: Captures constraints on each element within the resource, profile,
        or extension.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        label:
          description: Describes the purpose of this example among the set of examples.
          $ref: '#/components/schemas/string'
        _label:
          description: Extensions for label
          $ref: '#/components/schemas/Element'
        valueBase64Binary:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
          type: string
        _valueBase64Binary:
          description: Extensions for valueBase64Binary
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueCanonical:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^\S*$
          type: string
        _valueCanonical:
          description: Extensions for valueCanonical
          $ref: '#/components/schemas/Element'
        valueCode:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^[^\s]+( [^\s]+)*$
          type: string
        _valueCode:
          description: Extensions for valueCode
          $ref: '#/components/schemas/Element'
        valueDate:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
        valueId:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^[A-Za-z0-9\-\.]{1,64}$
          type: string
        _valueId:
          description: Extensions for valueId
          $ref: '#/components/schemas/Element'
        valueInstant:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$
          type: string
        _valueInstant:
          description: Extensions for valueInstant
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueInteger64:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: string
        _valueInteger64:
          description: Extensions for valueInteger64
          $ref: '#/components/schemas/Element'
        valueMarkdown:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^^[\s\S]+$$
          type: string
        _valueMarkdown:
          description: Extensions for valueMarkdown
          $ref: '#/components/schemas/Element'
        valueOid:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^urn:oid:[0-2](\.(0|[1-9][0-9]*))+$
          type: string
        _valueOid:
          description: Extensions for valueOid
          $ref: '#/components/schemas/Element'
        valuePositiveInt:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^[1-9][0-9]*$
          type: number
        _valuePositiveInt:
          description: Extensions for valuePositiveInt
          $ref: '#/components/schemas/Element'
        valueString:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueTime:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _valueTime:
          description: Extensions for valueTime
          $ref: '#/components/schemas/Element'
        valueUnsignedInt:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^[0]|([1-9][0-9]*)$
          type: number
        _valueUnsignedInt:
          description: Extensions for valueUnsignedInt
          $ref: '#/components/schemas/Element'
        valueUri:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^\S*$
          type: string
        _valueUri:
          description: Extensions for valueUri
          $ref: '#/components/schemas/Element'
        valueUrl:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^\S*$
          type: string
        _valueUrl:
          description: Extensions for valueUrl
          $ref: '#/components/schemas/Element'
        valueUuid:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          pattern: ^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          type: string
        _valueUuid:
          description: Extensions for valueUuid
          $ref: '#/components/schemas/Element'
        valueAddress:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Address'
        valueAge:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Age'
        valueAnnotation:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Annotation'
        valueAttachment:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Attachment'
        valueCodeableConcept:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableReference:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/CodeableReference'
        valueCoding:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Coding'
        valueContactPoint:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/ContactPoint'
        valueCount:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Count'
        valueDistance:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Distance'
        valueDuration:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Duration'
        valueHumanName:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/HumanName'
        valueIdentifier:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Identifier'
        valueMoney:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Money'
        valuePeriod:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Period'
        valueQuantity:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Range'
        valueRatio:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Ratio'
        valueRatioRange:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/RatioRange'
        valueReference:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Reference'
        valueSampledData:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/SampledData'
        valueSignature:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Signature'
        valueTiming:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Timing'
        valueContactDetail:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/ContactDetail'
        valueDataRequirement:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/DataRequirement'
        valueExpression:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Expression'
        valueParameterDefinition:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/ParameterDefinition'
        valueRelatedArtifact:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/RelatedArtifact'
        valueTriggerDefinition:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/TriggerDefinition'
        valueUsageContext:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/UsageContext'
        valueAvailability:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Availability'
        valueExtendedContactDetail:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/ExtendedContactDetail'
        valueDosage:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Dosage'
        valueMeta:
          description: The actual value for the element, which must be one of the types
            allowed for this element.
          $ref: '#/components/schemas/Meta'
      type: object
      additionalProperties: false
    ElementDefinition_Constraint:
      description: Captures constraints on each element within the resource, profile,
        or extension.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        key:
          description: Allows identification of which elements have their cardinalities
            impacted by the constraint.  Will not be referenced for constraints that
            do not affect cardinality.
          $ref: '#/components/schemas/id'
        _key:
          description: Extensions for key
          $ref: '#/components/schemas/Element'
        requirements:
          description: Description of why this constraint is necessary or appropriate.
          $ref: '#/components/schemas/markdown'
        _requirements:
          description: Extensions for requirements
          $ref: '#/components/schemas/Element'
        severity:
          description: Identifies the impact constraint violation has on the conformance
            of the instance.
          enum:
          - error
          - warning
        _severity:
          description: Extensions for severity
          $ref: '#/components/schemas/Element'
        suppress:
          description: If true, indicates that the warning or best practice guideline
            should be suppressed.
          $ref: '#/components/schemas/boolean'
        _suppress:
          description: Extensions for suppress
          $ref: '#/components/schemas/Element'
        human:
          description: Text that can be used to describe the constraint in messages
            identifying that the constraint has been violated.
          $ref: '#/components/schemas/string'
        _human:
          description: Extensions for human
          $ref: '#/components/schemas/Element'
        expression:
          description: A [FHIRPath](fhirpath.html) expression of constraint that can
            be executed to see if this constraint is met.
          $ref: '#/components/schemas/string'
        _expression:
          description: Extensions for expression
          $ref: '#/components/schemas/Element'
        source:
          description: A reference to the original source of the constraint, for traceability
            purposes.
          $ref: '#/components/schemas/canonical'
      type: object
      additionalProperties: false
    ElementDefinition_Binding:
      description: Captures constraints on each element within the resource, profile,
        or extension.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        strength:
          description: Indicates the degree of conformance expectations associated with
            this binding - that is, the degree to which the provided value set must
            be adhered to in the instances.
          enum:
          - required
          - extensible
          - preferred
          - example
        _strength:
          description: Extensions for strength
          $ref: '#/components/schemas/Element'
        description:
          description: Describes the intended use of this particular set of codes.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        valueSet:
          description: Refers to the value set that identifies the set of codes the
            binding refers to.
          $ref: '#/components/schemas/canonical'
        additional:
          description: Additional bindings that help applications implementing this
            element. Additional bindings do not replace the main binding but provide
            more information and/or context.
          items:
            $ref: '#/components/schemas/ElementDefinition_Additional'
          type: array
      type: object
      additionalProperties: false
    ElementDefinition_Additional:
      description: Captures constraints on each element within the resource, profile,
        or extension.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        purpose:
          description: The use of this additional binding.
          $ref: '#/components/schemas/code'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        valueSet:
          description: The valueSet that is being bound for the purpose.
          $ref: '#/components/schemas/canonical'
        documentation:
          description: Documentation of the purpose of use of the bindingproviding additional
            information about how it is intended to be used.
          $ref: '#/components/schemas/markdown'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
        shortDoco:
          description: Concise documentation - for summary tables.
          $ref: '#/components/schemas/string'
        _shortDoco:
          description: Extensions for shortDoco
          $ref: '#/components/schemas/Element'
        usage:
          description: Qualifies the usage of the binding. Typically bindings are qualified
            by jurisdiction, but they may also be qualified by gender, workflow status,
            clinical domain etc. The information to decide whether a usege context applies
            is usually outside the resource, determined by context, and this might present
            challenges for validation tooling.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        any:
          description: Whether the binding applies to all repeats, or just to any one
            of them. This is only relevant for elements that can repeat.
          $ref: '#/components/schemas/boolean'
        _any:
          description: Extensions for any
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - valueSet
    ElementDefinition_Mapping:
      description: Captures constraints on each element within the resource, profile,
        or extension.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identity:
          description: An internal reference to the definition of a mapping.
          $ref: '#/components/schemas/id'
        _identity:
          description: Extensions for identity
          $ref: '#/components/schemas/Element'
        language:
          description: Identifies the computable language in which mapping.map is expressed.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        map:
          description: Expresses what part of the target specification corresponds to
            this element.
          $ref: '#/components/schemas/string'
        _map:
          description: Extensions for map
          $ref: '#/components/schemas/Element'
        comment:
          description: Comments that provide information about the mapping or its use.
          $ref: '#/components/schemas/markdown'
        _comment:
          description: Extensions for comment
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Account:
      description: A financial tool for tracking value accrued for a particular purpose.  In
        the healthcare field, used to track charges for a patient, cost centers, etc.
      properties:
        resourceType:
          description: This is a Account resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Unique identifier used to reference the account.  Might or might
            not be intended for human use (e.g. credit card number).
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: Indicates whether the account is presently used/usable or not.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        billingStatus:
          description: The BillingStatus tracks the lifecycle of the account through
            the billing process. It indicates how transactions are treated when they
            are allocated to the account.
          $ref: '#/components/schemas/CodeableConcept'
        type:
          description: Categorizes the account for reporting and searching purposes.
          $ref: '#/components/schemas/CodeableConcept'
        name:
          description: Name used for the account when displaying it to humans in reports,
            etc.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        subject:
          description: Identifies the entity which incurs the expenses. While the immediate
            recipients of services or goods might be entities related to the subject,
            the expenses were ultimately incurred by the subject of the Account.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        servicePeriod:
          description: The date range of services associated with this account.
          $ref: '#/components/schemas/Period'
        covers:
          description: An account that collects the charges for a specific set of services
            offered over a limited time period.  For example, a hospital account might
            contain all charges related to a given admission, including any inpatient
            appointments, and possibly re-admissions, of the billing for those re-admissions
            should be grouped with the initial admission for the purpose of claim submission.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        coverage:
          description: The party(s) that are responsible for covering the payment of
            this account, and what order should they be applied to the account.
          items:
            $ref: '#/components/schemas/Account_Coverage'
          type: array
        owner:
          description: Indicates the service area, hospital, department, etc. with responsibility
            for managing the Account.
          $ref: '#/components/schemas/Reference'
        description:
          description: Provides additional information about what the account tracks
            and how it is used.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        guarantor:
          description: The parties responsible for balancing the account if other payment
            options fall short.
          items:
            $ref: '#/components/schemas/Account_Guarantor'
          type: array
        diagnosis:
          description: When using an account for billing a specific Encounter the set
            of diagnoses that are relevant for billing are stored here on the account
            where they are able to be sequenced appropriately prior to processing to
            produce claim(s).
          items:
            $ref: '#/components/schemas/Account_Diagnosis'
          type: array
        procedure:
          description: When using an account for billing a specific Encounter the set
            of procedures that are relevant for billing are stored here on the account
            where they are able to be sequenced appropriately prior to processing to
            produce claim(s).
          items:
            $ref: '#/components/schemas/Account_Procedure'
          type: array
        relatedAccount:
          description: Other associated accounts related to this account.
          items:
            $ref: '#/components/schemas/Account_RelatedAccount'
          type: array
        currency:
          description: The default currency for the account.
          $ref: '#/components/schemas/CodeableConcept'
        balance:
          description: "The calculated account balances - these are calculated and processed\
            \ by the finance system.\r\rThe balances with a `term` that is not current\
            \ are usually generated/updated by an invoicing or similar process."
          items:
            $ref: '#/components/schemas/Account_Balance'
          type: array
        calculatedAt:
          description: Time the balance amount was calculated.
          $ref: '#/components/schemas/instant'
        _calculatedAt:
          description: Extensions for calculatedAt
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - resourceType
    Account_Coverage:
      description: A financial tool for tracking value accrued for a particular purpose.  In
        the healthcare field, used to track charges for a patient, cost centers, etc.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        coverage:
          description: 'The party(s) that contribute to payment (or part of) of the
            charges applied to this account (including self-pay).


            A coverage may only be responsible for specific types of charges, and the
            sequence of the coverages in the account could be important when processing
            billing.'
          $ref: '#/components/schemas/Reference'
        priority:
          description: The priority of the coverage in the context of this account.
          $ref: '#/components/schemas/positiveInt'
        _priority:
          description: Extensions for priority
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - coverage
    Account_Guarantor:
      description: A financial tool for tracking value accrued for a particular purpose.  In
        the healthcare field, used to track charges for a patient, cost centers, etc.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        party:
          description: The entity who is responsible.
          $ref: '#/components/schemas/Reference'
        onHold:
          description: A guarantor may be placed on credit hold or otherwise have their
            role temporarily suspended.
          $ref: '#/components/schemas/boolean'
        _onHold:
          description: Extensions for onHold
          $ref: '#/components/schemas/Element'
        period:
          description: The timeframe during which the guarantor accepts responsibility
            for the account.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - party
    Account_Diagnosis:
      description: A financial tool for tracking value accrued for a particular purpose.  In
        the healthcare field, used to track charges for a patient, cost centers, etc.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: Ranking of the diagnosis (for each type).
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        condition:
          description: The diagnosis relevant to the account.
          $ref: '#/components/schemas/CodeableReference'
        dateOfDiagnosis:
          description: Ranking of the diagnosis (for each type).
          $ref: '#/components/schemas/dateTime'
        _dateOfDiagnosis:
          description: Extensions for dateOfDiagnosis
          $ref: '#/components/schemas/Element'
        type:
          description: Type that this diagnosis has relevant to the account (e.g. admission,
            billing, discharge …).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        onAdmission:
          description: Was the Diagnosis present on Admission in the related Encounter.
          $ref: '#/components/schemas/boolean'
        _onAdmission:
          description: Extensions for onAdmission
          $ref: '#/components/schemas/Element'
        packageCode:
          description: The package code can be used to group diagnoses that may be priced
            or delivered as a single product. Such as DRGs.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
      required:
      - condition
    Account_Procedure:
      description: A financial tool for tracking value accrued for a particular purpose.  In
        the healthcare field, used to track charges for a patient, cost centers, etc.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: Ranking of the procedure (for each type).
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        code:
          description: The procedure relevant to the account.
          $ref: '#/components/schemas/CodeableReference'
        dateOfService:
          description: Date of the procedure when using a coded procedure. If using
            a reference to a procedure, then the date on the procedure should be used.
          $ref: '#/components/schemas/dateTime'
        _dateOfService:
          description: Extensions for dateOfService
          $ref: '#/components/schemas/Element'
        type:
          description: How this procedure value should be used in charging the account.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        packageCode:
          description: The package code can be used to group procedures that may be
            priced or delivered as a single product. Such as DRGs.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        device:
          description: Any devices that were associated with the procedure relevant
            to the account.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
    Account_RelatedAccount:
      description: A financial tool for tracking value accrued for a particular purpose.  In
        the healthcare field, used to track charges for a patient, cost centers, etc.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        relationship:
          description: Relationship of the associated Account.
          $ref: '#/components/schemas/CodeableConcept'
        account:
          description: Reference to an associated Account.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - account
    Account_Balance:
      description: A financial tool for tracking value accrued for a particular purpose.  In
        the healthcare field, used to track charges for a patient, cost centers, etc.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        aggregate:
          description: Who is expected to pay this part of the balance.
          $ref: '#/components/schemas/CodeableConcept'
        term:
          description: The term of the account balances - The balance value is the amount
            that was outstanding for this age.
          $ref: '#/components/schemas/CodeableConcept'
        estimate:
          description: The amount is only an estimated value - this is likely common
            for `current` term balances, but not with known terms (that were generated
            by a backend process).
          $ref: '#/components/schemas/boolean'
        _estimate:
          description: Extensions for estimate
          $ref: '#/components/schemas/Element'
        amount:
          description: The actual balance value calculated for the age defined in the
            term property.
          $ref: '#/components/schemas/Money'
      type: object
      additionalProperties: false
      required:
      - amount
    ActivityDefinition:
      description: This resource allows for the definition of some activity to be performed,
        independent of a particular patient, practitioner, or other performance context.
      properties:
        resourceType:
          description: This is a ActivityDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this activity definition
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this activity
            definition is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the activity definition is stored
            on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this activity definition
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the activity
            definition when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the activity definition author and
            is not expected to be globally unique. For example, it might be a timestamp
            (e.g. yyyymmdd) if a managed version is not available. There is also no
            expectation that versions can be placed in a lexicographical sequence. To
            provide a version consistent with the Decision Support Service specification,
            use the format Major.Minor.Revision (e.g. 1.0.0). For more information on
            versioning knowledge assets, refer to the Decision Support Service specification.
            Note that a version is required for non-experimental active assets.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the activity definition.
            This name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the activity definition.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this activity definition. Enables tracking the
            life-cycle of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this activity definition is
            authored for testing purposes (or education/evaluation/marketing) and is
            not intended to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the activity definition
            was last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the activity definition changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the activity definition.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the activity definition
            from a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            activity definition instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the activity definition
            is intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this activity definition is needed and why
            it has been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the activity definition and/or
            its contents. Copyright statements are generally legal restrictions on the
            use and publishing of the activity definition.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the activity definition content was or
            is planned to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptive topics related to the content of the activity. Topics
            provide a high-level categorization of the activity that can be useful for
            filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual or organization primarily involved in the creation
            and maintenance of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individual or organization primarily responsible for internal
            coherence of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individual or organization asserted by the publisher to be
            primarily responsible for review of some aspect of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individual or organization asserted by the publisher to be
            responsible for officially endorsing the content for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Related artifacts such as additional documentation, justification,
            or bibliographic references.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        subtitle:
          description: An explanatory or alternate title for the activity definition
            giving additional information about its content.
          $ref: '#/components/schemas/string'
        _subtitle:
          description: Extensions for subtitle
          $ref: '#/components/schemas/Element'
        subjectCodeableConcept:
          description: A code, group definition, or canonical reference that describes  or
            identifies the intended subject of the activity being defined.  Canonical
            references are allowed to support the definition of protocols for drug and
            substance quality specifications, and is allowed to reference a MedicinalProductDefinition,
            SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition,
            or PackagedProductDefinition resource.
          $ref: '#/components/schemas/CodeableConcept'
        subjectReference:
          description: A code, group definition, or canonical reference that describes  or
            identifies the intended subject of the activity being defined.  Canonical
            references are allowed to support the definition of protocols for drug and
            substance quality specifications, and is allowed to reference a MedicinalProductDefinition,
            SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition,
            or PackagedProductDefinition resource.
          $ref: '#/components/schemas/Reference'
        subjectCanonical:
          description: A code, group definition, or canonical reference that describes  or
            identifies the intended subject of the activity being defined.  Canonical
            references are allowed to support the definition of protocols for drug and
            substance quality specifications, and is allowed to reference a MedicinalProductDefinition,
            SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition,
            or PackagedProductDefinition resource.
          pattern: ^\S*$
          type: string
        _subjectCanonical:
          description: Extensions for subjectCanonical
          $ref: '#/components/schemas/Element'
        usage:
          description: A detailed description of how the activity definition is used
            from a clinical perspective.
          $ref: '#/components/schemas/markdown'
        _usage:
          description: Extensions for usage
          $ref: '#/components/schemas/Element'
        library:
          description: A reference to a Library resource containing any formal logic
            used by the activity definition.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        kind:
          description: A description of the kind of resource the activity definition
            is representing. For example, a MedicationRequest, a ServiceRequest, or
            a CommunicationRequest.
          $ref: '#/components/schemas/code'
        _kind:
          description: Extensions for kind
          $ref: '#/components/schemas/Element'
        profile:
          description: A profile to which the target of the activity definition is expected
            to conform.
          $ref: '#/components/schemas/canonical'
        code:
          description: Detailed description of the type of activity; e.g. What lab test,
            what procedure, what kind of encounter.
          $ref: '#/components/schemas/CodeableConcept'
        intent:
          description: Indicates the level of authority/intentionality associated with
            the activity and where the request should fit into the workflow chain.
          $ref: '#/components/schemas/code'
        _intent:
          description: Extensions for intent
          $ref: '#/components/schemas/Element'
        priority:
          description: Indicates how quickly the activity  should be addressed with
            respect to other requests.
          $ref: '#/components/schemas/code'
        _priority:
          description: Extensions for priority
          $ref: '#/components/schemas/Element'
        doNotPerform:
          description: Set this to true if the definition is to indicate that a particular
            activity should NOT be performed. If true, this element should be interpreted
            to reinforce a negative coding. For example NPO as a code with a doNotPerform
            of true would still indicate to NOT perform the action.
          $ref: '#/components/schemas/boolean'
        _doNotPerform:
          description: Extensions for doNotPerform
          $ref: '#/components/schemas/Element'
        timingTiming:
          description: The timing or frequency upon which the described activity is
            to occur.
          $ref: '#/components/schemas/Timing'
        timingAge:
          description: The timing or frequency upon which the described activity is
            to occur.
          $ref: '#/components/schemas/Age'
        timingRange:
          description: The timing or frequency upon which the described activity is
            to occur.
          $ref: '#/components/schemas/Range'
        timingDuration:
          description: The timing or frequency upon which the described activity is
            to occur.
          $ref: '#/components/schemas/Duration'
        asNeededBoolean:
          description: If a CodeableConcept is present, it indicates the pre-condition
            for performing the service.  For example "pain", "on flare-up", etc.
          pattern: ^true|false$
          type: boolean
        _asNeededBoolean:
          description: Extensions for asNeededBoolean
          $ref: '#/components/schemas/Element'
        asNeededCodeableConcept:
          description: If a CodeableConcept is present, it indicates the pre-condition
            for performing the service.  For example "pain", "on flare-up", etc.
          $ref: '#/components/schemas/CodeableConcept'
        location:
          description: Identifies the facility where the activity will occur; e.g. home,
            hospital, specific clinic, etc.
          $ref: '#/components/schemas/CodeableReference'
        participant:
          description: Indicates who should participate in performing the action described.
          items:
            $ref: '#/components/schemas/ActivityDefinition_Participant'
          type: array
        productReference:
          description: Identifies the food, drug or other product being consumed or
            supplied in the activity.
          $ref: '#/components/schemas/Reference'
        productCodeableConcept:
          description: Identifies the food, drug or other product being consumed or
            supplied in the activity.
          $ref: '#/components/schemas/CodeableConcept'
        quantity:
          description: Identifies the quantity expected to be consumed at once (per
            dose, per meal, etc.).
          $ref: '#/components/schemas/Quantity'
        dosage:
          description: Provides detailed dosage instructions in the same way that they
            are described for MedicationRequest resources.
          items:
            $ref: '#/components/schemas/Dosage'
          type: array
        bodySite:
          description: Indicates the sites on the subject's body where the procedure
            should be performed (I.e. the target sites).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        specimenRequirement:
          description: Defines specimen requirements for the action to be performed,
            such as required specimens for a lab test.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        observationRequirement:
          description: Defines observation requirements for the action to be performed,
            such as body weight or surface area.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        observationResultRequirement:
          description: Defines the observations that are expected to be produced by
            the action.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        transform:
          description: A reference to a StructureMap resource that defines a transform
            that can be executed to produce the intent resource using the ActivityDefinition
            instance as the input.
          $ref: '#/components/schemas/canonical'
        dynamicValue:
          description: Dynamic values that will be evaluated to produce values for elements
            of the resulting resource. For example, if the dosage of a medication must
            be computed based on the patient's weight, a dynamic value would be used
            to specify an expression that calculated the weight, and the path on the
            request resource that would contain the result.
          items:
            $ref: '#/components/schemas/ActivityDefinition_DynamicValue'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    ActivityDefinition_Participant:
      description: This resource allows for the definition of some activity to be performed,
        independent of a particular patient, practitioner, or other performance context.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of participant in the action.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        typeCanonical:
          description: The type of participant in the action.
          $ref: '#/components/schemas/canonical'
        typeReference:
          description: The type of participant in the action.
          $ref: '#/components/schemas/Reference'
        role:
          description: The role the participant should play in performing the described
            action.
          $ref: '#/components/schemas/CodeableConcept'
        function:
          description: Indicates how the actor will be involved in the action - author,
            reviewer, witness, etc.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    ActivityDefinition_DynamicValue:
      description: This resource allows for the definition of some activity to be performed,
        independent of a particular patient, practitioner, or other performance context.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        path:
          description: The path to the element to be customized. This is the path on
            the resource that will hold the result of the calculation defined by the
            expression. The specified path SHALL be a FHIRPath resolvable on the specified
            target type of the ActivityDefinition, and SHALL consist only of identifiers,
            constant indexers, and a restricted subset of functions. The path is allowed
            to contain qualifiers (.) to traverse sub-elements, as well as indexers
            ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath
            Profile](fhirpath.html#simple) for full details).
          $ref: '#/components/schemas/string'
        _path:
          description: Extensions for path
          $ref: '#/components/schemas/Element'
        expression:
          description: An expression specifying the value of the customized element.
          $ref: '#/components/schemas/Expression'
      type: object
      additionalProperties: false
      required:
      - expression
    ActorDefinition:
      description: Describes an actor - a human or an application that plays a role
        in data exchange, and that may have obligations associated with the role the
        actor plays.
      properties:
        resourceType:
          description: This is a ActorDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this actor definition
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this actor
            definition is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the actor definition is stored
            on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this actor definition
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the actor
            definition when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the actor definition author and is
            not expected to be globally unique. For example, it might be a timestamp
            (e.g. yyyymmdd) if a managed version is not available. There is also no
            expectation that versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the actor definition. This
            name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the actor definition.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this actor definition. Enables tracking the life-cycle
            of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this actor definition is authored
            for testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the actor definition was
            last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the actor definition changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the actor definition.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the actor.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            actor definition instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the actor definition is
            intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this actor definition is needed and why it
            has been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the actor definition and/or
            its contents. Copyright statements are generally legal restrictions on the
            use and publishing of the actor definition.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        type:
          description: Whether the actor represents a human or an appliction.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        documentation:
          description: Documentation about the functionality of the actor.
          $ref: '#/components/schemas/markdown'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
        reference:
          description: A reference to additional documentation about the actor, but
            description and documentation.
          items:
            $ref: '#/components/schemas/url'
          type: array
        _reference:
          description: Extensions for reference
          items:
            $ref: '#/components/schemas/Element'
          type: array
        capabilities:
          description: The capability statement for the actor (if the concept is applicable).
          $ref: '#/components/schemas/canonical'
        derivedFrom:
          description: A url that identifies the definition of this actor in another
            IG (which IG must be listed in the dependencies). This actor inherits all
            the obligations etc. as defined in the other IG.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    AdministrableProductDefinition:
      description: A medicinal product in the final form which is suitable for administering
        to a patient (after any mixing of multiple components, dissolution etc. has
        been performed).
      properties:
        resourceType:
          description: This is a AdministrableProductDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: An identifier for the administrable product.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The status of this administrable product. Enables tracking the
            life-cycle of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        formOf:
          description: References a product from which one or more of the constituent
            parts of that product can be prepared and used as described by this administrable
            product.  If this administrable product describes the administration of
            a crushed tablet, the 'formOf' would be the product representing a distribution
            containing tablets and possibly also a cream.  This is distinct from the
            'producedFrom' which refers to the specific components of the product that
            are used in this preparation, rather than the product as a whole.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        administrableDoseForm:
          description: The dose form of the final product after necessary reconstitution
            or processing. Contrasts to the manufactured dose form (see ManufacturedItemDefinition).
            If the manufactured form was 'powder for solution for injection', the administrable
            dose form could be 'solution for injection' (once mixed with another item
            having manufactured form 'solvent for solution for injection').
          $ref: '#/components/schemas/CodeableConcept'
        unitOfPresentation:
          description: The presentation type in which this item is given to a patient.
            e.g. for a spray - 'puff' (as in 'contains 100 mcg per puff'), or for a
            liquid - 'vial' (as in 'contains 5 ml per vial').
          $ref: '#/components/schemas/CodeableConcept'
        producedFrom:
          description: Indicates the specific manufactured items that are part of the
            'formOf' product that are used in the preparation of this specific administrable
            form.  In some cases, an administrable form might use all of the items from
            the overall product (or there might only be one item), while in other cases,
            an administrable form might use only a subset of the items available in
            the overall product.  For example, an administrable form might involve combining
            a liquid and a powder available as part of an overall product, but not involve
            applying the also supplied cream.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        ingredient:
          description: The ingredients of this administrable medicinal product. This
            is only needed if the ingredients are not specified either using ManufacturedItemDefiniton
            (via AdministrableProductDefinition.producedFrom) to state which component
            items are used to make this, or using by incoming references from the Ingredient
            resource, to state in detail which substances exist within this. This element
            allows a basic coded ingredient to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        device:
          description: A device that is integral to the medicinal product, in effect
            being considered as an "ingredient" of the medicinal product. This is not
            intended for devices that are just co-packaged.
          $ref: '#/components/schemas/Reference'
        description:
          description: A general description of the product, when in its final form,
            suitable for administration e.g. effervescent blue liquid, to be swallowed.
            Intended to be used when the other structured properties of this resource
            are insufficient or cannot be supported. It is not intended to duplicate
            information already carried elswehere.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        property:
          description: Characteristics e.g. a product's onset of action.
          items:
            $ref: '#/components/schemas/AdministrableProductDefinition_Property'
          type: array
        routeOfAdministration:
          description: The path by which the product is taken into or makes contact
            with the body. In some regions this is referred to as the licenced or approved
            route. RouteOfAdministration cannot be used when the 'formOf' product already
            uses MedicinalProductDefinition.route (and vice versa).
          items:
            $ref: '#/components/schemas/AdministrableProductDefinition_RouteOfAdministration'
          type: array
      type: object
      additionalProperties: false
      required:
      - routeOfAdministration
      - resourceType
    AdministrableProductDefinition_Property:
      description: A medicinal product in the final form which is suitable for administering
        to a patient (after any mixing of multiple components, dissolution etc. has
        been performed).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: A code expressing the type of characteristic.
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableConcept:
          description: A value for the characteristic.
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: A value for the characteristic.
          $ref: '#/components/schemas/Quantity'
        valueDate:
          description: A value for the characteristic.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: A value for the characteristic.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueMarkdown:
          description: A value for the characteristic.
          pattern: ^^[\s\S]+$$
          type: string
        _valueMarkdown:
          description: Extensions for valueMarkdown
          $ref: '#/components/schemas/Element'
        valueAttachment:
          description: A value for the characteristic.
          $ref: '#/components/schemas/Attachment'
        valueReference:
          description: A value for the characteristic.
          $ref: '#/components/schemas/Reference'
        status:
          description: The status of characteristic e.g. assigned or pending.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - type
    AdministrableProductDefinition_RouteOfAdministration:
      description: A medicinal product in the final form which is suitable for administering
        to a patient (after any mixing of multiple components, dissolution etc. has
        been performed).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Coded expression for the route.
          $ref: '#/components/schemas/CodeableConcept'
        firstDose:
          description: The first dose (dose quantity) administered can be specified
            for the product, using a numerical value and its unit of measurement.
          $ref: '#/components/schemas/Quantity'
        maxSingleDose:
          description: The maximum single dose that can be administered, specified using
            a numerical value and its unit of measurement.
          $ref: '#/components/schemas/Quantity'
        maxDosePerDay:
          description: The maximum dose per day (maximum dose quantity to be administered
            in any one 24-h period) that can be administered.
          $ref: '#/components/schemas/Quantity'
        maxDosePerTreatmentPeriod:
          description: The maximum dose per treatment period that can be administered.
          $ref: '#/components/schemas/Ratio'
        maxTreatmentPeriod:
          description: The maximum treatment period during which the product can be
            administered.
          $ref: '#/components/schemas/Duration'
        targetSpecies:
          description: A species for which this route applies.
          items:
            $ref: '#/components/schemas/AdministrableProductDefinition_TargetSpecies'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
    AdministrableProductDefinition_TargetSpecies:
      description: A medicinal product in the final form which is suitable for administering
        to a patient (after any mixing of multiple components, dissolution etc. has
        been performed).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Coded expression for the species.
          $ref: '#/components/schemas/CodeableConcept'
        withdrawalPeriod:
          description: A species specific time during which consumption of animal product
            is not appropriate.
          items:
            $ref: '#/components/schemas/AdministrableProductDefinition_WithdrawalPeriod'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
    AdministrableProductDefinition_WithdrawalPeriod:
      description: A medicinal product in the final form which is suitable for administering
        to a patient (after any mixing of multiple components, dissolution etc. has
        been performed).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        tissue:
          description: Coded expression for the type of tissue for which the withdrawal
            period applies, e.g. meat, milk.
          $ref: '#/components/schemas/CodeableConcept'
        value:
          description: A value for the time.
          $ref: '#/components/schemas/Quantity'
        supportingInformation:
          description: Extra information about the withdrawal period.
          $ref: '#/components/schemas/string'
        _supportingInformation:
          description: Extensions for supportingInformation
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - tissue
      - value
    AdverseEvent:
      description: An event (i.e. any change to current patient status) that may be
        related to unintended effects on a patient or research participant. The unintended
        effects may require additional monitoring, treatment, hospitalization, or may
        result in death. The AdverseEvent resource also extends to potential or avoided
        events that could have had such effects. There are two major domains where the
        AdverseEvent resource is expected to be used. One is in clinical care reported
        adverse events and the other is in reporting adverse events in clinical  research
        trial management. Adverse events can be reported by healthcare providers, patients,
        caregivers or by medical products manufacturers. Given the differences between
        these two concepts, we recommend consulting the domain specific implementation
        guides when implementing the AdverseEvent Resource. The implementation guides
        include specific extensions, value sets and constraints.
      properties:
        resourceType:
          description: This is a AdverseEvent resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this adverse event by the performer
            or other systems which remain constant as the resource is updated and propagates
            from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The current state of the adverse event or potential adverse event.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        actuality:
          description: Whether the event actually happened or was a near miss. Note
            that this is independent of whether anyone was affected or harmed or how
            severely.
          $ref: '#/components/schemas/code'
        _actuality:
          description: Extensions for actuality
          $ref: '#/components/schemas/Element'
        category:
          description: The overall type of event, intended for search and filtering
            purposes.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        code:
          description: Specific event that occurred or that was averted, such as patient
            fall, wrong organ removed, or wrong blood transfused.
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: This subject or group impacted by the event.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The Encounter associated with the start of the AdverseEvent.
          $ref: '#/components/schemas/Reference'
        causeDateTime:
          description: The date (and perhaps time) when the cause of the AdverseEvent
            occurred.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _causeDateTime:
          description: Extensions for causeDateTime
          $ref: '#/components/schemas/Element'
        causePeriod:
          description: The date (and perhaps time) when the cause of the AdverseEvent
            occurred.
          $ref: '#/components/schemas/Period'
        effectDateTime:
          description: The date (and perhaps time) when the effect of the AdverseEvent
            occurred.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _effectDateTime:
          description: Extensions for effectDateTime
          $ref: '#/components/schemas/Element'
        effectPeriod:
          description: The date (and perhaps time) when the effect of the AdverseEvent
            occurred.
          $ref: '#/components/schemas/Period'
        detected:
          description: Estimated or actual date the AdverseEvent began, in the opinion
            of the reporter.
          $ref: '#/components/schemas/dateTime'
        _detected:
          description: Extensions for detected
          $ref: '#/components/schemas/Element'
        recordedDate:
          description: The date on which the existence of the AdverseEvent was first
            recorded.
          $ref: '#/components/schemas/dateTime'
        _recordedDate:
          description: Extensions for recordedDate
          $ref: '#/components/schemas/Element'
        resultingEffect:
          description: Information about the condition that occurred as a result of
            the adverse event, such as hives due to the exposure to a substance (for
            example, a drug or a chemical) or a broken leg as a result of the fall.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        location:
          description: The information about where the adverse event occurred.
          $ref: '#/components/schemas/Reference'
        seriousness:
          description: Assessment whether this event, or averted event, was of clinical
            importance.
          $ref: '#/components/schemas/CodeableConcept'
        outcome:
          description: Describes the type of outcome from the adverse event, such as
            resolved, recovering, ongoing, resolved-with-sequelae, or fatal.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        recorder:
          description: Information on who recorded the adverse event.  May be the patient
            or a practitioner.
          $ref: '#/components/schemas/Reference'
        participant:
          description: Indicates who or what participated in the adverse event and how
            they were involved.
          items:
            $ref: '#/components/schemas/AdverseEvent_Participant'
          type: array
        study:
          description: The research study that the subject is enrolled in.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        expectedInResearchStudy:
          description: Considered likely or probable or anticipated in the research
            study.  Whether the reported event matches any of the outcomes for the patient
            that are considered by the study as known or likely.
          $ref: '#/components/schemas/boolean'
        _expectedInResearchStudy:
          description: Extensions for expectedInResearchStudy
          $ref: '#/components/schemas/Element'
        suspectEntity:
          description: Describes the entity that is suspected to have caused the adverse
            event.
          items:
            $ref: '#/components/schemas/AdverseEvent_SuspectEntity'
          type: array
        contributingFactor:
          description: The contributing factors suspected to have increased the probability
            or severity of the adverse event.
          items:
            $ref: '#/components/schemas/AdverseEvent_ContributingFactor'
          type: array
        preventiveAction:
          description: Preventive actions that contributed to avoiding the adverse event.
          items:
            $ref: '#/components/schemas/AdverseEvent_PreventiveAction'
          type: array
        mitigatingAction:
          description: The ameliorating action taken after the adverse event occured
            in order to reduce the extent of harm.
          items:
            $ref: '#/components/schemas/AdverseEvent_MitigatingAction'
          type: array
        supportingInfo:
          description: Supporting information relevant to the event.
          items:
            $ref: '#/components/schemas/AdverseEvent_SupportingInfo'
          type: array
        note:
          description: Comments made about the adverse event by the performer, subject
            or other participants.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - resourceType
    AdverseEvent_Participant:
      description: An event (i.e. any change to current patient status) that may be
        related to unintended effects on a patient or research participant. The unintended
        effects may require additional monitoring, treatment, hospitalization, or may
        result in death. The AdverseEvent resource also extends to potential or avoided
        events that could have had such effects. There are two major domains where the
        AdverseEvent resource is expected to be used. One is in clinical care reported
        adverse events and the other is in reporting adverse events in clinical  research
        trial management. Adverse events can be reported by healthcare providers, patients,
        caregivers or by medical products manufacturers. Given the differences between
        these two concepts, we recommend consulting the domain specific implementation
        guides when implementing the AdverseEvent Resource. The implementation guides
        include specific extensions, value sets and constraints.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        function:
          description: Distinguishes the type of involvement of the actor in the adverse
            event, such as contributor or informant.
          $ref: '#/components/schemas/CodeableConcept'
        actor:
          description: Indicates who or what participated in the event.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - actor
    AdverseEvent_SuspectEntity:
      description: An event (i.e. any change to current patient status) that may be
        related to unintended effects on a patient or research participant. The unintended
        effects may require additional monitoring, treatment, hospitalization, or may
        result in death. The AdverseEvent resource also extends to potential or avoided
        events that could have had such effects. There are two major domains where the
        AdverseEvent resource is expected to be used. One is in clinical care reported
        adverse events and the other is in reporting adverse events in clinical  research
        trial management. Adverse events can be reported by healthcare providers, patients,
        caregivers or by medical products manufacturers. Given the differences between
        these two concepts, we recommend consulting the domain specific implementation
        guides when implementing the AdverseEvent Resource. The implementation guides
        include specific extensions, value sets and constraints.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        instanceCodeableConcept:
          description: Identifies the actual instance of what caused the adverse event.  May
            be a substance, medication, medication administration, medication statement
            or a device.
          $ref: '#/components/schemas/CodeableConcept'
        instanceReference:
          description: Identifies the actual instance of what caused the adverse event.  May
            be a substance, medication, medication administration, medication statement
            or a device.
          $ref: '#/components/schemas/Reference'
        causality:
          description: Information on the possible cause of the event.
          $ref: '#/components/schemas/AdverseEvent_Causality'
      type: object
      additionalProperties: false
    AdverseEvent_Causality:
      description: An event (i.e. any change to current patient status) that may be
        related to unintended effects on a patient or research participant. The unintended
        effects may require additional monitoring, treatment, hospitalization, or may
        result in death. The AdverseEvent resource also extends to potential or avoided
        events that could have had such effects. There are two major domains where the
        AdverseEvent resource is expected to be used. One is in clinical care reported
        adverse events and the other is in reporting adverse events in clinical  research
        trial management. Adverse events can be reported by healthcare providers, patients,
        caregivers or by medical products manufacturers. Given the differences between
        these two concepts, we recommend consulting the domain specific implementation
        guides when implementing the AdverseEvent Resource. The implementation guides
        include specific extensions, value sets and constraints.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        assessmentMethod:
          description: The method of evaluating the relatedness of the suspected entity
            to the event.
          $ref: '#/components/schemas/CodeableConcept'
        entityRelatedness:
          description: The result of the assessment regarding the relatedness of the
            suspected entity to the event.
          $ref: '#/components/schemas/CodeableConcept'
        author:
          description: The author of the information on the possible cause of the event.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    AdverseEvent_ContributingFactor:
      description: An event (i.e. any change to current patient status) that may be
        related to unintended effects on a patient or research participant. The unintended
        effects may require additional monitoring, treatment, hospitalization, or may
        result in death. The AdverseEvent resource also extends to potential or avoided
        events that could have had such effects. There are two major domains where the
        AdverseEvent resource is expected to be used. One is in clinical care reported
        adverse events and the other is in reporting adverse events in clinical  research
        trial management. Adverse events can be reported by healthcare providers, patients,
        caregivers or by medical products manufacturers. Given the differences between
        these two concepts, we recommend consulting the domain specific implementation
        guides when implementing the AdverseEvent Resource. The implementation guides
        include specific extensions, value sets and constraints.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        itemReference:
          description: The item that is suspected to have increased the probability
            or severity of the adverse event.
          $ref: '#/components/schemas/Reference'
        itemCodeableConcept:
          description: The item that is suspected to have increased the probability
            or severity of the adverse event.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    AdverseEvent_PreventiveAction:
      description: An event (i.e. any change to current patient status) that may be
        related to unintended effects on a patient or research participant. The unintended
        effects may require additional monitoring, treatment, hospitalization, or may
        result in death. The AdverseEvent resource also extends to potential or avoided
        events that could have had such effects. There are two major domains where the
        AdverseEvent resource is expected to be used. One is in clinical care reported
        adverse events and the other is in reporting adverse events in clinical  research
        trial management. Adverse events can be reported by healthcare providers, patients,
        caregivers or by medical products manufacturers. Given the differences between
        these two concepts, we recommend consulting the domain specific implementation
        guides when implementing the AdverseEvent Resource. The implementation guides
        include specific extensions, value sets and constraints.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        itemReference:
          description: The action that contributed to avoiding the adverse event.
          $ref: '#/components/schemas/Reference'
        itemCodeableConcept:
          description: The action that contributed to avoiding the adverse event.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    AdverseEvent_MitigatingAction:
      description: An event (i.e. any change to current patient status) that may be
        related to unintended effects on a patient or research participant. The unintended
        effects may require additional monitoring, treatment, hospitalization, or may
        result in death. The AdverseEvent resource also extends to potential or avoided
        events that could have had such effects. There are two major domains where the
        AdverseEvent resource is expected to be used. One is in clinical care reported
        adverse events and the other is in reporting adverse events in clinical  research
        trial management. Adverse events can be reported by healthcare providers, patients,
        caregivers or by medical products manufacturers. Given the differences between
        these two concepts, we recommend consulting the domain specific implementation
        guides when implementing the AdverseEvent Resource. The implementation guides
        include specific extensions, value sets and constraints.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        itemReference:
          description: The ameliorating action taken after the adverse event occured
            in order to reduce the extent of harm.
          $ref: '#/components/schemas/Reference'
        itemCodeableConcept:
          description: The ameliorating action taken after the adverse event occured
            in order to reduce the extent of harm.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    AdverseEvent_SupportingInfo:
      description: An event (i.e. any change to current patient status) that may be
        related to unintended effects on a patient or research participant. The unintended
        effects may require additional monitoring, treatment, hospitalization, or may
        result in death. The AdverseEvent resource also extends to potential or avoided
        events that could have had such effects. There are two major domains where the
        AdverseEvent resource is expected to be used. One is in clinical care reported
        adverse events and the other is in reporting adverse events in clinical  research
        trial management. Adverse events can be reported by healthcare providers, patients,
        caregivers or by medical products manufacturers. Given the differences between
        these two concepts, we recommend consulting the domain specific implementation
        guides when implementing the AdverseEvent Resource. The implementation guides
        include specific extensions, value sets and constraints.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        itemReference:
          description: Relevant past history for the subject. In a clinical care context,
            an example being a patient had an adverse event following a pencillin administration
            and the patient had a previously documented penicillin allergy. In a clinical
            trials context, an example is a bunion or rash that was present prior to
            the study. Additionally, the supporting item can be a document that is relevant
            to this instance of the adverse event that is not part of the subject's
            medical history. For example, a clinical note, staff list, or material safety
            data sheet (MSDS).  Supporting information is not a contributing factor,
            preventive action, or mitigating action.
          $ref: '#/components/schemas/Reference'
        itemCodeableConcept:
          description: Relevant past history for the subject. In a clinical care context,
            an example being a patient had an adverse event following a pencillin administration
            and the patient had a previously documented penicillin allergy. In a clinical
            trials context, an example is a bunion or rash that was present prior to
            the study. Additionally, the supporting item can be a document that is relevant
            to this instance of the adverse event that is not part of the subject's
            medical history. For example, a clinical note, staff list, or material safety
            data sheet (MSDS).  Supporting information is not a contributing factor,
            preventive action, or mitigating action.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    AllergyIntolerance:
      description: Risk of harmful or undesirable physiological response which is specific
        to an individual and associated with exposure to a substance.
      properties:
        resourceType:
          description: This is a AllergyIntolerance resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this AllergyIntolerance by the
            performer or other systems which remain constant as the resource is updated
            and propagates from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        clinicalStatus:
          description: The clinical status of the allergy or intolerance.
          $ref: '#/components/schemas/CodeableConcept'
        verificationStatus:
          description: Assertion about certainty associated with the propensity, or
            potential risk, of a reaction to the identified substance (including pharmaceutical
            product).  The verification status pertains to the allergy or intolerance,
            itself, not to any specific AllergyIntolerance attribute.
          $ref: '#/components/schemas/CodeableConcept'
        type:
          description: Identification of the underlying physiological mechanism for
            the reaction risk.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: Category of the identified substance.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _category:
          description: Extensions for category
          items:
            $ref: '#/components/schemas/Element'
          type: array
        criticality:
          description: Estimate of the potential clinical harm, or seriousness, of the
            reaction to the identified substance.
          $ref: '#/components/schemas/code'
        _criticality:
          description: Extensions for criticality
          $ref: '#/components/schemas/Element'
        code:
          description: 'Code for an allergy or intolerance statement (either a positive
            or a negated/excluded statement).  This may be a code for a substance or
            pharmaceutical product that is considered to be responsible for the adverse
            reaction risk (e.g., "Latex"), an allergy or intolerance condition (e.g.,
            "Latex allergy"), or a negated/excluded code for a specific substance or
            class (e.g., "No latex allergy") or a general or categorical negated statement
            (e.g.,  "No known allergy", "No known drug allergies").  Note: the substance
            for a specific reaction may be different from the substance identified as
            the cause of the risk, but it must be consistent with it. For instance,
            it may be a more specific substance (e.g. a brand medication) or a composite
            product that includes the identified substance. It must be clinically safe
            to only process the ''code'' and ignore the ''reaction.substance''.  If
            a receiving system is unable to confirm that AllergyIntolerance.reaction.substance
            falls within the semantic scope of AllergyIntolerance.code, then the receiving
            system should ignore AllergyIntolerance.reaction.substance.'
          $ref: '#/components/schemas/CodeableConcept'
        patient:
          description: The patient who has the allergy or intolerance.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The encounter when the allergy or intolerance was asserted.
          $ref: '#/components/schemas/Reference'
        onsetDateTime:
          description: Estimated or actual date,  date-time, or age when allergy or
            intolerance was identified.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _onsetDateTime:
          description: Extensions for onsetDateTime
          $ref: '#/components/schemas/Element'
        onsetAge:
          description: Estimated or actual date,  date-time, or age when allergy or
            intolerance was identified.
          $ref: '#/components/schemas/Age'
        onsetPeriod:
          description: Estimated or actual date,  date-time, or age when allergy or
            intolerance was identified.
          $ref: '#/components/schemas/Period'
        onsetRange:
          description: Estimated or actual date,  date-time, or age when allergy or
            intolerance was identified.
          $ref: '#/components/schemas/Range'
        onsetString:
          description: Estimated or actual date,  date-time, or age when allergy or
            intolerance was identified.
          pattern: ^^[\s\S]+$$
          type: string
        _onsetString:
          description: Extensions for onsetString
          $ref: '#/components/schemas/Element'
        recordedDate:
          description: The recordedDate represents when this particular AllergyIntolerance
            record was created in the system, which is often a system-generated date.
          $ref: '#/components/schemas/dateTime'
        _recordedDate:
          description: Extensions for recordedDate
          $ref: '#/components/schemas/Element'
        participant:
          description: Indicates who or what participated in the activities related
            to the allergy or intolerance and how they were involved.
          items:
            $ref: '#/components/schemas/AllergyIntolerance_Participant'
          type: array
        lastOccurrence:
          description: Represents the date and/or time of the last known occurrence
            of a reaction event.
          $ref: '#/components/schemas/dateTime'
        _lastOccurrence:
          description: Extensions for lastOccurrence
          $ref: '#/components/schemas/Element'
        note:
          description: Additional narrative about the propensity for the Adverse Reaction,
            not captured in other fields.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        reaction:
          description: Details about each adverse reaction event linked to exposure
            to the identified substance.
          items:
            $ref: '#/components/schemas/AllergyIntolerance_Reaction'
          type: array
      type: object
      additionalProperties: false
      required:
      - patient
      - resourceType
    AllergyIntolerance_Participant:
      description: Risk of harmful or undesirable physiological response which is specific
        to an individual and associated with exposure to a substance.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        function:
          description: Distinguishes the type of involvement of the actor in the activities
            related to the allergy or intolerance.
          $ref: '#/components/schemas/CodeableConcept'
        actor:
          description: Indicates who or what participated in the activities related
            to the allergy or intolerance.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - actor
    AllergyIntolerance_Reaction:
      description: Risk of harmful or undesirable physiological response which is specific
        to an individual and associated with exposure to a substance.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        substance:
          description: 'Identification of the specific substance (or pharmaceutical
            product) considered to be responsible for the Adverse Reaction event. Note:
            the substance for a specific reaction may be different from the substance
            identified as the cause of the risk, but it must be consistent with it.
            For instance, it may be a more specific substance (e.g. a brand medication)
            or a composite product that includes the identified substance. It must be
            clinically safe to only process the ''code'' and ignore the ''reaction.substance''.  If
            a receiving system is unable to confirm that AllergyIntolerance.reaction.substance
            falls within the semantic scope of AllergyIntolerance.code, then the receiving
            system should ignore AllergyIntolerance.reaction.substance.'
          $ref: '#/components/schemas/CodeableConcept'
        manifestation:
          description: Clinical symptoms and/or signs that are observed or associated
            with the adverse reaction event.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        description:
          description: Text description about the reaction as a whole, including details
            of the manifestation if required.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        onset:
          description: Record of the date and/or time of the onset of the Reaction.
          $ref: '#/components/schemas/dateTime'
        _onset:
          description: Extensions for onset
          $ref: '#/components/schemas/Element'
        severity:
          description: Clinical assessment of the severity of the reaction event as
            a whole, potentially considering multiple different manifestations.
          $ref: '#/components/schemas/code'
        _severity:
          description: Extensions for severity
          $ref: '#/components/schemas/Element'
        exposureRoute:
          description: Identification of the route by which the subject was exposed
            to the substance.
          $ref: '#/components/schemas/CodeableConcept'
        note:
          description: Additional text about the adverse reaction event not captured
            in other fields.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - manifestation
    Appointment:
      description: A booking of a healthcare event among patient(s), practitioner(s),
        related person(s) and/or device(s) for a specific date/time. This may result
        in one or more Encounter(s).
      properties:
        resourceType:
          description: This is a Appointment resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: This records identifiers associated with this appointment concern
            that are defined by business processes and/or used to refer to it when a
            direct URL reference to the resource itself is not appropriate (e.g. in
            CDA documents, or in written / printed documentation).
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The overall status of the Appointment. Each of the participants
            has their own participation status which indicates their involvement in
            the process, however this status indicates the shared status.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        cancellationReason:
          description: The coded reason for the appointment being cancelled. This is
            often used in reporting/billing/futher processing to determine if further
            actions are required, or specific fees apply.
          $ref: '#/components/schemas/CodeableConcept'
        class:
          description: Concepts representing classification of patient encounter such
            as ambulatory (outpatient), inpatient, emergency, home health or others
            due to local variations.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        serviceCategory:
          description: A broad categorization of the service that is to be performed
            during this appointment.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        serviceType:
          description: The specific service that is to be performed during this appointment.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        specialty:
          description: The specialty of a practitioner that would be required to perform
            the service requested in this appointment.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        appointmentType:
          description: The style of appointment or patient that has been booked in the
            slot (not service type).
          $ref: '#/components/schemas/CodeableConcept'
        reason:
          description: The reason that this appointment is being scheduled. This is
            more clinical than administrative. This can be coded, or as specified using
            information from another resource. When the patient arrives and the encounter
            begins it may be used as the admission diagnosis. The indication will typically
            be a Condition (with other resources referenced in the evidence.detail),
            or a Procedure.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        priority:
          description: The priority of the appointment. Can be used to make informed
            decisions if needing to re-prioritize appointments. (The iCal Standard specifies
            0 as undefined, 1 as highest, 9 as lowest priority).
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: The brief description of the appointment as would be shown on
            a subject line in a meeting request, or appointment list. Detailed or expanded
            information should be put in the note field.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        replaces:
          description: Appointment replaced by this Appointment in cases where there
            is a cancellation, the details of the cancellation can be found in the cancellationReason
            property (on the referenced resource).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        virtualService:
          description: Connection details of a virtual service (e.g. conference call).
          items:
            $ref: '#/components/schemas/VirtualServiceDetail'
          type: array
        supportingInformation:
          description: Additional information to support the appointment provided when
            making the appointment.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        previousAppointment:
          description: The previous appointment in a series of related appointments.
          $ref: '#/components/schemas/Reference'
        originatingAppointment:
          description: The originating appointment in a recurring set of related appointments.
          $ref: '#/components/schemas/Reference'
        start:
          description: Date/Time that the appointment is to take place.
          $ref: '#/components/schemas/instant'
        _start:
          description: Extensions for start
          $ref: '#/components/schemas/Element'
        end:
          description: Date/Time that the appointment is to conclude.
          $ref: '#/components/schemas/instant'
        _end:
          description: Extensions for end
          $ref: '#/components/schemas/Element'
        minutesDuration:
          description: Number of minutes that the appointment is to take. This can be
            less than the duration between the start and end times.  For example, where
            the actual time of appointment is only an estimate or if a 30 minute appointment
            is being requested, but any time would work.  Also, if there is, for example,
            a planned 15 minute break in the middle of a long appointment, the duration
            may be 15 minutes less than the difference between the start and end.
          $ref: '#/components/schemas/positiveInt'
        _minutesDuration:
          description: Extensions for minutesDuration
          $ref: '#/components/schemas/Element'
        requestedPeriod:
          description: 'A set of date ranges (potentially including times) that the
            appointment is preferred to be scheduled within.


            The duration (usually in minutes) could also be provided to indicate the
            length of the appointment to fill and populate the start/end times for the
            actual allocated time. However, in other situations the duration may be
            calculated by the scheduling system.'
          items:
            $ref: '#/components/schemas/Period'
          type: array
        slot:
          description: The slots from the participants' schedules that will be filled
            by the appointment.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        account:
          description: The set of accounts that is expected to be used for billing the
            activities that result from this Appointment.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        created:
          description: The date that this appointment was initially created. This could
            be different to the meta.lastModified value on the initial entry, as this
            could have been before the resource was created on the FHIR server, and
            should remain unchanged over the lifespan of the appointment.
          $ref: '#/components/schemas/dateTime'
        _created:
          description: Extensions for created
          $ref: '#/components/schemas/Element'
        cancellationDate:
          description: The date/time describing when the appointment was cancelled.
          $ref: '#/components/schemas/dateTime'
        _cancellationDate:
          description: Extensions for cancellationDate
          $ref: '#/components/schemas/Element'
        note:
          description: Additional notes/comments about the appointment.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        patientInstruction:
          description: While Appointment.note contains information for internal use,
            Appointment.patientInstructions is used to capture patient facing information
            about the Appointment (e.g. please bring your referral or fast from 8pm
            night before).
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        basedOn:
          description: The request this appointment is allocated to assess (e.g. incoming
            referral or procedure request).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        subject:
          description: The patient or group associated with the appointment, if they
            are to be present (usually) then they should also be included in the participant
            backbone element.
          $ref: '#/components/schemas/Reference'
        participant:
          description: List of participants involved in the appointment.
          items:
            $ref: '#/components/schemas/Appointment_Participant'
          type: array
        recurrenceId:
          description: The sequence number that identifies a specific appointment in
            a recurring pattern.
          $ref: '#/components/schemas/positiveInt'
        _recurrenceId:
          description: Extensions for recurrenceId
          $ref: '#/components/schemas/Element'
        occurrenceChanged:
          description: This appointment varies from the recurring pattern.
          $ref: '#/components/schemas/boolean'
        _occurrenceChanged:
          description: Extensions for occurrenceChanged
          $ref: '#/components/schemas/Element'
        recurrenceTemplate:
          description: The details of the recurrence pattern or template that is used
            to generate recurring appointments.
          items:
            $ref: '#/components/schemas/Appointment_RecurrenceTemplate'
          type: array
      type: object
      additionalProperties: false
      required:
      - participant
      - resourceType
    Appointment_Participant:
      description: A booking of a healthcare event among patient(s), practitioner(s),
        related person(s) and/or device(s) for a specific date/time. This may result
        in one or more Encounter(s).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Role of participant in the appointment.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        period:
          description: Participation period of the actor.
          $ref: '#/components/schemas/Period'
        actor:
          description: The individual, device, location, or service participating in
            the appointment.
          $ref: '#/components/schemas/Reference'
        required:
          description: Whether this participant is required to be present at the meeting.
            If false, the participant is optional.
          $ref: '#/components/schemas/boolean'
        _required:
          description: Extensions for required
          $ref: '#/components/schemas/Element'
        status:
          description: Participation status of the actor.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Appointment_RecurrenceTemplate:
      description: A booking of a healthcare event among patient(s), practitioner(s),
        related person(s) and/or device(s) for a specific date/time. This may result
        in one or more Encounter(s).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        timezone:
          description: The timezone of the recurring appointment occurrences.
          $ref: '#/components/schemas/CodeableConcept'
        recurrenceType:
          description: How often the appointment series should recur.
          $ref: '#/components/schemas/CodeableConcept'
        lastOccurrenceDate:
          description: Recurring appointments will not occur after this date.
          $ref: '#/components/schemas/date'
        _lastOccurrenceDate:
          description: Extensions for lastOccurrenceDate
          $ref: '#/components/schemas/Element'
        occurrenceCount:
          description: How many appointments are planned in the recurrence.
          $ref: '#/components/schemas/positiveInt'
        _occurrenceCount:
          description: Extensions for occurrenceCount
          $ref: '#/components/schemas/Element'
        occurrenceDate:
          description: The list of specific dates that will have appointments generated.
          items:
            $ref: '#/components/schemas/date'
          type: array
        _occurrenceDate:
          description: Extensions for occurrenceDate
          items:
            $ref: '#/components/schemas/Element'
          type: array
        weeklyTemplate:
          description: Information about weekly recurring appointments.
          $ref: '#/components/schemas/Appointment_WeeklyTemplate'
        monthlyTemplate:
          description: Information about monthly recurring appointments.
          $ref: '#/components/schemas/Appointment_MonthlyTemplate'
        yearlyTemplate:
          description: Information about yearly recurring appointments.
          $ref: '#/components/schemas/Appointment_YearlyTemplate'
        excludingDate:
          description: Any dates, such as holidays, that should be excluded from the
            recurrence.
          items:
            $ref: '#/components/schemas/date'
          type: array
        _excludingDate:
          description: Extensions for excludingDate
          items:
            $ref: '#/components/schemas/Element'
          type: array
        excludingRecurrenceId:
          description: Any dates, such as holidays, that should be excluded from the
            recurrence.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _excludingRecurrenceId:
          description: Extensions for excludingRecurrenceId
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
      required:
      - recurrenceType
    Appointment_WeeklyTemplate:
      description: A booking of a healthcare event among patient(s), practitioner(s),
        related person(s) and/or device(s) for a specific date/time. This may result
        in one or more Encounter(s).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        monday:
          description: Indicates that recurring appointments should occur on Mondays.
          $ref: '#/components/schemas/boolean'
        _monday:
          description: Extensions for monday
          $ref: '#/components/schemas/Element'
        tuesday:
          description: Indicates that recurring appointments should occur on Tuesdays.
          $ref: '#/components/schemas/boolean'
        _tuesday:
          description: Extensions for tuesday
          $ref: '#/components/schemas/Element'
        wednesday:
          description: Indicates that recurring appointments should occur on Wednesdays.
          $ref: '#/components/schemas/boolean'
        _wednesday:
          description: Extensions for wednesday
          $ref: '#/components/schemas/Element'
        thursday:
          description: Indicates that recurring appointments should occur on Thursdays.
          $ref: '#/components/schemas/boolean'
        _thursday:
          description: Extensions for thursday
          $ref: '#/components/schemas/Element'
        friday:
          description: Indicates that recurring appointments should occur on Fridays.
          $ref: '#/components/schemas/boolean'
        _friday:
          description: Extensions for friday
          $ref: '#/components/schemas/Element'
        saturday:
          description: Indicates that recurring appointments should occur on Saturdays.
          $ref: '#/components/schemas/boolean'
        _saturday:
          description: Extensions for saturday
          $ref: '#/components/schemas/Element'
        sunday:
          description: Indicates that recurring appointments should occur on Sundays.
          $ref: '#/components/schemas/boolean'
        _sunday:
          description: Extensions for sunday
          $ref: '#/components/schemas/Element'
        weekInterval:
          description: "The interval defines if the recurrence is every nth week. The\
            \ default is every week, so it is expected that this value will be 2 or\
            \ more.\r\re.g. For recurring every second week this interval would be 2,\
            \ or every third week the interval would be 3."
          $ref: '#/components/schemas/positiveInt'
        _weekInterval:
          description: Extensions for weekInterval
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Appointment_MonthlyTemplate:
      description: A booking of a healthcare event among patient(s), practitioner(s),
        related person(s) and/or device(s) for a specific date/time. This may result
        in one or more Encounter(s).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        dayOfMonth:
          description: Indicates that appointments in the series of recurring appointments
            should occur on a specific day of the month.
          $ref: '#/components/schemas/positiveInt'
        _dayOfMonth:
          description: Extensions for dayOfMonth
          $ref: '#/components/schemas/Element'
        nthWeekOfMonth:
          description: Indicates which week within a month the appointments in the series
            of recurring appointments should occur on.
          $ref: '#/components/schemas/Coding'
        dayOfWeek:
          description: Indicates which day of the week the recurring appointments should
            occur each nth week.
          $ref: '#/components/schemas/Coding'
        monthInterval:
          description: Indicates that recurring appointments should occur every nth
            month.
          $ref: '#/components/schemas/positiveInt'
        _monthInterval:
          description: Extensions for monthInterval
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Appointment_YearlyTemplate:
      description: A booking of a healthcare event among patient(s), practitioner(s),
        related person(s) and/or device(s) for a specific date/time. This may result
        in one or more Encounter(s).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        yearInterval:
          description: Appointment recurs every nth year.
          $ref: '#/components/schemas/positiveInt'
        _yearInterval:
          description: Extensions for yearInterval
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    AppointmentResponse:
      description: A reply to an appointment request for a patient and/or practitioner(s),
        such as a confirmation or rejection.
      properties:
        resourceType:
          description: This is a AppointmentResponse resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: This records identifiers associated with this appointment response
            concern that are defined by business processes and/ or used to refer to
            it when a direct URL reference to the resource itself is not appropriate.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        appointment:
          description: Appointment that this response is replying to.
          $ref: '#/components/schemas/Reference'
        proposedNewTime:
          description: Indicates that the response is proposing a different time that
            was initially requested.  The new proposed time will be indicated in the
            start and end properties.
          $ref: '#/components/schemas/boolean'
        _proposedNewTime:
          description: Extensions for proposedNewTime
          $ref: '#/components/schemas/Element'
        start:
          description: Date/Time that the appointment is to take place, or requested
            new start time.
          $ref: '#/components/schemas/instant'
        _start:
          description: Extensions for start
          $ref: '#/components/schemas/Element'
        end:
          description: This may be either the same as the appointment request to confirm
            the details of the appointment, or alternately a new time to request a re-negotiation
            of the end time.
          $ref: '#/components/schemas/instant'
        _end:
          description: Extensions for end
          $ref: '#/components/schemas/Element'
        participantType:
          description: Role of participant in the appointment.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        actor:
          description: A Person, Location, HealthcareService, or Device that is participating
            in the appointment.
          $ref: '#/components/schemas/Reference'
        participantStatus:
          description: Participation status of the participant. When the status is declined
            or tentative if the start/end times are different to the appointment, then
            these times should be interpreted as a requested time change. When the status
            is accepted, the times can either be the time of the appointment (as a confirmation
            of the time) or can be empty.
          $ref: '#/components/schemas/code'
        _participantStatus:
          description: Extensions for participantStatus
          $ref: '#/components/schemas/Element'
        comment:
          description: Additional comments about the appointment.
          $ref: '#/components/schemas/markdown'
        _comment:
          description: Extensions for comment
          $ref: '#/components/schemas/Element'
        recurring:
          description: Indicates that this AppointmentResponse applies to all occurrences
            in a recurring request.
          $ref: '#/components/schemas/boolean'
        _recurring:
          description: Extensions for recurring
          $ref: '#/components/schemas/Element'
        occurrenceDate:
          description: The original date within a recurring request. This could be used
            in place of the recurrenceId to be more direct (or where the template is
            provided through the simple list of dates in `Appointment.occurrenceDate`).
          $ref: '#/components/schemas/date'
        _occurrenceDate:
          description: Extensions for occurrenceDate
          $ref: '#/components/schemas/Element'
        recurrenceId:
          description: The recurrence ID (sequence number) of the specific appointment
            when responding to a recurring request.
          $ref: '#/components/schemas/positiveInt'
        _recurrenceId:
          description: Extensions for recurrenceId
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - appointment
      - resourceType
    ArtifactAssessment:
      description: This Resource provides one or more comments, classifiers or ratings
        about a Resource and supports attribution and rights management metadata for
        the added content.
      properties:
        resourceType:
          description: This is a ArtifactAssessment resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A formal identifier that is used to identify this artifact assessment
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        title:
          description: A short title for the assessment for use in displaying and selecting.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        citeAsReference:
          description: Display of or reference to the bibliographic citation of the
            comment, classifier, or rating.
          $ref: '#/components/schemas/Reference'
        citeAsMarkdown:
          description: Display of or reference to the bibliographic citation of the
            comment, classifier, or rating.
          pattern: ^^[\s\S]+$$
          type: string
        _citeAsMarkdown:
          description: Extensions for citeAsMarkdown
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the artifact assessment
            was published. The date must change when the disposition changes and it
            must change if the workflow status code changes. In addition, it should
            change when the substantive content of the artifact assessment changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the artifact assessment and/or
            its contents. Copyright statements are generally legal restrictions on the
            use and publishing of the artifact assessment.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        artifactReference:
          description: A reference to a resource, canonical resource, or non-FHIR resource
            which the comment or assessment is about.
          $ref: '#/components/schemas/Reference'
        artifactCanonical:
          description: A reference to a resource, canonical resource, or non-FHIR resource
            which the comment or assessment is about.
          pattern: ^\S*$
          type: string
        _artifactCanonical:
          description: Extensions for artifactCanonical
          $ref: '#/components/schemas/Element'
        artifactUri:
          description: A reference to a resource, canonical resource, or non-FHIR resource
            which the comment or assessment is about.
          pattern: ^\S*$
          type: string
        _artifactUri:
          description: Extensions for artifactUri
          $ref: '#/components/schemas/Element'
        content:
          description: A component comment, classifier, or rating of the artifact.
          items:
            $ref: '#/components/schemas/ArtifactAssessment_Content'
          type: array
        workflowStatus:
          description: Indicates the workflow status of the comment or change request.
          $ref: '#/components/schemas/code'
        _workflowStatus:
          description: Extensions for workflowStatus
          $ref: '#/components/schemas/Element'
        disposition:
          description: Indicates the disposition of the responsible party to the comment
            or change request.
          $ref: '#/components/schemas/code'
        _disposition:
          description: Extensions for disposition
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - resourceType
    ArtifactAssessment_Content:
      description: This Resource provides one or more comments, classifiers or ratings
        about a Resource and supports attribution and rights management metadata for
        the added content.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        informationType:
          description: The type of information this component of the content represents.
          $ref: '#/components/schemas/code'
        _informationType:
          description: Extensions for informationType
          $ref: '#/components/schemas/Element'
        summary:
          description: A brief summary of the content of this component.
          $ref: '#/components/schemas/markdown'
        _summary:
          description: Extensions for summary
          $ref: '#/components/schemas/Element'
        type:
          description: Indicates what type of content this component represents.
          $ref: '#/components/schemas/CodeableConcept'
        classifier:
          description: Represents a rating, classifier, or assessment of the artifact.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        quantity:
          description: A quantitative rating of the artifact.
          $ref: '#/components/schemas/Quantity'
        author:
          description: Indicates who or what authored the content.
          $ref: '#/components/schemas/Reference'
        path:
          description: A URI that points to what the comment is about, such as a line
            of text in the CQL, or a specific element in a resource.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _path:
          description: Extensions for path
          items:
            $ref: '#/components/schemas/Element'
          type: array
        relatedArtifact:
          description: Additional related artifacts that provide supporting documentation,
            additional evidence, or further information related to the content.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        freeToShare:
          description: Acceptable to publicly share the comment, classifier or rating.
          $ref: '#/components/schemas/boolean'
        _freeToShare:
          description: Extensions for freeToShare
          $ref: '#/components/schemas/Element'
        component:
          description: If the informationType is container, the components of the content.
          items:
            $ref: '#/components/schemas/ArtifactAssessment_Content'
          type: array
      type: object
      additionalProperties: false
    AuditEvent:
      description: A record of an event relevant for purposes such as operations, privacy,
        security, maintenance, and performance analysis.
      properties:
        resourceType:
          description: This is a AuditEvent resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        category:
          description: Classification of the type of event.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        code:
          description: Describes what happened. The most specific code for the event.
          $ref: '#/components/schemas/CodeableConcept'
        action:
          description: Indicator for type of action performed during the event that
            generated the audit.
          $ref: '#/components/schemas/code'
        _action:
          description: Extensions for action
          $ref: '#/components/schemas/Element'
        severity:
          description: Indicates and enables segmentation of various severity including
            debugging from critical.
          $ref: '#/components/schemas/code'
        _severity:
          description: Extensions for severity
          $ref: '#/components/schemas/Element'
        occurredPeriod:
          description: The time or period during which the activity occurred.
          $ref: '#/components/schemas/Period'
        occurredDateTime:
          description: The time or period during which the activity occurred.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _occurredDateTime:
          description: Extensions for occurredDateTime
          $ref: '#/components/schemas/Element'
        recorded:
          description: The time when the event was recorded.
          $ref: '#/components/schemas/instant'
        _recorded:
          description: Extensions for recorded
          $ref: '#/components/schemas/Element'
        outcome:
          description: Indicates whether the event succeeded or failed. A free text
            descripiton can be given in outcome.text.
          $ref: '#/components/schemas/AuditEvent_Outcome'
        authorization:
          description: The authorization (e.g., PurposeOfUse) that was used during the
            event being recorded.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        basedOn:
          description: Allows tracing of authorizatino for the events and tracking whether
            proposals/recommendations were acted upon.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        patient:
          description: The patient element is available to enable deterministic tracking
            of activities that involve the patient as the subject of the data used in
            an activity.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: This will typically be the encounter the event occurred, but
            some events may be initiated prior to or after the official completion of
            an encounter but still be tied to the context of the encounter (e.g. pre-admission
            lab tests).
          $ref: '#/components/schemas/Reference'
        agent:
          description: An actor taking an active role in the event or activity that
            is logged.
          items:
            $ref: '#/components/schemas/AuditEvent_Agent'
          type: array
        source:
          description: The actor that is reporting the event.
          $ref: '#/components/schemas/AuditEvent_Source'
        entity:
          description: Specific instances of data or objects that have been accessed.
          items:
            $ref: '#/components/schemas/AuditEvent_Entity'
          type: array
      type: object
      additionalProperties: false
      required:
      - agent
      - code
      - source
      - resourceType
    AuditEvent_Outcome:
      description: A record of an event relevant for purposes such as operations, privacy,
        security, maintenance, and performance analysis.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Indicates whether the event succeeded or failed.
          $ref: '#/components/schemas/Coding'
        detail:
          description: Additional details about the error. This may be a text description
            of the error or a system code that identifies the error.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
    AuditEvent_Agent:
      description: A record of an event relevant for purposes such as operations, privacy,
        security, maintenance, and performance analysis.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The Functional Role of the user when performing the event.
          $ref: '#/components/schemas/CodeableConcept'
        role:
          description: The structural roles of the agent indicating the agent's competency.
            The security role enabling the agent with respect to the activity.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        who:
          description: Reference to who this agent is that was involved in the event.
          $ref: '#/components/schemas/Reference'
        requestor:
          description: Indicator that the user is or is not the requestor, or initiator,
            for the event being audited.
          $ref: '#/components/schemas/boolean'
        _requestor:
          description: Extensions for requestor
          $ref: '#/components/schemas/Element'
        location:
          description: Where the agent location is known, the agent location when the
            event occurred.
          $ref: '#/components/schemas/Reference'
        policy:
          description: Where the policy(ies) are known that authorized the agent participation
            in the event. Typically, a single activity may have multiple applicable
            policies, such as patient consent, guarantor funding, etc. The policy would
            also indicate the security token used.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _policy:
          description: Extensions for policy
          items:
            $ref: '#/components/schemas/Element'
          type: array
        networkReference:
          description: When the event utilizes a network there should be an agent describing
            the local system, and an agent describing remote system, with the network
            interface details.
          $ref: '#/components/schemas/Reference'
        networkUri:
          description: When the event utilizes a network there should be an agent describing
            the local system, and an agent describing remote system, with the network
            interface details.
          pattern: ^\S*$
          type: string
        _networkUri:
          description: Extensions for networkUri
          $ref: '#/components/schemas/Element'
        networkString:
          description: When the event utilizes a network there should be an agent describing
            the local system, and an agent describing remote system, with the network
            interface details.
          pattern: ^^[\s\S]+$$
          type: string
        _networkString:
          description: Extensions for networkString
          $ref: '#/components/schemas/Element'
        authorization:
          description: The authorization (e.g., PurposeOfUse) that was used during the
            event being recorded.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
      required:
      - who
    AuditEvent_Source:
      description: A record of an event relevant for purposes such as operations, privacy,
        security, maintenance, and performance analysis.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        site:
          description: Logical source location within the healthcare enterprise network.  For
            example, a hospital or other provider location within a multi-entity provider
            group.
          $ref: '#/components/schemas/Reference'
        observer:
          description: Identifier of the source where the event was detected.
          $ref: '#/components/schemas/Reference'
        type:
          description: Code specifying the type of source where event originated.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
      required:
      - observer
    AuditEvent_Entity:
      description: A record of an event relevant for purposes such as operations, privacy,
        security, maintenance, and performance analysis.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        what:
          description: Identifies a specific instance of the entity. The reference should
            be version specific. This is allowed to be a Parameters resource.
          $ref: '#/components/schemas/Reference'
        role:
          description: Code representing the role the entity played in the event being
            audited.
          $ref: '#/components/schemas/CodeableConcept'
        securityLabel:
          description: Security labels for the identified entity.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        query:
          description: The query parameters for a query-type entities.
          $ref: '#/components/schemas/base64Binary'
        _query:
          description: Extensions for query
          $ref: '#/components/schemas/Element'
        detail:
          description: Tagged value pairs for conveying additional information about
            the entity.
          items:
            $ref: '#/components/schemas/AuditEvent_Detail'
          type: array
        agent:
          description: The entity is attributed to an agent to express the agent's responsibility
            for that entity in the activity. This is most used to indicate when persistence
            media (the entity) are used by an agent. For example when importing data
            from a device, the device would be described in an entity, and the user
            importing data from that media would be indicated as the entity.agent.
          items:
            $ref: '#/components/schemas/AuditEvent_Agent'
          type: array
      type: object
      additionalProperties: false
    AuditEvent_Detail:
      description: A record of an event relevant for purposes such as operations, privacy,
        security, maintenance, and performance analysis.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of extra detail provided in the value.
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: The  value of the extra detail.
          $ref: '#/components/schemas/Quantity'
        valueCodeableConcept:
          description: The  value of the extra detail.
          $ref: '#/components/schemas/CodeableConcept'
        valueString:
          description: The  value of the extra detail.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: The  value of the extra detail.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The  value of the extra detail.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueRange:
          description: The  value of the extra detail.
          $ref: '#/components/schemas/Range'
        valueRatio:
          description: The  value of the extra detail.
          $ref: '#/components/schemas/Ratio'
        valueTime:
          description: The  value of the extra detail.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _valueTime:
          description: Extensions for valueTime
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The  value of the extra detail.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valuePeriod:
          description: The  value of the extra detail.
          $ref: '#/components/schemas/Period'
        valueBase64Binary:
          description: The  value of the extra detail.
          pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
          type: string
        _valueBase64Binary:
          description: Extensions for valueBase64Binary
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - type
    Basic:
      description: Basic is used for handling concepts not yet defined in FHIR, narrative-only
        resources that don't map to an existing resource, and custom resources not appropriate
        for inclusion in the FHIR specification.
      properties:
        resourceType:
          description: This is a Basic resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifier assigned to the resource for business purposes, outside
            the context of FHIR.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        code:
          description: Identifies the 'type' of resource - equivalent to the resource
            name for other resources.
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: Identifies the patient, practitioner, device or any other resource
            that is the "focus" of this resource.
          $ref: '#/components/schemas/Reference'
        created:
          description: Identifies when the resource was first created.
          $ref: '#/components/schemas/dateTime'
        _created:
          description: Extensions for created
          $ref: '#/components/schemas/Element'
        author:
          description: Indicates who was responsible for creating the resource instance.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - code
      - resourceType
    Binary:
      description: A resource that represents the data of a single raw artifact as digital
        content accessible in its native format.  A Binary resource can contain any
        content, whether text, image, pdf, zip archive, etc.
      properties:
        resourceType:
          description: This is a Binary resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        contentType:
          description: MimeType of the binary content represented as a standard MimeType
            (BCP 13).
          $ref: '#/components/schemas/code'
        _contentType:
          description: Extensions for contentType
          $ref: '#/components/schemas/Element'
        securityContext:
          description: This element identifies another resource that can be used as
            a proxy of the security sensitivity to use when deciding and enforcing access
            control rules for the Binary resource. Given that the Binary resource contains
            very few elements that can be used to determine the sensitivity of the data
            and relationships to individuals, the referenced resource stands in as a
            proxy equivalent for this purpose. This referenced resource may be related
            to the Binary (e.g. DocumentReference), or may be some non-related Resource
            purely as a security proxy. E.g. to identify that the binary resource relates
            to a patient, and access should only be granted to applications that have
            access to the patient.
          $ref: '#/components/schemas/Reference'
        data:
          description: The actual content, base64 encoded.
          $ref: '#/components/schemas/base64Binary'
        _data:
          description: Extensions for data
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - resourceType
    BiologicallyDerivedProduct:
      description: 'This resource reflects an instance of a biologically derived product.
        A material substance originating from a biological entity intended to be transplanted
        or infused

        into another (possibly the same) biological entity.'
      properties:
        resourceType:
          description: This is a BiologicallyDerivedProduct resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        productCategory:
          description: Broad category of this product.
          $ref: '#/components/schemas/Coding'
        productCode:
          description: A codified value that systematically supports characterization
            and classification of medical products of human origin inclusive of processing
            conditions such as additives, volumes and handling conditions.
          $ref: '#/components/schemas/CodeableConcept'
        parent:
          description: Parent product (if any) for this biologically-derived product.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        request:
          description: Request to obtain and/or infuse this biologically derived product.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        identifier:
          description: 'Unique instance identifiers assigned to a biologically derived
            product. Note: This is a business identifier, not a resource identifier.'
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        biologicalSourceEvent:
          description: An identifier that supports traceability to the event during
            which material in this product from one or more biological entities was
            obtained or pooled.
          $ref: '#/components/schemas/Identifier'
        processingFacility:
          description: Processing facilities responsible for the labeling and distribution
            of this biologically derived product.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        division:
          description: A unique identifier for an aliquot of a product.  Used to distinguish
            individual aliquots of a product carrying the same biologicalSource and
            productCode identifiers.
          $ref: '#/components/schemas/string'
        _division:
          description: Extensions for division
          $ref: '#/components/schemas/Element'
        productStatus:
          description: Whether the product is currently available.
          $ref: '#/components/schemas/Coding'
        expirationDate:
          description: Date, and where relevant time, of expiration.
          $ref: '#/components/schemas/dateTime'
        _expirationDate:
          description: Extensions for expirationDate
          $ref: '#/components/schemas/Element'
        collection:
          description: How this product was collected.
          $ref: '#/components/schemas/BiologicallyDerivedProduct_Collection'
        storageTempRequirements:
          description: The temperature requirements for storage of the biologically-derived
            product.
          $ref: '#/components/schemas/Range'
        property:
          description: A property that is specific to this BiologicallyDerviedProduct
            instance.
          items:
            $ref: '#/components/schemas/BiologicallyDerivedProduct_Property'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    BiologicallyDerivedProduct_Collection:
      description: 'This resource reflects an instance of a biologically derived product.
        A material substance originating from a biological entity intended to be transplanted
        or infused

        into another (possibly the same) biological entity.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        collector:
          description: Healthcare professional who is performing the collection.
          $ref: '#/components/schemas/Reference'
        source:
          description: The patient or entity, such as a hospital or vendor in the case
            of a processed/manipulated/manufactured product, providing the product.
          $ref: '#/components/schemas/Reference'
        collectedDateTime:
          description: Time of product collection.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _collectedDateTime:
          description: Extensions for collectedDateTime
          $ref: '#/components/schemas/Element'
        collectedPeriod:
          description: Time of product collection.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
    BiologicallyDerivedProduct_Property:
      description: 'This resource reflects an instance of a biologically derived product.
        A material substance originating from a biological entity intended to be transplanted
        or infused

        into another (possibly the same) biological entity.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Code that specifies the property. It should reference an established
            coding system.
          $ref: '#/components/schemas/CodeableConcept'
        valueBoolean:
          description: Property values.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: Property values.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueCodeableConcept:
          description: Property values.
          $ref: '#/components/schemas/CodeableConcept'
        valuePeriod:
          description: Property values.
          $ref: '#/components/schemas/Period'
        valueQuantity:
          description: Property values.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: Property values.
          $ref: '#/components/schemas/Range'
        valueRatio:
          description: Property values.
          $ref: '#/components/schemas/Ratio'
        valueString:
          description: Property values.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueAttachment:
          description: Property values.
          $ref: '#/components/schemas/Attachment'
      type: object
      additionalProperties: false
      required:
      - type
    BiologicallyDerivedProductDispense:
      description: This resource reflects an instance of a biologically derived product
        dispense. The supply or dispense of a biologically derived product from the
        supply organization or department (e.g. hospital transfusion laboratory) to
        the clinical team responsible for clinical application.
      properties:
        resourceType:
          description: This is a BiologicallyDerivedProductDispense resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: 'Unique instance identifiers assigned to a biologically derived
            product dispense. Note: This is a business identifier, not a resource identifier.'
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        basedOn:
          description: The order or request that the dispense is fulfilling. This is
            a reference to a ServiceRequest resource.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        partOf:
          description: A larger event of which this particular event is a component.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: A code specifying the state of the dispense event.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        originRelationshipType:
          description: Indicates the relationship between the donor of the biologically
            derived product and the intended recipient.
          $ref: '#/components/schemas/CodeableConcept'
        product:
          description: A link to a resource identifying the biologically derived product
            that is being dispensed.
          $ref: '#/components/schemas/Reference'
        patient:
          description: A link to a resource representing the patient that the product
            is dispensed for.
          $ref: '#/components/schemas/Reference'
        matchStatus:
          description: Indicates the type of matching associated with the dispense.
          $ref: '#/components/schemas/CodeableConcept'
        performer:
          description: Indicates who or what performed an action.
          items:
            $ref: '#/components/schemas/BiologicallyDerivedProductDispense_Performer'
          type: array
        location:
          description: The physical location where the dispense was performed.
          $ref: '#/components/schemas/Reference'
        quantity:
          description: 'The amount of product in the dispense. Quantity will depend
            on the product being dispensed. Examples are: volume; cell count; concentration.'
          $ref: '#/components/schemas/Quantity'
        preparedDate:
          description: When the product was selected/ matched.
          $ref: '#/components/schemas/dateTime'
        _preparedDate:
          description: Extensions for preparedDate
          $ref: '#/components/schemas/Element'
        whenHandedOver:
          description: When the product was dispatched for clinical use.
          $ref: '#/components/schemas/dateTime'
        _whenHandedOver:
          description: Extensions for whenHandedOver
          $ref: '#/components/schemas/Element'
        destination:
          description: Link to a resource identifying the physical location that the
            product was dispatched to.
          $ref: '#/components/schemas/Reference'
        note:
          description: Additional notes.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        usageInstruction:
          description: Specific instructions for use.
          $ref: '#/components/schemas/string'
        _usageInstruction:
          description: Extensions for usageInstruction
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - product
      - patient
      - resourceType
    BiologicallyDerivedProductDispense_Performer:
      description: This resource reflects an instance of a biologically derived product
        dispense. The supply or dispense of a biologically derived product from the
        supply organization or department (e.g. hospital transfusion laboratory) to
        the clinical team responsible for clinical application.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        function:
          description: Identifies the function of the performer during the dispense.
          $ref: '#/components/schemas/CodeableConcept'
        actor:
          description: Identifies the person responsible for the action.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - actor
    BodyStructure:
      description: Record details about an anatomical structure.  This resource may
        be used when a coded concept does not provide the necessary detail needed for
        the use case.
      properties:
        resourceType:
          description: This is a BodyStructure resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifier for this instance of the anatomical structure.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        active:
          description: Whether this body site is in active use.
          $ref: '#/components/schemas/boolean'
        _active:
          description: Extensions for active
          $ref: '#/components/schemas/Element'
        morphology:
          description: The kind of structure being represented by the body structure
            at `BodyStructure.location`.  This can define both normal and abnormal morphologies.
          $ref: '#/components/schemas/CodeableConcept'
        includedStructure:
          description: The anatomical location(s) or region(s) of the specimen, lesion,
            or body structure.
          items:
            $ref: '#/components/schemas/BodyStructure_IncludedStructure'
          type: array
        excludedStructure:
          description: The anatomical location(s) or region(s) not occupied or represented
            by the specimen, lesion, or body structure.
          items:
            $ref: '#/components/schemas/BodyStructure_IncludedStructure'
          type: array
        description:
          description: A summary, characterization or explanation of the body structure.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        image:
          description: Image or images used to identify a location.
          items:
            $ref: '#/components/schemas/Attachment'
          type: array
        patient:
          description: The person to which the body site belongs.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - includedStructure
      - patient
      - resourceType
    BodyStructure_IncludedStructure:
      description: Record details about an anatomical structure.  This resource may
        be used when a coded concept does not provide the necessary detail needed for
        the use case.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        structure:
          description: Code that represents the included structure.
          $ref: '#/components/schemas/CodeableConcept'
        laterality:
          description: Code that represents the included structure laterality.
          $ref: '#/components/schemas/CodeableConcept'
        bodyLandmarkOrientation:
          description: Body locations in relation to a specific body landmark (tatoo,
            scar, other body structure).
          items:
            $ref: '#/components/schemas/BodyStructure_BodyLandmarkOrientation'
          type: array
        spatialReference:
          description: XY or XYZ-coordinate orientation for structure.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        qualifier:
          description: Code that represents the included structure qualifier.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
      required:
      - structure
    BodyStructure_BodyLandmarkOrientation:
      description: Record details about an anatomical structure.  This resource may
        be used when a coded concept does not provide the necessary detail needed for
        the use case.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        landmarkDescription:
          description: A description of a landmark on the body used as a reference to
            locate something else.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        clockFacePosition:
          description: An description of the direction away from a landmark something
            is located based on a radial clock dial.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        distanceFromLandmark:
          description: The distance in centimeters a certain observation is made from
            a body landmark.
          items:
            $ref: '#/components/schemas/BodyStructure_DistanceFromLandmark'
          type: array
        surfaceOrientation:
          description: The surface area a body location is in relation to a landmark.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
    BodyStructure_DistanceFromLandmark:
      description: Record details about an anatomical structure.  This resource may
        be used when a coded concept does not provide the necessary detail needed for
        the use case.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        device:
          description: An instrument, tool, analyzer, etc. used in the measurement.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        value:
          description: The measured distance (e.g., in cm) from a body landmark.
          items:
            $ref: '#/components/schemas/Quantity'
          type: array
      type: object
      additionalProperties: false
    Bundle:
      description: A container for a collection of resources.
      properties:
        resourceType:
          description: This is a Bundle resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        identifier:
          description: A persistent identifier for the bundle that won't change as a
            bundle is copied from server to server.
          $ref: '#/components/schemas/Identifier'
        type:
          description: Indicates the purpose of this bundle - how it is intended to
            be used.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        timestamp:
          description: The date/time that the bundle was assembled - i.e. when the resources
            were placed in the bundle.
          $ref: '#/components/schemas/instant'
        _timestamp:
          description: Extensions for timestamp
          $ref: '#/components/schemas/Element'
        total:
          description: If a set of search matches, this is the (potentially estimated)
            total number of entries of type 'match' across all pages in the search.  It
            does not include search.mode = 'include' or 'outcome' entries and it does
            not provide a count of the number of entries in the Bundle.
          $ref: '#/components/schemas/unsignedInt'
        _total:
          description: Extensions for total
          $ref: '#/components/schemas/Element'
        link:
          description: A series of links that provide context to this bundle.
          items:
            $ref: '#/components/schemas/Bundle_Link'
          type: array
        entry:
          description: An entry in a bundle resource - will either contain a resource
            or information about a resource (transactions and history only).
          items:
            $ref: '#/components/schemas/Bundle_Entry'
          type: array
        signature:
          description: Digital Signature - base64 encoded. XML-DSig or a JWS.
          $ref: '#/components/schemas/Signature'
        issues:
          description: Captures issues and warnings that relate to the construction
            of the Bundle and the content within it.
          $ref: '#/components/schemas/ResourceList'
      type: object
      additionalProperties: false
      required:
      - resourceType
    Bundle_Link:
      description: A container for a collection of resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        relation:
          description: A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1).
          $ref: '#/components/schemas/code'
        _relation:
          description: Extensions for relation
          $ref: '#/components/schemas/Element'
        url:
          description: The reference details for the link.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Bundle_Entry:
      description: A container for a collection of resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        link:
          description: A series of links that provide context to this entry.
          items:
            $ref: '#/components/schemas/Bundle_Link'
          type: array
        fullUrl:
          description: "The Absolute URL for the resource. Except for transactions and\
            \ batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL\
            \ NOT disagree with the id in the resource - i.e. if the fullUrl is not\
            \ a urn:uuid, the URL shall be version-independent URL consistent with the\
            \ Resource.id. The fullUrl is a version independent reference to the resource.\
            \ Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing\
            \ entries in a transaction. The fullUrl can be an arbitrary URI and is not\
            \ limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL\
            \ have a value except when: \n* invoking a create\n* invoking or responding\
            \ to an operation where the body is not a single identified resource\n*\
            \ invoking or returning the results of a search or history operation."
          $ref: '#/components/schemas/uri'
        _fullUrl:
          description: Extensions for fullUrl
          $ref: '#/components/schemas/Element'
        resource:
          description: The Resource for the entry. The purpose/meaning of the resource
            is determined by the Bundle.type. This is allowed to be a Parameters resource
            if and only if it is referenced by something else within the Bundle that
            provides context/meaning.
          $ref: '#/components/schemas/ResourceList'
        search:
          description: Information about the search process that lead to the creation
            of this entry.
          $ref: '#/components/schemas/Bundle_Search'
        request:
          description: Additional information about how this entry should be processed
            as part of a transaction or batch.  For history, it shows how the entry
            was processed to create the version contained in the entry.
          $ref: '#/components/schemas/Bundle_Request'
        response:
          description: Indicates the results of processing the corresponding 'request'
            entry in the batch or transaction being responded to or what the results
            of an operation where when returning history.
          $ref: '#/components/schemas/Bundle_Response'
      type: object
      additionalProperties: false
    Bundle_Search:
      description: A container for a collection of resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        mode:
          description: Why this entry is in the result set - whether it's included as
            a match or because of an _include requirement, or to convey information
            or warning information about the search process.
          $ref: '#/components/schemas/code'
        _mode:
          description: Extensions for mode
          $ref: '#/components/schemas/Element'
        score:
          description: When searching, the server's search ranking score for the entry.
          $ref: '#/components/schemas/decimal'
        _score:
          description: Extensions for score
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Bundle_Request:
      description: A container for a collection of resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        method:
          description: In a transaction or batch, this is the HTTP action to be executed
            for this entry. In a history bundle, this indicates the HTTP action that
            occurred.
          $ref: '#/components/schemas/code'
        _method:
          description: Extensions for method
          $ref: '#/components/schemas/Element'
        url:
          description: The URL for this entry, relative to the root (the address to
            which the request is posted).
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        ifNoneMatch:
          description: If the ETag values match, return a 304 Not Modified status. See
            the API documentation for ["Conditional Read"](http.html#cread).
          $ref: '#/components/schemas/string'
        _ifNoneMatch:
          description: Extensions for ifNoneMatch
          $ref: '#/components/schemas/Element'
        ifModifiedSince:
          description: Only perform the operation if the last updated date matches.
            See the API documentation for ["Conditional Read"](http.html#cread).
          $ref: '#/components/schemas/instant'
        _ifModifiedSince:
          description: Extensions for ifModifiedSince
          $ref: '#/components/schemas/Element'
        ifMatch:
          description: Only perform the operation if the Etag value matches. For more
            information, see the API section ["Managing Resource Contention"](http.html#concurrency).
          $ref: '#/components/schemas/string'
        _ifMatch:
          description: Extensions for ifMatch
          $ref: '#/components/schemas/Element'
        ifNoneExist:
          description: Instruct the server not to perform the create if a specified
            resource already exists. For further information, see the API documentation
            for ["Conditional Create"](http.html#ccreate). This is just the query portion
            of the URL - what follows the "?" (not including the "?").
          $ref: '#/components/schemas/string'
        _ifNoneExist:
          description: Extensions for ifNoneExist
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Bundle_Response:
      description: A container for a collection of resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        status:
          description: The status code returned by processing this entry. The status
            SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard
            HTTP description associated with the status code.
          $ref: '#/components/schemas/string'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        location:
          description: The location header created by processing this operation, populated
            if the operation returns a location.
          $ref: '#/components/schemas/uri'
        _location:
          description: Extensions for location
          $ref: '#/components/schemas/Element'
        etag:
          description: The Etag for the resource, if the operation for the entry produced
            a versioned resource (see [Resource Metadata and Versioning](http.html#versioning)
            and [Managing Resource Contention](http.html#concurrency)).
          $ref: '#/components/schemas/string'
        _etag:
          description: Extensions for etag
          $ref: '#/components/schemas/Element'
        lastModified:
          description: The date/time that the resource was modified on the server.
          $ref: '#/components/schemas/instant'
        _lastModified:
          description: Extensions for lastModified
          $ref: '#/components/schemas/Element'
        outcome:
          description: An OperationOutcome containing hints and warnings produced as
            part of processing this entry in a batch or transaction.
          $ref: '#/components/schemas/ResourceList'
      type: object
      additionalProperties: false
    CapabilityStatement:
      description: A Capability Statement documents a set of capabilities (behaviors)
        of a FHIR Server or Client for a particular version of FHIR that may be used
        as a statement of actual server functionality or a statement of required or
        desired server implementation.
      properties:
        resourceType:
          description: This is a CapabilityStatement resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this capability statement
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this capability
            statement is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the capability statement is stored
            on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this CapabilityStatement
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the capability
            statement when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the capability statement author and
            is not expected to be globally unique. For example, it might be a timestamp
            (e.g. yyyymmdd) if a managed version is not available. There is also no
            expectation that versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the capability statement.
            This name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the capability
            statement.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this capability statement. Enables tracking the
            life-cycle of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this capability statement is
            authored for testing purposes (or education/evaluation/marketing) and is
            not intended to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the capability statement
            was last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the capability statement changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the capability statement.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the capability statement
            from a consumer's perspective. Typically, this is used when the capability
            statement describes a desired rather than an actual solution, for example
            as a formal expression of requirements as part of an RFP.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            capability statement instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the capability statement
            is intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this capability statement is needed and why
            it has been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the capability statement and/or
            its contents. Copyright statements are generally legal restrictions on the
            use and publishing of the capability statement.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        kind:
          description: The way that this statement is intended to be used, to describe
            an actual running instance of software, a particular product (kind, not
            instance of software) or a class of implementation (e.g. a desired purchase).
          $ref: '#/components/schemas/code'
        _kind:
          description: Extensions for kind
          $ref: '#/components/schemas/Element'
        instantiates:
          description: Reference to a canonical URL of another CapabilityStatement that
            this software implements. This capability statement is a published API description
            that corresponds to a business service. The server may actually implement
            a subset of the capability statement it claims to implement, so the capability
            statement must specify the full capability details.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        imports:
          description: Reference to a canonical URL of another CapabilityStatement that
            this software adds to. The capability statement automatically includes everything
            in the other statement, and it is not duplicated, though the server may
            repeat the same resources, interactions and operations to add additional
            details to them.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        software:
          description: Software that is covered by this capability statement.  It is
            used when the capability statement describes the capabilities of a particular
            software version, independent of an installation.
          $ref: '#/components/schemas/CapabilityStatement_Software'
        implementation:
          description: Identifies a specific implementation instance that is described
            by the capability statement - i.e. a particular installation, rather than
            the capabilities of a software program.
          $ref: '#/components/schemas/CapabilityStatement_Implementation'
        fhirVersion:
          description: The version of the FHIR specification that this CapabilityStatement
            describes (which SHALL be the same as the FHIR version of the CapabilityStatement
            itself). There is no default value.
          $ref: '#/components/schemas/code'
        _fhirVersion:
          description: Extensions for fhirVersion
          $ref: '#/components/schemas/Element'
        format:
          description: A list of the formats supported by this implementation using
            their content types.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _format:
          description: Extensions for format
          items:
            $ref: '#/components/schemas/Element'
          type: array
        patchFormat:
          description: A list of the patch formats supported by this implementation
            using their content types.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _patchFormat:
          description: Extensions for patchFormat
          items:
            $ref: '#/components/schemas/Element'
          type: array
        acceptLanguage:
          description: A list of the languages supported by this implementation that
            are usefully supported in the ```Accept-Language``` header.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _acceptLanguage:
          description: Extensions for acceptLanguage
          items:
            $ref: '#/components/schemas/Element'
          type: array
        implementationGuide:
          description: A list of implementation guides that the server does (or should)
            support in their entirety.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        rest:
          description: A definition of the restful capabilities of the solution, if
            any.
          items:
            $ref: '#/components/schemas/CapabilityStatement_Rest'
          type: array
        messaging:
          description: A description of the messaging capabilities of the solution.
          items:
            $ref: '#/components/schemas/CapabilityStatement_Messaging'
          type: array
        document:
          description: A document definition.
          items:
            $ref: '#/components/schemas/CapabilityStatement_Document'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    CapabilityStatement_Software:
      description: A Capability Statement documents a set of capabilities (behaviors)
        of a FHIR Server or Client for a particular version of FHIR that may be used
        as a statement of actual server functionality or a statement of required or
        desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: Name the software is known by.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        version:
          description: The version identifier for the software covered by this statement.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        releaseDate:
          description: Date this version of the software was released.
          $ref: '#/components/schemas/dateTime'
        _releaseDate:
          description: Extensions for releaseDate
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    CapabilityStatement_Implementation:
      description: A Capability Statement documents a set of capabilities (behaviors)
        of a FHIR Server or Client for a particular version of FHIR that may be used
        as a statement of actual server functionality or a statement of required or
        desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: Information about the specific installation that this capability
            statement relates to.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        url:
          description: An absolute base URL for the implementation.  This forms the
            base for REST interfaces as well as the mailbox and document interfaces.
          $ref: '#/components/schemas/url'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        custodian:
          description: The organization responsible for the management of the instance
            and oversight of the data on the server at the specified URL.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    CapabilityStatement_Rest:
      description: A Capability Statement documents a set of capabilities (behaviors)
        of a FHIR Server or Client for a particular version of FHIR that may be used
        as a statement of actual server functionality or a statement of required or
        desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        mode:
          description: Identifies whether this portion of the statement is describing
            the ability to initiate or receive restful operations.
          $ref: '#/components/schemas/code'
        _mode:
          description: Extensions for mode
          $ref: '#/components/schemas/Element'
        documentation:
          description: Information about the system's restful capabilities that apply
            across all applications, such as security.
          $ref: '#/components/schemas/markdown'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
        security:
          description: Information about security implementation from an interface perspective
            - what a client needs to know.
          $ref: '#/components/schemas/CapabilityStatement_Security'
        resource:
          description: A specification of the restful capabilities of the solution for
            a specific resource type.
          items:
            $ref: '#/components/schemas/CapabilityStatement_Resource'
          type: array
        interaction:
          description: A specification of restful operations supported by the system.
          items:
            $ref: '#/components/schemas/CapabilityStatement_Interaction1'
          type: array
        searchParam:
          description: Search parameters that are supported for searching all resources
            for implementations to support and/or make use of - either references to
            ones defined in the specification, or additional ones defined for/by the
            implementation. This is only for searches executed against the system-level
            endpoint.
          items:
            $ref: '#/components/schemas/CapabilityStatement_SearchParam'
          type: array
        operation:
          description: Definition of an operation or a named query together with its
            parameters and their meaning and type.
          items:
            $ref: '#/components/schemas/CapabilityStatement_Operation'
          type: array
        compartment:
          description: An absolute URI which is a reference to the definition of a compartment
            that the system supports. The reference is to a CompartmentDefinition resource
            by its canonical URL .
          items:
            $ref: '#/components/schemas/canonical'
          type: array
      type: object
      additionalProperties: false
    CapabilityStatement_Security:
      description: A Capability Statement documents a set of capabilities (behaviors)
        of a FHIR Server or Client for a particular version of FHIR that may be used
        as a statement of actual server functionality or a statement of required or
        desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        cors:
          description: Server adds CORS headers when responding to requests - this enables
            Javascript applications to use the server.
          $ref: '#/components/schemas/boolean'
        _cors:
          description: Extensions for cors
          $ref: '#/components/schemas/Element'
        service:
          description: Types of security services that are supported/required by the
            system.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        description:
          description: General description of how security works.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    CapabilityStatement_Resource:
      description: A Capability Statement documents a set of capabilities (behaviors)
        of a FHIR Server or Client for a particular version of FHIR that may be used
        as a statement of actual server functionality or a statement of required or
        desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: A type of resource exposed via the restful interface.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        profile:
          description: A system-wide profile that is applied across *all* instances
            of the resource supported by the system. For example, if declared on Observation,
            this profile is the "superset" of capabilities for laboratory *and* vitals
            *and* other domains. See further discussion in [Using Profiles](profiling.html#profile-uses).
          $ref: '#/components/schemas/canonical'
        supportedProfile:
          description: A list of profiles representing different use cases the system
            hosts/produces. A supported profile is a statement about the functionality
            of the data and services provided by the server (or the client) for supported
            use cases. For example, a system can define and declare multiple Observation
            profiles for laboratory observations, vital sign observations, etc. By declaring
            supported profiles, systems provide a way to determine whether individual
            resources are conformant. See further discussion in [Using Profiles](profiling.html#profile-uses).
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        documentation:
          description: Additional information about the resource type used by the system.
          $ref: '#/components/schemas/markdown'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
        interaction:
          description: Identifies a restful operation supported by the solution.
          items:
            $ref: '#/components/schemas/CapabilityStatement_Interaction'
          type: array
        versioning:
          description: This field is set to no-version to specify that the system does
            not support (server) or use (client) versioning for this resource type.
            If this has some other value, the server must at least correctly track and
            populate the versionId meta-property on resources. If the value is 'versioned-update',
            then the server supports all the versioning features, including using e-tags
            for version integrity in the API.
          $ref: '#/components/schemas/code'
        _versioning:
          description: Extensions for versioning
          $ref: '#/components/schemas/Element'
        readHistory:
          description: A flag for whether the server is able to return past versions
            as part of the vRead operation.
          $ref: '#/components/schemas/boolean'
        _readHistory:
          description: Extensions for readHistory
          $ref: '#/components/schemas/Element'
        updateCreate:
          description: A flag to indicate that the server allows or needs to allow the
            client to create new identities on the server (that is, the client PUTs
            to a location where there is no existing resource). Allowing this operation
            means that the server allows the client to create new identities on the
            server.
          $ref: '#/components/schemas/boolean'
        _updateCreate:
          description: Extensions for updateCreate
          $ref: '#/components/schemas/Element'
        conditionalCreate:
          description: A flag that indicates that the server supports conditional create.
          $ref: '#/components/schemas/boolean'
        _conditionalCreate:
          description: Extensions for conditionalCreate
          $ref: '#/components/schemas/Element'
        conditionalRead:
          description: A code that indicates how the server supports conditional read.
          $ref: '#/components/schemas/code'
        _conditionalRead:
          description: Extensions for conditionalRead
          $ref: '#/components/schemas/Element'
        conditionalUpdate:
          description: A flag that indicates that the server supports conditional update.
          $ref: '#/components/schemas/boolean'
        _conditionalUpdate:
          description: Extensions for conditionalUpdate
          $ref: '#/components/schemas/Element'
        conditionalPatch:
          description: A flag that indicates that the server supports conditional patch.
          $ref: '#/components/schemas/boolean'
        _conditionalPatch:
          description: Extensions for conditionalPatch
          $ref: '#/components/schemas/Element'
        conditionalDelete:
          description: A code that indicates how the server supports conditional delete.
          $ref: '#/components/schemas/code'
        _conditionalDelete:
          description: Extensions for conditionalDelete
          $ref: '#/components/schemas/Element'
        referencePolicy:
          description: A set of flags that defines how references are supported.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _referencePolicy:
          description: Extensions for referencePolicy
          items:
            $ref: '#/components/schemas/Element'
          type: array
        searchInclude:
          description: A list of _include values supported by the server.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _searchInclude:
          description: Extensions for searchInclude
          items:
            $ref: '#/components/schemas/Element'
          type: array
        searchRevInclude:
          description: A list of _revinclude (reverse include) values supported by the
            server.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _searchRevInclude:
          description: Extensions for searchRevInclude
          items:
            $ref: '#/components/schemas/Element'
          type: array
        searchParam:
          description: Search parameters for implementations to support and/or make
            use of - either references to ones defined in the specification, or additional
            ones defined for/by the implementation.
          items:
            $ref: '#/components/schemas/CapabilityStatement_SearchParam'
          type: array
        operation:
          description: Definition of an operation or a named query together with its
            parameters and their meaning and type. Consult the definition of the operation
            for details about how to invoke the operation, and the parameters.
          items:
            $ref: '#/components/schemas/CapabilityStatement_Operation'
          type: array
      type: object
      additionalProperties: false
    CapabilityStatement_Interaction:
      description: A Capability Statement documents a set of capabilities (behaviors)
        of a FHIR Server or Client for a particular version of FHIR that may be used
        as a statement of actual server functionality or a statement of required or
        desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Coded identifier of the operation, supported by the system resource.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        documentation:
          description: Guidance specific to the implementation of this operation, such
            as 'delete is a logical delete' or 'updates are only allowed with version
            id' or 'creates permitted from pre-authorized certificates only'.
          $ref: '#/components/schemas/markdown'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    CapabilityStatement_SearchParam:
      description: A Capability Statement documents a set of capabilities (behaviors)
        of a FHIR Server or Client for a particular version of FHIR that may be used
        as a statement of actual server functionality or a statement of required or
        desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: The label used for the search parameter in this particular system's
            API - i.e. the 'name' portion of the name-value pair that will appear as
            part of the search URL.  This SHOULD be the same as the SearchParameter.code
            of the defining SearchParameter.  However, it can sometimes differ if necessary
            to disambiguate when a server supports multiple SearchParameters that happen
            to share the same code.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        definition:
          description: An absolute URI that is a formal reference to where this parameter
            was first defined, so that a client can be confident of the meaning of the
            search parameter (a reference to [SearchParameter.url](searchparameter-definitions.html#SearchParameter.url)).
            This element SHALL be populated if the search parameter refers to a SearchParameter
            defined by the FHIR core specification or externally defined IGs.
          $ref: '#/components/schemas/canonical'
        type:
          description: The type of value a search parameter refers to, and how the content
            is interpreted.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        documentation:
          description: This allows documentation of any distinct behaviors about how
            the search parameter is used.  For example, text matching algorithms.
          $ref: '#/components/schemas/markdown'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    CapabilityStatement_Operation:
      description: A Capability Statement documents a set of capabilities (behaviors)
        of a FHIR Server or Client for a particular version of FHIR that may be used
        as a statement of actual server functionality or a statement of required or
        desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: The name of the operation or query. For an operation, this name
            is prefixed with $ and used in the URL. For a query, this is the name used
            in the _query parameter when the query is called. This SHOULD be the same
            as the OperationDefinition.code of the defining OperationDefinition.  However,
            it can sometimes differ if necessary to disambiguate when a server supports
            multiple OperationDefinition that happen to share the same code.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        definition:
          description: Where the formal definition can be found. If a server references
            the base definition of an Operation (i.e. from the specification itself
            such as ```http://hl7.org/fhir/OperationDefinition/ValueSet-expand```),
            that means it supports the full capabilities of the operation - e.g. both
            GET and POST invocation.  If it only supports a subset, it must define its
            own custom [OperationDefinition](operationdefinition.html#) with a 'base'
            of the original OperationDefinition.  The custom definition would describe
            the specific subset of functionality supported.
          $ref: '#/components/schemas/canonical'
        documentation:
          description: Documentation that describes anything special about the operation
            behavior, possibly detailing different behavior for system, type and instance-level
            invocation of the operation.
          $ref: '#/components/schemas/markdown'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - definition
    CapabilityStatement_Interaction1:
      description: A Capability Statement documents a set of capabilities (behaviors)
        of a FHIR Server or Client for a particular version of FHIR that may be used
        as a statement of actual server functionality or a statement of required or
        desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A coded identifier of the operation, supported by the system.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        documentation:
          description: Guidance specific to the implementation of this operation, such
            as limitations on the kind of transactions allowed, or information about
            system wide search is implemented.
          $ref: '#/components/schemas/markdown'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    CapabilityStatement_Messaging:
      description: A Capability Statement documents a set of capabilities (behaviors)
        of a FHIR Server or Client for a particular version of FHIR that may be used
        as a statement of actual server functionality or a statement of required or
        desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        endpoint:
          description: An endpoint (network accessible address) to which messages and/or
            replies are to be sent.
          items:
            $ref: '#/components/schemas/CapabilityStatement_Endpoint'
          type: array
        reliableCache:
          description: Length if the receiver's reliable messaging cache in minutes
            (if a receiver) or how long the cache length on the receiver should be (if
            a sender).
          $ref: '#/components/schemas/unsignedInt'
        _reliableCache:
          description: Extensions for reliableCache
          $ref: '#/components/schemas/Element'
        documentation:
          description: Documentation about the system's messaging capabilities for this
            endpoint not otherwise documented by the capability statement.  For example,
            the process for becoming an authorized messaging exchange partner.
          $ref: '#/components/schemas/markdown'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
        supportedMessage:
          description: References to message definitions for messages this system can
            send or receive.
          items:
            $ref: '#/components/schemas/CapabilityStatement_SupportedMessage'
          type: array
      type: object
      additionalProperties: false
    CapabilityStatement_Endpoint:
      description: A Capability Statement documents a set of capabilities (behaviors)
        of a FHIR Server or Client for a particular version of FHIR that may be used
        as a statement of actual server functionality or a statement of required or
        desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        protocol:
          description: A list of the messaging transport protocol(s) identifiers, supported
            by this endpoint.
          $ref: '#/components/schemas/Coding'
        address:
          description: The network address of the endpoint. For solutions that do not
            use network addresses for routing, it can be just an identifier.
          $ref: '#/components/schemas/url'
        _address:
          description: Extensions for address
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - protocol
    CapabilityStatement_SupportedMessage:
      description: A Capability Statement documents a set of capabilities (behaviors)
        of a FHIR Server or Client for a particular version of FHIR that may be used
        as a statement of actual server functionality or a statement of required or
        desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        mode:
          description: The mode of this event declaration - whether application is sender
            or receiver.
          $ref: '#/components/schemas/code'
        _mode:
          description: Extensions for mode
          $ref: '#/components/schemas/Element'
        definition:
          description: Points to a message definition that identifies the messaging
            event, message structure, allowed responses, etc.
          $ref: '#/components/schemas/canonical'
      type: object
      additionalProperties: false
      required:
      - definition
    CapabilityStatement_Document:
      description: A Capability Statement documents a set of capabilities (behaviors)
        of a FHIR Server or Client for a particular version of FHIR that may be used
        as a statement of actual server functionality or a statement of required or
        desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        mode:
          description: Mode of this document declaration - whether an application is
            a producer or consumer.
          $ref: '#/components/schemas/code'
        _mode:
          description: Extensions for mode
          $ref: '#/components/schemas/Element'
        documentation:
          description: A description of how the application supports or uses the specified
            document profile.  For example, when documents are created, what action
            is taken with consumed documents, etc.
          $ref: '#/components/schemas/markdown'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
        profile:
          description: A profile on the document Bundle that constrains which resources
            are present, and their contents.
          $ref: '#/components/schemas/canonical'
      type: object
      additionalProperties: false
      required:
      - profile
    CarePlan:
      description: Describes the intention of how one or more practitioners intend to
        deliver care for a particular patient, group or community for a period of time,
        possibly limited to care for a specific condition or set of conditions.
      properties:
        resourceType:
          description: This is a CarePlan resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this care plan by the performer
            or other systems which remain constant as the resource is updated and propagates
            from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        instantiatesCanonical:
          description: The URL pointing to a FHIR-defined protocol, guideline, questionnaire
            or other definition that is adhered to in whole or in part by this CarePlan.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        instantiatesUri:
          description: The URL pointing to an externally maintained protocol, guideline,
            questionnaire or other definition that is adhered to in whole or in part
            by this CarePlan.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _instantiatesUri:
          description: Extensions for instantiatesUri
          items:
            $ref: '#/components/schemas/Element'
          type: array
        basedOn:
          description: A higher-level request resource (i.e. a plan, proposal or order)
            that is fulfilled in whole or in part by this care plan.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        replaces:
          description: Completed or terminated care plan whose function is taken by
            this new care plan.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        partOf:
          description: A larger care plan of which this particular care plan is a component
            or step.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: Indicates whether the plan is currently being acted upon, represents
            future intentions or is now a historical record.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        intent:
          description: Indicates the level of authority/intentionality associated with
            the care plan and where the care plan fits into the workflow chain.
          $ref: '#/components/schemas/code'
        _intent:
          description: Extensions for intent
          $ref: '#/components/schemas/Element'
        category:
          description: Identifies what "kind" of plan this is to support differentiation
            between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma",
            "disease management", "wellness plan", etc.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        title:
          description: Human-friendly name for the care plan.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        description:
          description: A description of the scope and nature of the plan.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        subject:
          description: Identifies the patient or group whose intended care is described
            by the plan.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The Encounter during which this CarePlan was created or to which
            the creation of this record is tightly associated.
          $ref: '#/components/schemas/Reference'
        period:
          description: Indicates when the plan did (or is intended to) come into effect
            and end.
          $ref: '#/components/schemas/Period'
        created:
          description: Represents when this particular CarePlan record was created in
            the system, which is often a system-generated date.
          $ref: '#/components/schemas/dateTime'
        _created:
          description: Extensions for created
          $ref: '#/components/schemas/Element'
        custodian:
          description: When populated, the custodian is responsible for the care plan.
            The care plan is attributed to the custodian.
          $ref: '#/components/schemas/Reference'
        contributor:
          description: Identifies the individual(s), organization or device who provided
            the contents of the care plan.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        careTeam:
          description: Identifies all people and organizations who are expected to be
            involved in the care envisioned by this plan.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        addresses:
          description: Identifies the conditions/problems/concerns/diagnoses/etc. whose
            management and/or mitigation are handled by this plan.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        supportingInfo:
          description: Identifies portions of the patient's record that specifically
            influenced the formation of the plan.  These might include comorbidities,
            recent procedures, limitations, recent assessments, etc.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        goal:
          description: Describes the intended objective(s) of carrying out the care
            plan.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        activity:
          description: Identifies an action that has occurred or is a planned action
            to occur as part of the plan. For example, a medication to be used, lab
            tests to perform, self-monitoring that has occurred, education etc.
          items:
            $ref: '#/components/schemas/CarePlan_Activity'
          type: array
        note:
          description: General notes about the care plan not covered elsewhere.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - resourceType
    CarePlan_Activity:
      description: Describes the intention of how one or more practitioners intend to
        deliver care for a particular patient, group or community for a period of time,
        possibly limited to care for a specific condition or set of conditions.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        performedActivity:
          description: Identifies the activity that was performed. For example, an activity
            could be patient education, exercise, or a medication administration. The
            reference to an "event" resource, such as Procedure or Encounter or Observation,
            represents the activity that was performed. The requested activity can be
            conveyed using the CarePlan.activity.plannedActivityReference (a reference
            to a “request” resource).
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        progress:
          description: Notes about the adherence/status/progress of the activity.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        plannedActivityReference:
          description: The details of the proposed activity represented in a specific
            resource.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    CareTeam:
      description: The Care Team includes all the people and organizations who plan
        to participate in the coordination and delivery of care.
      properties:
        resourceType:
          description: This is a CareTeam resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this care team by the performer
            or other systems which remain constant as the resource is updated and propagates
            from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: Indicates the current state of the care team.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        category:
          description: Identifies what kind of team.  This is to support differentiation
            between multiple co-existing teams, such as care plan team, episode of care
            team, longitudinal care team.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        name:
          description: A label for human use intended to distinguish like teams.  E.g.
            the "red" vs. "green" trauma teams.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        subject:
          description: Identifies the patient or group whose intended care is handled
            by the team.
          $ref: '#/components/schemas/Reference'
        period:
          description: Indicates when the team did (or is intended to) come into effect
            and end.
          $ref: '#/components/schemas/Period'
        participant:
          description: Identifies all people and organizations who are expected to be
            involved in the care team.
          items:
            $ref: '#/components/schemas/CareTeam_Participant'
          type: array
        reason:
          description: Describes why the care team exists.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        managingOrganization:
          description: The organization responsible for the care team.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        telecom:
          description: A central contact detail for the care team (that applies to all
            members).
          items:
            $ref: '#/components/schemas/ContactPoint'
          type: array
        note:
          description: Comments made about the CareTeam.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    CareTeam_Participant:
      description: The Care Team includes all the people and organizations who plan
        to participate in the coordination and delivery of care.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        role:
          description: Indicates specific responsibility of an individual within the
            care team, such as "Primary care physician", "Trained social worker counselor",
            "Caregiver", etc.
          $ref: '#/components/schemas/CodeableConcept'
        member:
          description: The specific person or organization who is participating/expected
            to participate in the care team.
          $ref: '#/components/schemas/Reference'
        onBehalfOf:
          description: The organization of the practitioner.
          $ref: '#/components/schemas/Reference'
        coveragePeriod:
          description: When the member is generally available within this care team.
          $ref: '#/components/schemas/Period'
        coverageTiming:
          description: When the member is generally available within this care team.
          $ref: '#/components/schemas/Timing'
      type: object
      additionalProperties: false
    ChargeItem:
      description: The resource ChargeItem describes the provision of healthcare provider
        products for a certain patient, therefore referring not only to the product,
        but containing in addition details of the provision, like date, time, amounts
        and participating organizations and persons. Main Usage of the ChargeItem is
        to enable the billing process and internal cost allocation.
      properties:
        resourceType:
          description: This is a ChargeItem resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifiers assigned to this event performer or other systems.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        definitionUri:
          description: References the (external) source of pricing information, rules
            of application for the code this ChargeItem uses.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _definitionUri:
          description: Extensions for definitionUri
          items:
            $ref: '#/components/schemas/Element'
          type: array
        definitionCanonical:
          description: References the source of pricing information, rules of application
            for the code this ChargeItem uses.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        status:
          description: The current state of the ChargeItem.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        partOf:
          description: ChargeItems can be grouped to larger ChargeItems covering the
            whole set.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        code:
          description: A code that identifies the charge, like a billing code.
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: The individual or set of individuals the action is being or was
            performed on.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: This ChargeItem has the details of how the associated Encounter
            should be billed or otherwise be handled by finance systems.
          $ref: '#/components/schemas/Reference'
        occurrenceDateTime:
          description: Date/time(s) or duration when the charged service was applied.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _occurrenceDateTime:
          description: Extensions for occurrenceDateTime
          $ref: '#/components/schemas/Element'
        occurrencePeriod:
          description: Date/time(s) or duration when the charged service was applied.
          $ref: '#/components/schemas/Period'
        occurrenceTiming:
          description: Date/time(s) or duration when the charged service was applied.
          $ref: '#/components/schemas/Timing'
        performer:
          description: Indicates who or what performed or participated in the charged
            service.
          items:
            $ref: '#/components/schemas/ChargeItem_Performer'
          type: array
        performingOrganization:
          description: The organization performing the service.
          $ref: '#/components/schemas/Reference'
        requestingOrganization:
          description: The organization requesting the service.
          $ref: '#/components/schemas/Reference'
        costCenter:
          description: The financial cost center permits the tracking of charge attribution.
          $ref: '#/components/schemas/Reference'
        quantity:
          description: Quantity of which the charge item has been serviced.
          $ref: '#/components/schemas/Quantity'
        bodysite:
          description: The anatomical location where the related service has been applied.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        unitPriceComponent:
          description: The unit price of the chargable item.
          $ref: '#/components/schemas/MonetaryComponent'
        totalPriceComponent:
          description: The total price for the chargable item, accounting for the quantity.
          $ref: '#/components/schemas/MonetaryComponent'
        overrideReason:
          description: If the list price or the rule-based factor associated with the
            code is overridden, this attribute can capture a text to indicate the  reason
            for this action.
          $ref: '#/components/schemas/CodeableConcept'
        enterer:
          description: The device, practitioner, etc. who entered the charge item.
          $ref: '#/components/schemas/Reference'
        enteredDate:
          description: Date the charge item was entered.
          $ref: '#/components/schemas/dateTime'
        _enteredDate:
          description: Extensions for enteredDate
          $ref: '#/components/schemas/Element'
        reason:
          description: Describes why the event occurred in coded or textual form.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        service:
          description: Indicated the rendered service that caused this charge.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        product:
          description: Identifies the device, food, drug or other product being charged
            either by type code or reference to an instance.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        account:
          description: Account into which this ChargeItems belongs.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        note:
          description: Comments made about the event by the performer, subject or other
            participants.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        supportingInformation:
          description: Further information supporting this charge.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
      - subject
      - resourceType
    ChargeItem_Performer:
      description: The resource ChargeItem describes the provision of healthcare provider
        products for a certain patient, therefore referring not only to the product,
        but containing in addition details of the provision, like date, time, amounts
        and participating organizations and persons. Main Usage of the ChargeItem is
        to enable the billing process and internal cost allocation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        function:
          description: Describes the type of performance or participation(e.g. primary
            surgeon, anesthesiologiest, etc.).
          $ref: '#/components/schemas/CodeableConcept'
        actor:
          description: The device, practitioner, etc. who performed or participated
            in the service.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - actor
    ChargeItemDefinition:
      description: The ChargeItemDefinition resource provides the properties that apply
        to the (billing) codes necessary to calculate costs and prices. The properties
        may differ largely depending on type and realm, therefore this resource gives
        only a rough structure and requires profiling for each type of billing code
        system.
      properties:
        resourceType:
          description: This is a ChargeItemDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this charge item definition
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this charge
            item definition is (or will be) published. This URL can be the target of
            a canonical reference. It SHALL remain the same when the charge item definition
            is stored on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this charge item
            definition when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the charge
            item definition when it is referenced in a specification, model, design
            or instance. This is an arbitrary value managed by the charge item definition
            author and is not expected to be globally unique. For example, it might
            be a timestamp (e.g. yyyymmdd) if a managed version is not available. There
            is also no expectation that versions can be placed in a lexicographical
            sequence. To provide a version consistent with the Decision Support Service
            specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more
            information on versioning knowledge assets, refer to the Decision Support
            Service specification. Note that a version is required for non-experimental
            active assets.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the ChargeItemDefinition.
            This name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the charge item
            definition.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The current state of the ChargeItemDefinition.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this charge item definition
            is authored for testing purposes (or education/evaluation/marketing) and
            is not intended to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the charge item definition
            was last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the charge item definition changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the charge item definition.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the charge item definition
            from a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            charge item definition instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the charge item definition
            is intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this charge item definition is needed and
            why it has been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the charge item definition
            and/or its contents. Copyright statements are generally legal restrictions
            on the use and publishing of the charge item definition.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the {{title}} content was or is planned
            to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptive topics related to the content of the {{title}}. Topics
            provide a high-level categorization as well as keywords for the {{title}}
            that can be useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual or organization primarily involved in the creation
            and maintenance of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individual or organization primarily responsible for internal
            coherence of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individual or organization asserted by the publisher to be
            primarily responsible for review of some aspect of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individual or organization asserted by the publisher to be
            responsible for officially endorsing the {{title}} for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Related artifacts such as additional documentation, justification,
            dependencies, bibliographic references, and predecessor and successor artifacts.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        derivedFromUri:
          description: The URL pointing to an externally-defined charge item definition
            that is adhered to in whole or in part by this definition.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _derivedFromUri:
          description: Extensions for derivedFromUri
          items:
            $ref: '#/components/schemas/Element'
          type: array
        partOf:
          description: A larger definition of which this particular definition is a
            component or step.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        replaces:
          description: As new versions of a protocol or guideline are defined, allows
            identification of what versions are replaced by a new instance.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        code:
          description: The defined billing details in this resource pertain to the given
            billing code.
          $ref: '#/components/schemas/CodeableConcept'
        instance:
          description: The defined billing details in this resource pertain to the given
            product instance(s).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        applicability:
          description: Expressions that describe applicability criteria for the billing
            code.
          items:
            $ref: '#/components/schemas/ChargeItemDefinition_Applicability'
          type: array
        propertyGroup:
          description: Group of properties which are applicable under the same conditions.
            If no applicability rules are established for the group, then all properties
            always apply.
          items:
            $ref: '#/components/schemas/ChargeItemDefinition_PropertyGroup'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    ChargeItemDefinition_Applicability:
      description: The ChargeItemDefinition resource provides the properties that apply
        to the (billing) codes necessary to calculate costs and prices. The properties
        may differ largely depending on type and realm, therefore this resource gives
        only a rough structure and requires profiling for each type of billing code
        system.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        condition:
          description: An expression that returns true or false, indicating whether
            the condition is satisfied. When using FHIRPath expressions, the %context
            environment variable must be replaced at runtime with the ChargeItem resource
            to which this definition is applied.
          $ref: '#/components/schemas/Expression'
        effectivePeriod:
          description: The period during which the charge item definition content was
            or is planned to be in active use.
          $ref: '#/components/schemas/Period'
        relatedArtifact:
          description: Reference to / quotation of the external source of the group
            of properties.
          $ref: '#/components/schemas/RelatedArtifact'
      type: object
      additionalProperties: false
    ChargeItemDefinition_PropertyGroup:
      description: The ChargeItemDefinition resource provides the properties that apply
        to the (billing) codes necessary to calculate costs and prices. The properties
        may differ largely depending on type and realm, therefore this resource gives
        only a rough structure and requires profiling for each type of billing code
        system.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        applicability:
          description: Expressions that describe applicability criteria for the priceComponent.
          items:
            $ref: '#/components/schemas/ChargeItemDefinition_Applicability'
          type: array
        priceComponent:
          description: The price for a ChargeItem may be calculated as a base price
            with surcharges/deductions that apply in certain conditions. A ChargeItemDefinition
            resource that defines the prices, factors and conditions that apply to a
            billing code is currently under development. The priceComponent element
            can be used to offer transparency to the recipient of the Invoice of how
            the prices have been calculated.
          items:
            $ref: '#/components/schemas/MonetaryComponent'
          type: array
      type: object
      additionalProperties: false
    Citation:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        resourceType:
          description: This is a Citation resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this citation record
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this summary
            is (or will be) published. This URL can be the target of a canonical reference.
            It SHALL remain the same when the summary is stored on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this citation record
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the citation
            record when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the citation record author and is
            not expected to be globally unique. For example, it might be a timestamp
            (e.g. yyyymmdd) if a managed version is not available. There is also no
            expectation that versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the citation record. This
            name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the citation record.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this summary. Enables tracking the life-cycle of
            the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this citation record is authored
            for testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date (and optionally time) when the citation record was last
            significantly changed. The date must change when the business version changes
            and it must change if the status code changes. In addition, it should change
            when the substantive content of the citation record changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual that published the
            citation record.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the citation from
            a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            citation record instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the citation record is
            intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this citation is needed and why it has been
            designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: Use and/or publishing restrictions for the citation record, not
            for the cited artifact.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the citation record content was or is
            planned to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptive topics related to the content of the {{title}}. Topics
            provide a high-level categorization as well as keywords for the {{title}}
            that can be useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: Who authored or created the citation record.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: Who edited or revised the citation record.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: Who reviewed the citation record.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: Who endorsed the citation record.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Artifact related to the citation record.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        summary:
          description: A human-readable display of key concepts to represent the citation.
          items:
            $ref: '#/components/schemas/Citation_Summary'
          type: array
        classification:
          description: The assignment to an organizing scheme.
          items:
            $ref: '#/components/schemas/Citation_Classification'
          type: array
        note:
          description: Used for general notes and annotations not coded elsewhere.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        currentState:
          description: The status of the citation record.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        statusDate:
          description: The state or status of the citation record paired with an effective
            date or period for that state.
          items:
            $ref: '#/components/schemas/Citation_StatusDate'
          type: array
        citedArtifact:
          description: The article or artifact being described.
          $ref: '#/components/schemas/Citation_CitedArtifact'
      type: object
      additionalProperties: false
      required:
      - resourceType
    Citation_Summary:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        style:
          description: Format for display of the citation summary.
          $ref: '#/components/schemas/CodeableConcept'
        text:
          description: The human-readable display of the citation summary.
          $ref: '#/components/schemas/markdown'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Citation_Classification:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The kind of classifier (e.g. publication type, keyword).
          $ref: '#/components/schemas/CodeableConcept'
        classifier:
          description: The specific classification value.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
    Citation_StatusDate:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        activity:
          description: The state or status of the citation record (that will be paired
            with the period).
          $ref: '#/components/schemas/CodeableConcept'
        actual:
          description: Whether the status date is actual (has occurred) or expected
            (estimated or anticipated).
          $ref: '#/components/schemas/boolean'
        _actual:
          description: Extensions for actual
          $ref: '#/components/schemas/Element'
        period:
          description: When the status started and/or ended.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - period
      - activity
    Citation_CitedArtifact:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A formal identifier that is used to identify the cited artifact
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        relatedIdentifier:
          description: A formal identifier that is used to identify things closely related
            to the cited artifact.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        dateAccessed:
          description: When the cited artifact was accessed.
          $ref: '#/components/schemas/dateTime'
        _dateAccessed:
          description: Extensions for dateAccessed
          $ref: '#/components/schemas/Element'
        version:
          description: The defined version of the cited artifact.
          $ref: '#/components/schemas/Citation_Version'
        currentState:
          description: The status of the cited artifact.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        statusDate:
          description: An effective date or period, historical or future, actual or
            expected, for a status of the cited artifact.
          items:
            $ref: '#/components/schemas/Citation_StatusDate1'
          type: array
        title:
          description: The title details of the article or artifact.
          items:
            $ref: '#/components/schemas/Citation_Title'
          type: array
        abstract:
          description: The abstract may be used to convey article-contained abstracts,
            externally-created abstracts, or other descriptive summaries.
          items:
            $ref: '#/components/schemas/Citation_Abstract'
          type: array
        part:
          description: The component of the article or artifact.
          $ref: '#/components/schemas/Citation_Part'
        relatesTo:
          description: The artifact related to the cited artifact.
          items:
            $ref: '#/components/schemas/Citation_RelatesTo'
          type: array
        publicationForm:
          description: If multiple, used to represent alternative forms of the article
            that are not separate citations.
          items:
            $ref: '#/components/schemas/Citation_PublicationForm'
          type: array
        webLocation:
          description: Used for any URL for the article or artifact cited.
          items:
            $ref: '#/components/schemas/Citation_WebLocation'
          type: array
        classification:
          description: The assignment to an organizing scheme.
          items:
            $ref: '#/components/schemas/Citation_Classification1'
          type: array
        contributorship:
          description: This element is used to list authors and other contributors,
            their contact information, specific contributions, and summary statements.
          $ref: '#/components/schemas/Citation_Contributorship'
        note:
          description: Any additional information or content for the article or artifact.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
    Citation_Version:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        value:
          description: The version number or other version identifier.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
        baseCitation:
          description: Citation for the main version of the cited artifact.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    Citation_StatusDate1:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        activity:
          description: A definition of the status associated with a date or period.
          $ref: '#/components/schemas/CodeableConcept'
        actual:
          description: Either occurred or expected.
          $ref: '#/components/schemas/boolean'
        _actual:
          description: Extensions for actual
          $ref: '#/components/schemas/Element'
        period:
          description: When the status started and/or ended.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - period
      - activity
    Citation_Title:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Used to express the reason for or classification of the title.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        language:
          description: Used to express the specific language of the title.
          $ref: '#/components/schemas/CodeableConcept'
        text:
          description: The title of the article or artifact.
          $ref: '#/components/schemas/markdown'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Citation_Abstract:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Used to express the reason for or classification of the abstract.
          $ref: '#/components/schemas/CodeableConcept'
        language:
          description: Used to express the specific language of the abstract.
          $ref: '#/components/schemas/CodeableConcept'
        text:
          description: Abstract content.
          $ref: '#/components/schemas/markdown'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
        copyright:
          description: Copyright notice for the abstract.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Citation_Part:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The kind of component.
          $ref: '#/components/schemas/CodeableConcept'
        value:
          description: The specification of the component.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
        baseCitation:
          description: The citation for the full article or artifact.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    Citation_RelatesTo:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of relationship to the related artifact.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        classifier:
          description: Provides additional classifiers of the related artifact.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        label:
          description: A short label that can be used to reference the related artifact
            from elsewhere in the containing artifact, such as a footnote index.
          $ref: '#/components/schemas/string'
        _label:
          description: Extensions for label
          $ref: '#/components/schemas/Element'
        display:
          description: A brief description of the document or knowledge resource being
            referenced, suitable for display to a consumer.
          $ref: '#/components/schemas/string'
        _display:
          description: Extensions for display
          $ref: '#/components/schemas/Element'
        citation:
          description: A bibliographic citation for the related artifact. This text
            SHOULD be formatted according to an accepted citation format.
          $ref: '#/components/schemas/markdown'
        _citation:
          description: Extensions for citation
          $ref: '#/components/schemas/Element'
        document:
          description: The document being referenced, represented as an attachment.
            Do not use this element if using the resource element to provide the canonical
            to the related artifact.
          $ref: '#/components/schemas/Attachment'
        resource:
          description: The related artifact, such as a library, value set, profile,
            or other knowledge resource.
          $ref: '#/components/schemas/canonical'
        _resource:
          description: Extensions for resource
          $ref: '#/components/schemas/Element'
        resourceReference:
          description: The related artifact, if the artifact is not a canonical resource,
            or a resource reference to a canonical resource.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    Citation_PublicationForm:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        publishedIn:
          description: The collection the cited article or artifact is published in.
          $ref: '#/components/schemas/Citation_PublishedIn'
        citedMedium:
          description: Describes the form of the medium cited. Common codes are "Internet"
            or "Print". The CitedMedium value set has 6 codes. The codes internet, print,
            and offline-digital-storage are the common codes for a typical publication
            form, though internet and print are more common for study citations. Three
            additional codes (each appending one of the primary codes with "-without-issue"
            are used for situations when a study is published both within an issue (of
            a periodical release as commonly done for journals) AND is published separately
            from the issue (as commonly done with early online publication), to represent
            specific identification of the publication form not associated with the
            issue.
          $ref: '#/components/schemas/CodeableConcept'
        volume:
          description: Volume number of journal or other collection in which the article
            is published.
          $ref: '#/components/schemas/string'
        _volume:
          description: Extensions for volume
          $ref: '#/components/schemas/Element'
        issue:
          description: Issue, part or supplement of journal or other collection in which
            the article is published.
          $ref: '#/components/schemas/string'
        _issue:
          description: Extensions for issue
          $ref: '#/components/schemas/Element'
        articleDate:
          description: The date the article was added to the database, or the date the
            article was released.
          $ref: '#/components/schemas/dateTime'
        _articleDate:
          description: Extensions for articleDate
          $ref: '#/components/schemas/Element'
        publicationDateText:
          description: Text representation of the date on which the issue of the cited
            artifact was published.
          $ref: '#/components/schemas/string'
        _publicationDateText:
          description: Extensions for publicationDateText
          $ref: '#/components/schemas/Element'
        publicationDateSeason:
          description: Spring, Summer, Fall/Autumn, Winter.
          $ref: '#/components/schemas/string'
        _publicationDateSeason:
          description: Extensions for publicationDateSeason
          $ref: '#/components/schemas/Element'
        lastRevisionDate:
          description: The date the article was last revised or updated in the database.
          $ref: '#/components/schemas/dateTime'
        _lastRevisionDate:
          description: Extensions for lastRevisionDate
          $ref: '#/components/schemas/Element'
        language:
          description: The language or languages in which this form of the article is
            published.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        accessionNumber:
          description: Entry number or identifier for inclusion in a database.
          $ref: '#/components/schemas/string'
        _accessionNumber:
          description: Extensions for accessionNumber
          $ref: '#/components/schemas/Element'
        pageString:
          description: Used for full display of pagination.
          $ref: '#/components/schemas/string'
        _pageString:
          description: Extensions for pageString
          $ref: '#/components/schemas/Element'
        firstPage:
          description: Used for isolated representation of first page.
          $ref: '#/components/schemas/string'
        _firstPage:
          description: Extensions for firstPage
          $ref: '#/components/schemas/Element'
        lastPage:
          description: Used for isolated representation of last page.
          $ref: '#/components/schemas/string'
        _lastPage:
          description: Extensions for lastPage
          $ref: '#/components/schemas/Element'
        pageCount:
          description: Actual or approximate number of pages or screens. Distinct from
            reporting the page numbers.
          $ref: '#/components/schemas/string'
        _pageCount:
          description: Extensions for pageCount
          $ref: '#/components/schemas/Element'
        copyright:
          description: Copyright notice for the full article or artifact.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Citation_PublishedIn:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Kind of container (e.g. Periodical, database, or book).
          $ref: '#/components/schemas/CodeableConcept'
        identifier:
          description: Journal identifiers include ISSN, ISO Abbreviation and NLMuniqueID;
            Book identifiers include ISBN.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        title:
          description: Name of the database or title of the book or journal.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        publisher:
          description: Name of or resource describing the publisher.
          $ref: '#/components/schemas/Reference'
        publisherLocation:
          description: Geographic location of the publisher.
          $ref: '#/components/schemas/string'
        _publisherLocation:
          description: Extensions for publisherLocation
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Citation_WebLocation:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        classifier:
          description: A characterization of the object expected at the web location.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        url:
          description: The specific URL.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Citation_Classification1:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The kind of classifier (e.g. publication type, keyword).
          $ref: '#/components/schemas/CodeableConcept'
        classifier:
          description: The specific classification value.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        artifactAssessment:
          description: Complex or externally created classification.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    Citation_Contributorship:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        complete:
          description: Indicates if the list includes all authors and/or contributors.
          $ref: '#/components/schemas/boolean'
        _complete:
          description: Extensions for complete
          $ref: '#/components/schemas/Element'
        entry:
          description: An individual entity named as a contributor, for example in the
            author list or contributor list.
          items:
            $ref: '#/components/schemas/Citation_Entry'
          type: array
        summary:
          description: Used to record a display of the author/contributor list without
            separate data element for each list member.
          items:
            $ref: '#/components/schemas/Citation_Summary1'
          type: array
      type: object
      additionalProperties: false
    Citation_Entry:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        contributor:
          description: The identity of the individual contributor.
          $ref: '#/components/schemas/Reference'
        forenameInitials:
          description: For citation styles that use initials.
          $ref: '#/components/schemas/string'
        _forenameInitials:
          description: Extensions for forenameInitials
          $ref: '#/components/schemas/Element'
        affiliation:
          description: Organization affiliated with the contributor.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        contributionType:
          description: This element identifies the specific nature of an individual’s
            contribution with respect to the cited work.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        role:
          description: The role of the contributor (e.g. author, editor, reviewer, funder).
          $ref: '#/components/schemas/CodeableConcept'
        contributionInstance:
          description: Contributions with accounting for time or number.
          items:
            $ref: '#/components/schemas/Citation_ContributionInstance'
          type: array
        correspondingContact:
          description: Whether the contributor is the corresponding contributor for
            the role.
          $ref: '#/components/schemas/boolean'
        _correspondingContact:
          description: Extensions for correspondingContact
          $ref: '#/components/schemas/Element'
        rankingOrder:
          description: Provides a numerical ranking to represent the degree of contributorship
            relative to other contributors, such as 1 for first author and 2 for second
            author.
          $ref: '#/components/schemas/positiveInt'
        _rankingOrder:
          description: Extensions for rankingOrder
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - contributor
    Citation_ContributionInstance:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The specific contribution.
          $ref: '#/components/schemas/CodeableConcept'
        time:
          description: The time that the contribution was made.
          $ref: '#/components/schemas/dateTime'
        _time:
          description: Extensions for time
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - type
    Citation_Summary1:
      description: The Citation Resource enables reference to any knowledge artifact
        for purposes of identification and attribution. The Citation Resource supports
        existing reference structures and developing publication practices such as versioning,
        expressing complex contributorship roles, and referencing computable resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Used most commonly to express an author list or a contributorship
            statement.
          $ref: '#/components/schemas/CodeableConcept'
        style:
          description: The format for the display string, such as author last name with
            first letter capitalized followed by forename initials.
          $ref: '#/components/schemas/CodeableConcept'
        source:
          description: Used to code the producer or rule for creating the display string.
          $ref: '#/components/schemas/CodeableConcept'
        value:
          description: The display string for the author list, contributor list, or
            contributorship statement.
          $ref: '#/components/schemas/markdown'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Claim:
      description: A provider issued list of professional services and products which
        have been provided, or are to be provided, to a patient which is sent to an
        insurer for reimbursement.
      properties:
        resourceType:
          description: This is a Claim resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A unique identifier assigned to this claim.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The status of the resource instance.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        type:
          description: The category of claim, e.g. oral, pharmacy, vision, institutional,
            professional.
          $ref: '#/components/schemas/CodeableConcept'
        subType:
          description: A finer grained suite of claim type codes which may convey additional
            information such as Inpatient vs Outpatient and/or a specialty service.
          $ref: '#/components/schemas/CodeableConcept'
        use:
          description: 'A code to indicate whether the nature of the request is: Claim
            - A request to an Insurer to adjudicate the supplied charges for health
            care goods and services under the identified policy and to pay the determined
            Benefit amount, if any; Preauthorization - A request to an Insurer to adjudicate
            the supplied proposed future charges for health care goods and services
            under the identified policy and to approve the services and provide the
            expected benefit amounts and potentially to reserve funds to pay the benefits
            when Claims for the indicated services are later submitted; or, Pre-determination
            - A request to an Insurer to adjudicate the supplied ''what if'' charges
            for health care goods and services under the identified policy and report
            back what the Benefit payable would be had the services actually been provided.'
          $ref: '#/components/schemas/code'
        _use:
          description: Extensions for use
          $ref: '#/components/schemas/Element'
        patient:
          description: The party to whom the professional services and/or products have
            been supplied or are being considered and for whom actual or forecast reimbursement
            is sought.
          $ref: '#/components/schemas/Reference'
        billablePeriod:
          description: The period for which charges are being submitted.
          $ref: '#/components/schemas/Period'
        created:
          description: The date this resource was created.
          $ref: '#/components/schemas/dateTime'
        _created:
          description: Extensions for created
          $ref: '#/components/schemas/Element'
        enterer:
          description: Individual who created the claim, predetermination or preauthorization.
          $ref: '#/components/schemas/Reference'
        insurer:
          description: The Insurer who is target of the request.
          $ref: '#/components/schemas/Reference'
        provider:
          description: The provider which is responsible for the claim, predetermination
            or preauthorization.
          $ref: '#/components/schemas/Reference'
        priority:
          description: 'The provider-required urgency of processing the request. Typical
            values include: stat, normal, deferred.'
          $ref: '#/components/schemas/CodeableConcept'
        fundsReserve:
          description: A code to indicate whether and for whom funds are to be reserved
            for future claims.
          $ref: '#/components/schemas/CodeableConcept'
        related:
          description: Other claims which are related to this claim such as prior submissions
            or claims for related services or for the same event.
          items:
            $ref: '#/components/schemas/Claim_Related'
          type: array
        prescription:
          description: Prescription is the document/authorization given to the claim
            author for them to provide products and services for which consideration
            (reimbursement) is sought. Could be a RX for medications, an 'order' for
            oxygen or wheelchair or physiotherapy treatments.
          $ref: '#/components/schemas/Reference'
        originalPrescription:
          description: Original prescription which has been superseded by this prescription
            to support the dispensing of pharmacy services, medications or products.
          $ref: '#/components/schemas/Reference'
        payee:
          description: The party to be reimbursed for cost of the products and services
            according to the terms of the policy.
          $ref: '#/components/schemas/Claim_Payee'
        referral:
          description: The referral information received by the claim author, it is
            not to be used when the author generates a referral for a patient. A copy
            of that referral may be provided as supporting information. Some insurers
            require proof of referral to pay for services or to pay specialist rates
            for services.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: Healthcare encounters related to this claim.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        facility:
          description: Facility where the services were provided.
          $ref: '#/components/schemas/Reference'
        diagnosisRelatedGroup:
          description: A package billing code or bundle code used to group products
            and services to a particular health condition (such as heart attack) which
            is based on a predetermined grouping code system.
          $ref: '#/components/schemas/CodeableConcept'
        event:
          description: Information code for an event with a corresponding date or period.
          items:
            $ref: '#/components/schemas/Claim_Event'
          type: array
        careTeam:
          description: The members of the team who provided the products and services.
          items:
            $ref: '#/components/schemas/Claim_CareTeam'
          type: array
        supportingInfo:
          description: Additional information codes regarding exceptions, special considerations,
            the condition, situation, prior or concurrent issues.
          items:
            $ref: '#/components/schemas/Claim_SupportingInfo'
          type: array
        diagnosis:
          description: Information about diagnoses relevant to the claim items.
          items:
            $ref: '#/components/schemas/Claim_Diagnosis'
          type: array
        procedure:
          description: Procedures performed on the patient relevant to the billing items
            with the claim.
          items:
            $ref: '#/components/schemas/Claim_Procedure'
          type: array
        insurance:
          description: Financial instruments for reimbursement for the health care products
            and services specified on the claim.
          items:
            $ref: '#/components/schemas/Claim_Insurance'
          type: array
        accident:
          description: Details of an accident which resulted in injuries which required
            the products and services listed in the claim.
          $ref: '#/components/schemas/Claim_Accident'
        patientPaid:
          description: The amount paid by the patient, in total at the claim claim level
            or specifically for the item and detail level, to the provider for goods
            and services.
          $ref: '#/components/schemas/Money'
        item:
          description: A claim line. Either a simple  product or service or a 'group'
            of details which can each be a simple items or groups of sub-details.
          items:
            $ref: '#/components/schemas/Claim_Item'
          type: array
        total:
          description: The total value of the all the items in the claim.
          $ref: '#/components/schemas/Money'
      type: object
      additionalProperties: false
      required:
      - patient
      - type
      - resourceType
    Claim_Related:
      description: A provider issued list of professional services and products which
        have been provided, or are to be provided, to a patient which is sent to an
        insurer for reimbursement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        claim:
          description: Reference to a related claim.
          $ref: '#/components/schemas/Reference'
        relationship:
          description: A code to convey how the claims are related.
          $ref: '#/components/schemas/CodeableConcept'
        reference:
          description: An alternate organizational reference to the case or file to
            which this particular claim pertains.
          $ref: '#/components/schemas/Identifier'
      type: object
      additionalProperties: false
    Claim_Payee:
      description: A provider issued list of professional services and products which
        have been provided, or are to be provided, to a patient which is sent to an
        insurer for reimbursement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: 'Type of Party to be reimbursed: subscriber, provider, other.'
          $ref: '#/components/schemas/CodeableConcept'
        party:
          description: Reference to the individual or organization to whom any payment
            will be made.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - type
    Claim_Event:
      description: A provider issued list of professional services and products which
        have been provided, or are to be provided, to a patient which is sent to an
        insurer for reimbursement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: A coded event such as when a service is expected or a card printed.
          $ref: '#/components/schemas/CodeableConcept'
        whenDateTime:
          description: A date or period in the past or future indicating when the event
            occurred or is expectd to occur.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _whenDateTime:
          description: Extensions for whenDateTime
          $ref: '#/components/schemas/Element'
        whenPeriod:
          description: A date or period in the past or future indicating when the event
            occurred or is expectd to occur.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - type
    Claim_CareTeam:
      description: A provider issued list of professional services and products which
        have been provided, or are to be provided, to a patient which is sent to an
        insurer for reimbursement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A number to uniquely identify care team entries.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        provider:
          description: Member of the team who provided the product or service.
          $ref: '#/components/schemas/Reference'
        responsible:
          description: The party who is billing and/or responsible for the claimed products
            or services.
          $ref: '#/components/schemas/boolean'
        _responsible:
          description: Extensions for responsible
          $ref: '#/components/schemas/Element'
        role:
          description: The lead, assisting or supervising practitioner and their discipline
            if a multidisciplinary team.
          $ref: '#/components/schemas/CodeableConcept'
        specialty:
          description: The specialization of the practitioner or provider which is applicable
            for this service.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - provider
    Claim_SupportingInfo:
      description: A provider issued list of professional services and products which
        have been provided, or are to be provided, to a patient which is sent to an
        insurer for reimbursement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A number to uniquely identify supporting information entries.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        category:
          description: 'The general class of the information supplied: information;
            exception; accident, employment; onset, etc.'
          $ref: '#/components/schemas/CodeableConcept'
        code:
          description: System and code pertaining to the specific information regarding
            special conditions relating to the setting, treatment or patient  for which
            care is sought.
          $ref: '#/components/schemas/CodeableConcept'
        timingDate:
          description: The date when or period to which this information refers.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _timingDate:
          description: Extensions for timingDate
          $ref: '#/components/schemas/Element'
        timingPeriod:
          description: The date when or period to which this information refers.
          $ref: '#/components/schemas/Period'
        valueBoolean:
          description: Additional data or information such as resources, documents,
            images etc. including references to the data or the actual inclusion of
            the data.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueString:
          description: Additional data or information such as resources, documents,
            images etc. including references to the data or the actual inclusion of
            the data.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueQuantity:
          description: Additional data or information such as resources, documents,
            images etc. including references to the data or the actual inclusion of
            the data.
          $ref: '#/components/schemas/Quantity'
        valueAttachment:
          description: Additional data or information such as resources, documents,
            images etc. including references to the data or the actual inclusion of
            the data.
          $ref: '#/components/schemas/Attachment'
        valueReference:
          description: Additional data or information such as resources, documents,
            images etc. including references to the data or the actual inclusion of
            the data.
          $ref: '#/components/schemas/Reference'
        valueIdentifier:
          description: Additional data or information such as resources, documents,
            images etc. including references to the data or the actual inclusion of
            the data.
          $ref: '#/components/schemas/Identifier'
        reason:
          description: Provides the reason in the situation where a reason code is required
            in addition to the content.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - category
    Claim_Diagnosis:
      description: A provider issued list of professional services and products which
        have been provided, or are to be provided, to a patient which is sent to an
        insurer for reimbursement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A number to uniquely identify diagnosis entries.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        diagnosisCodeableConcept:
          description: The nature of illness or problem in a coded form or as a reference
            to an external defined Condition.
          $ref: '#/components/schemas/CodeableConcept'
        diagnosisReference:
          description: The nature of illness or problem in a coded form or as a reference
            to an external defined Condition.
          $ref: '#/components/schemas/Reference'
        type:
          description: When the condition was observed or the relative ranking.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        onAdmission:
          description: Indication of whether the diagnosis was present on admission
            to a facility.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    Claim_Procedure:
      description: A provider issued list of professional services and products which
        have been provided, or are to be provided, to a patient which is sent to an
        insurer for reimbursement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A number to uniquely identify procedure entries.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        type:
          description: When the condition was observed or the relative ranking.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        date:
          description: Date and optionally time the procedure was performed.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        procedureCodeableConcept:
          description: The code or reference to a Procedure resource which identifies
            the clinical intervention performed.
          $ref: '#/components/schemas/CodeableConcept'
        procedureReference:
          description: The code or reference to a Procedure resource which identifies
            the clinical intervention performed.
          $ref: '#/components/schemas/Reference'
        udi:
          description: Unique Device Identifiers associated with this line item.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    Claim_Insurance:
      description: A provider issued list of professional services and products which
        have been provided, or are to be provided, to a patient which is sent to an
        insurer for reimbursement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A number to uniquely identify insurance entries and provide a
            sequence of coverages to convey coordination of benefit order.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        focal:
          description: A flag to indicate that this Coverage is to be used for adjudication
            of this claim when set to true.
          $ref: '#/components/schemas/boolean'
        _focal:
          description: Extensions for focal
          $ref: '#/components/schemas/Element'
        identifier:
          description: The business identifier to be used when the claim is sent for
            adjudication against this insurance policy.
          $ref: '#/components/schemas/Identifier'
        coverage:
          description: Reference to the insurance card level information contained in
            the Coverage resource. The coverage issuing insurer will use these details
            to locate the patient's actual coverage within the insurer's information
            system.
          $ref: '#/components/schemas/Reference'
        businessArrangement:
          description: A business agreement number established between the provider
            and the insurer for special business processing purposes.
          $ref: '#/components/schemas/string'
        _businessArrangement:
          description: Extensions for businessArrangement
          $ref: '#/components/schemas/Element'
        preAuthRef:
          description: Reference numbers previously provided by the insurer to the provider
            to be quoted on subsequent claims containing services or products related
            to the prior authorization.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _preAuthRef:
          description: Extensions for preAuthRef
          items:
            $ref: '#/components/schemas/Element'
          type: array
        claimResponse:
          description: The result of the adjudication of the line items for the Coverage
            specified in this insurance.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - coverage
    Claim_Accident:
      description: A provider issued list of professional services and products which
        have been provided, or are to be provided, to a patient which is sent to an
        insurer for reimbursement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        date:
          description: Date of an accident event  related to the products and services
            contained in the claim.
          $ref: '#/components/schemas/date'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        type:
          description: The type or context of the accident event for the purposes of
            selection of potential insurance coverages and determination of coordination
            between insurers.
          $ref: '#/components/schemas/CodeableConcept'
        locationAddress:
          description: The physical location of the accident event.
          $ref: '#/components/schemas/Address'
        locationReference:
          description: The physical location of the accident event.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    Claim_Item:
      description: A provider issued list of professional services and products which
        have been provided, or are to be provided, to a patient which is sent to an
        insurer for reimbursement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A number to uniquely identify item entries.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        careTeamSequence:
          description: CareTeam members related to this service or product.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _careTeamSequence:
          description: Extensions for careTeamSequence
          items:
            $ref: '#/components/schemas/Element'
          type: array
        diagnosisSequence:
          description: Diagnosis applicable for this service or product.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _diagnosisSequence:
          description: Extensions for diagnosisSequence
          items:
            $ref: '#/components/schemas/Element'
          type: array
        procedureSequence:
          description: Procedures applicable for this service or product.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _procedureSequence:
          description: Extensions for procedureSequence
          items:
            $ref: '#/components/schemas/Element'
          type: array
        informationSequence:
          description: Exceptions, special conditions and supporting information applicable
            for this service or product.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _informationSequence:
          description: Extensions for informationSequence
          items:
            $ref: '#/components/schemas/Element'
          type: array
        revenue:
          description: The type of revenue or cost center providing the product and/or
            service.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: Code to identify the general type of benefits under which products
            and services are provided.
          $ref: '#/components/schemas/CodeableConcept'
        productOrService:
          description: When the value is a group code then this item collects a set
            of related item details, otherwise this contains the product, service, drug
            or other billing code for the item. This element may be the start of a range
            of .productOrService codes used in conjunction with .productOrServiceEnd
            or it may be a solo element where .productOrServiceEnd is not used.
          $ref: '#/components/schemas/CodeableConcept'
        productOrServiceEnd:
          description: This contains the end of a range of product, service, drug or
            other billing codes for the item. This element is not used when the .productOrService
            is a group code. This value may only be present when a .productOfService
            code has been provided to convey the start of the range. Typically this
            value may be used only with preauthorizations and not with claims.
          $ref: '#/components/schemas/CodeableConcept'
        request:
          description: Request or Referral for Goods or Service to be rendered.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        modifier:
          description: Item typification or modifiers codes to convey additional context
            for the product or service.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        programCode:
          description: Identifies the program under which this may be recovered.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        servicedDate:
          description: The date or dates when the service or product was supplied, performed
            or completed.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _servicedDate:
          description: Extensions for servicedDate
          $ref: '#/components/schemas/Element'
        servicedPeriod:
          description: The date or dates when the service or product was supplied, performed
            or completed.
          $ref: '#/components/schemas/Period'
        locationCodeableConcept:
          description: Where the product or service was provided.
          $ref: '#/components/schemas/CodeableConcept'
        locationAddress:
          description: Where the product or service was provided.
          $ref: '#/components/schemas/Address'
        locationReference:
          description: Where the product or service was provided.
          $ref: '#/components/schemas/Reference'
        patientPaid:
          description: The amount paid by the patient, in total at the claim claim level
            or specifically for the item and detail level, to the provider for goods
            and services.
          $ref: '#/components/schemas/Money'
        quantity:
          description: The number of repetitions of a service or product.
          $ref: '#/components/schemas/Quantity'
        unitPrice:
          description: If the item is not a group then this is the fee for the product
            or service, otherwise this is the total of the fees for the details of the
            group.
          $ref: '#/components/schemas/Money'
        factor:
          description: A real number that represents a multiplier used in determining
            the overall value of services delivered and/or goods received. The concept
            of a Factor allows for a discount or surcharge multiplier to be applied
            to a monetary amount.
          $ref: '#/components/schemas/decimal'
        _factor:
          description: Extensions for factor
          $ref: '#/components/schemas/Element'
        tax:
          description: The total of taxes applicable for this product or service.
          $ref: '#/components/schemas/Money'
        net:
          description: The total amount claimed for the group (if a grouper) or the
            line item. Net = unit price * quantity * factor.
          $ref: '#/components/schemas/Money'
        udi:
          description: Unique Device Identifiers associated with this line item.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        bodySite:
          description: Physical location where the service is performed or applies.
          items:
            $ref: '#/components/schemas/Claim_BodySite'
          type: array
        encounter:
          description: Healthcare encounters related to this claim.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        detail:
          description: A claim detail line. Either a simple (a product or service) or
            a 'group' of sub-details which are simple items.
          items:
            $ref: '#/components/schemas/Claim_Detail'
          type: array
      type: object
      additionalProperties: false
    Claim_BodySite:
      description: A provider issued list of professional services and products which
        have been provided, or are to be provided, to a patient which is sent to an
        insurer for reimbursement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        site:
          description: Physical service site on the patient (limb, tooth, etc.).
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        subSite:
          description: A region or surface of the bodySite, e.g. limb region or tooth
            surface(s).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
      required:
      - site
    Claim_Detail:
      description: A provider issued list of professional services and products which
        have been provided, or are to be provided, to a patient which is sent to an
        insurer for reimbursement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A number to uniquely identify item entries.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        revenue:
          description: The type of revenue or cost center providing the product and/or
            service.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: Code to identify the general type of benefits under which products
            and services are provided.
          $ref: '#/components/schemas/CodeableConcept'
        productOrService:
          description: When the value is a group code then this item collects a set
            of related item details, otherwise this contains the product, service, drug
            or other billing code for the item. This element may be the start of a range
            of .productOrService codes used in conjunction with .productOrServiceEnd
            or it may be a solo element where .productOrServiceEnd is not used.
          $ref: '#/components/schemas/CodeableConcept'
        productOrServiceEnd:
          description: This contains the end of a range of product, service, drug or
            other billing codes for the item. This element is not used when the .productOrService
            is a group code. This value may only be present when a .productOfService
            code has been provided to convey the start of the range. Typically this
            value may be used only with preauthorizations and not with claims.
          $ref: '#/components/schemas/CodeableConcept'
        modifier:
          description: Item typification or modifiers codes to convey additional context
            for the product or service.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        programCode:
          description: Identifies the program under which this may be recovered.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        patientPaid:
          description: The amount paid by the patient, in total at the claim claim level
            or specifically for the item and detail level, to the provider for goods
            and services.
          $ref: '#/components/schemas/Money'
        quantity:
          description: The number of repetitions of a service or product.
          $ref: '#/components/schemas/Quantity'
        unitPrice:
          description: If the item is not a group then this is the fee for the product
            or service, otherwise this is the total of the fees for the details of the
            group.
          $ref: '#/components/schemas/Money'
        factor:
          description: A real number that represents a multiplier used in determining
            the overall value of services delivered and/or goods received. The concept
            of a Factor allows for a discount or surcharge multiplier to be applied
            to a monetary amount.
          $ref: '#/components/schemas/decimal'
        _factor:
          description: Extensions for factor
          $ref: '#/components/schemas/Element'
        tax:
          description: The total of taxes applicable for this product or service.
          $ref: '#/components/schemas/Money'
        net:
          description: The total amount claimed for the group (if a grouper) or the
            line item.detail. Net = unit price * quantity * factor.
          $ref: '#/components/schemas/Money'
        udi:
          description: Unique Device Identifiers associated with this line item.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        subDetail:
          description: A claim detail line. Either a simple (a product or service) or
            a 'group' of sub-details which are simple items.
          items:
            $ref: '#/components/schemas/Claim_SubDetail'
          type: array
      type: object
      additionalProperties: false
    Claim_SubDetail:
      description: A provider issued list of professional services and products which
        have been provided, or are to be provided, to a patient which is sent to an
        insurer for reimbursement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A number to uniquely identify item entries.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        revenue:
          description: The type of revenue or cost center providing the product and/or
            service.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: Code to identify the general type of benefits under which products
            and services are provided.
          $ref: '#/components/schemas/CodeableConcept'
        productOrService:
          description: When the value is a group code then this item collects a set
            of related item details, otherwise this contains the product, service, drug
            or other billing code for the item. This element may be the start of a range
            of .productOrService codes used in conjunction with .productOrServiceEnd
            or it may be a solo element where .productOrServiceEnd is not used.
          $ref: '#/components/schemas/CodeableConcept'
        productOrServiceEnd:
          description: This contains the end of a range of product, service, drug or
            other billing codes for the item. This element is not used when the .productOrService
            is a group code. This value may only be present when a .productOfService
            code has been provided to convey the start of the range. Typically this
            value may be used only with preauthorizations and not with claims.
          $ref: '#/components/schemas/CodeableConcept'
        modifier:
          description: Item typification or modifiers codes to convey additional context
            for the product or service.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        programCode:
          description: Identifies the program under which this may be recovered.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        patientPaid:
          description: The amount paid by the patient, in total at the claim claim level
            or specifically for the item and detail level, to the provider for goods
            and services.
          $ref: '#/components/schemas/Money'
        quantity:
          description: The number of repetitions of a service or product.
          $ref: '#/components/schemas/Quantity'
        unitPrice:
          description: If the item is not a group then this is the fee for the product
            or service, otherwise this is the total of the fees for the details of the
            group.
          $ref: '#/components/schemas/Money'
        factor:
          description: A real number that represents a multiplier used in determining
            the overall value of services delivered and/or goods received. The concept
            of a Factor allows for a discount or surcharge multiplier to be applied
            to a monetary amount.
          $ref: '#/components/schemas/decimal'
        _factor:
          description: Extensions for factor
          $ref: '#/components/schemas/Element'
        tax:
          description: The total of taxes applicable for this product or service.
          $ref: '#/components/schemas/Money'
        net:
          description: The total amount claimed for line item.detail.subDetail. Net
            = unit price * quantity * factor.
          $ref: '#/components/schemas/Money'
        udi:
          description: Unique Device Identifiers associated with this line item.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    ClaimResponse:
      description: This resource provides the adjudication details from the processing
        of a Claim resource.
      properties:
        resourceType:
          description: This is a ClaimResponse resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A unique identifier assigned to this claim response.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The status of the resource instance.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        type:
          description: A finer grained suite of claim type codes which may convey additional
            information such as Inpatient vs Outpatient and/or a specialty service.
          $ref: '#/components/schemas/CodeableConcept'
        subType:
          description: A finer grained suite of claim type codes which may convey additional
            information such as Inpatient vs Outpatient and/or a specialty service.
          $ref: '#/components/schemas/CodeableConcept'
        use:
          description: 'A code to indicate whether the nature of the request is: Claim
            - A request to an Insurer to adjudicate the supplied charges for health
            care goods and services under the identified policy and to pay the determined
            Benefit amount, if any; Preauthorization - A request to an Insurer to adjudicate
            the supplied proposed future charges for health care goods and services
            under the identified policy and to approve the services and provide the
            expected benefit amounts and potentially to reserve funds to pay the benefits
            when Claims for the indicated services are later submitted; or, Pre-determination
            - A request to an Insurer to adjudicate the supplied ''what if'' charges
            for health care goods and services under the identified policy and report
            back what the Benefit payable would be had the services actually been provided.'
          $ref: '#/components/schemas/code'
        _use:
          description: Extensions for use
          $ref: '#/components/schemas/Element'
        patient:
          description: The party to whom the professional services and/or products have
            been supplied or are being considered and for whom actual for facast reimbursement
            is sought.
          $ref: '#/components/schemas/Reference'
        created:
          description: The date this resource was created.
          $ref: '#/components/schemas/dateTime'
        _created:
          description: Extensions for created
          $ref: '#/components/schemas/Element'
        insurer:
          description: The party responsible for authorization, adjudication and reimbursement.
          $ref: '#/components/schemas/Reference'
        requestor:
          description: The provider which is responsible for the claim, predetermination
            or preauthorization.
          $ref: '#/components/schemas/Reference'
        request:
          description: Original request resource reference.
          $ref: '#/components/schemas/Reference'
        outcome:
          description: The outcome of the claim, predetermination, or preauthorization
            processing.
          $ref: '#/components/schemas/code'
        _outcome:
          description: Extensions for outcome
          $ref: '#/components/schemas/Element'
        decision:
          description: The result of the claim, predetermination, or preauthorization
            adjudication.
          $ref: '#/components/schemas/CodeableConcept'
        disposition:
          description: A human readable description of the status of the adjudication.
          $ref: '#/components/schemas/string'
        _disposition:
          description: Extensions for disposition
          $ref: '#/components/schemas/Element'
        preAuthRef:
          description: Reference from the Insurer which is used in later communications
            which refers to this adjudication.
          $ref: '#/components/schemas/string'
        _preAuthRef:
          description: Extensions for preAuthRef
          $ref: '#/components/schemas/Element'
        preAuthPeriod:
          description: The time frame during which this authorization is effective.
          $ref: '#/components/schemas/Period'
        event:
          description: Information code for an event with a corresponding date or period.
          items:
            $ref: '#/components/schemas/ClaimResponse_Event'
          type: array
        payeeType:
          description: 'Type of Party to be reimbursed: subscriber, provider, other.'
          $ref: '#/components/schemas/CodeableConcept'
        encounter:
          description: Healthcare encounters related to this claim.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        diagnosisRelatedGroup:
          description: A package billing code or bundle code used to group products
            and services to a particular health condition (such as heart attack) which
            is based on a predetermined grouping code system.
          $ref: '#/components/schemas/CodeableConcept'
        item:
          description: A claim line. Either a simple (a product or service) or a 'group'
            of details which can also be a simple items or groups of sub-details.
          items:
            $ref: '#/components/schemas/ClaimResponse_Item'
          type: array
        addItem:
          description: The first-tier service adjudications for payor added product
            or service lines.
          items:
            $ref: '#/components/schemas/ClaimResponse_AddItem'
          type: array
        adjudication:
          description: The adjudication results which are presented at the header level
            rather than at the line-item or add-item levels.
          items:
            $ref: '#/components/schemas/ClaimResponse_Adjudication'
          type: array
        total:
          description: Categorized monetary totals for the adjudication.
          items:
            $ref: '#/components/schemas/ClaimResponse_Total'
          type: array
        payment:
          description: Payment details for the adjudication of the claim.
          $ref: '#/components/schemas/ClaimResponse_Payment'
        fundsReserve:
          description: A code, used only on a response to a preauthorization, to indicate
            whether the benefits payable have been reserved and for whom.
          $ref: '#/components/schemas/CodeableConcept'
        formCode:
          description: A code for the form to be used for printing the content.
          $ref: '#/components/schemas/CodeableConcept'
        form:
          description: The actual form, by reference or inclusion, for printing the
            content or an EOB.
          $ref: '#/components/schemas/Attachment'
        processNote:
          description: A note that describes or explains adjudication results in a human
            readable form.
          items:
            $ref: '#/components/schemas/ClaimResponse_ProcessNote'
          type: array
        communicationRequest:
          description: Request for additional supporting or authorizing information.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        insurance:
          description: Financial instruments for reimbursement for the health care products
            and services specified on the claim.
          items:
            $ref: '#/components/schemas/ClaimResponse_Insurance'
          type: array
        error:
          description: Errors encountered during the processing of the adjudication.
          items:
            $ref: '#/components/schemas/ClaimResponse_Error'
          type: array
      type: object
      additionalProperties: false
      required:
      - patient
      - type
      - resourceType
    ClaimResponse_Event:
      description: This resource provides the adjudication details from the processing
        of a Claim resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: A coded event such as when a service is expected or a card printed.
          $ref: '#/components/schemas/CodeableConcept'
        whenDateTime:
          description: A date or period in the past or future indicating when the event
            occurred or is expectd to occur.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _whenDateTime:
          description: Extensions for whenDateTime
          $ref: '#/components/schemas/Element'
        whenPeriod:
          description: A date or period in the past or future indicating when the event
            occurred or is expectd to occur.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - type
    ClaimResponse_Item:
      description: This resource provides the adjudication details from the processing
        of a Claim resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        itemSequence:
          description: A number to uniquely reference the claim item entries.
          $ref: '#/components/schemas/positiveInt'
        _itemSequence:
          description: Extensions for itemSequence
          $ref: '#/components/schemas/Element'
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        noteNumber:
          description: The numbers associated with notes below which apply to the adjudication
            of this item.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _noteNumber:
          description: Extensions for noteNumber
          items:
            $ref: '#/components/schemas/Element'
          type: array
        reviewOutcome:
          description: The high-level results of the adjudication if adjudication has
            been performed.
          $ref: '#/components/schemas/ClaimResponse_ReviewOutcome'
        adjudication:
          description: If this item is a group then the values here are a summary of
            the adjudication of the detail items. If this item is a simple product or
            service then this is the result of the adjudication of this item.
          items:
            $ref: '#/components/schemas/ClaimResponse_Adjudication'
          type: array
        detail:
          description: A claim detail. Either a simple (a product or service) or a 'group'
            of sub-details which are simple items.
          items:
            $ref: '#/components/schemas/ClaimResponse_Detail'
          type: array
      type: object
      additionalProperties: false
    ClaimResponse_ReviewOutcome:
      description: This resource provides the adjudication details from the processing
        of a Claim resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        decision:
          description: The result of the claim, predetermination, or preauthorization
            adjudication.
          $ref: '#/components/schemas/CodeableConcept'
        reason:
          description: The reasons for the result of the claim, predetermination, or
            preauthorization adjudication.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        preAuthRef:
          description: Reference from the Insurer which is used in later communications
            which refers to this adjudication.
          $ref: '#/components/schemas/string'
        _preAuthRef:
          description: Extensions for preAuthRef
          $ref: '#/components/schemas/Element'
        preAuthPeriod:
          description: The time frame during which this authorization is effective.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
    ClaimResponse_Adjudication:
      description: This resource provides the adjudication details from the processing
        of a Claim resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        category:
          description: 'A code to indicate the information type of this adjudication
            record. Information types may include the value submitted, maximum values
            or percentages allowed or payable under the plan, amounts that: the patient
            is responsible for in aggregate or pertaining to this item; amounts paid
            by other coverages; and, the benefit payable for this item.'
          $ref: '#/components/schemas/CodeableConcept'
        reason:
          description: A code supporting the understanding of the adjudication result
            and explaining variance from expected amount.
          $ref: '#/components/schemas/CodeableConcept'
        amount:
          description: Monetary amount associated with the category.
          $ref: '#/components/schemas/Money'
        quantity:
          description: A non-monetary value associated with the category. Mutually exclusive
            to the amount element above.
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
      required:
      - category
    ClaimResponse_Detail:
      description: This resource provides the adjudication details from the processing
        of a Claim resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        detailSequence:
          description: A number to uniquely reference the claim detail entry.
          $ref: '#/components/schemas/positiveInt'
        _detailSequence:
          description: Extensions for detailSequence
          $ref: '#/components/schemas/Element'
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        noteNumber:
          description: The numbers associated with notes below which apply to the adjudication
            of this item.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _noteNumber:
          description: Extensions for noteNumber
          items:
            $ref: '#/components/schemas/Element'
          type: array
        reviewOutcome:
          description: The high-level results of the adjudication if adjudication has
            been performed.
          $ref: '#/components/schemas/ClaimResponse_ReviewOutcome'
        adjudication:
          description: The adjudication results.
          items:
            $ref: '#/components/schemas/ClaimResponse_Adjudication'
          type: array
        subDetail:
          description: A sub-detail adjudication of a simple product or service.
          items:
            $ref: '#/components/schemas/ClaimResponse_SubDetail'
          type: array
      type: object
      additionalProperties: false
    ClaimResponse_SubDetail:
      description: This resource provides the adjudication details from the processing
        of a Claim resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        subDetailSequence:
          description: A number to uniquely reference the claim sub-detail entry.
          $ref: '#/components/schemas/positiveInt'
        _subDetailSequence:
          description: Extensions for subDetailSequence
          $ref: '#/components/schemas/Element'
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        noteNumber:
          description: The numbers associated with notes below which apply to the adjudication
            of this item.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _noteNumber:
          description: Extensions for noteNumber
          items:
            $ref: '#/components/schemas/Element'
          type: array
        reviewOutcome:
          description: The high-level results of the adjudication if adjudication has
            been performed.
          $ref: '#/components/schemas/ClaimResponse_ReviewOutcome'
        adjudication:
          description: The adjudication results.
          items:
            $ref: '#/components/schemas/ClaimResponse_Adjudication'
          type: array
      type: object
      additionalProperties: false
    ClaimResponse_AddItem:
      description: This resource provides the adjudication details from the processing
        of a Claim resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        itemSequence:
          description: Claim items which this service line is intended to replace.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _itemSequence:
          description: Extensions for itemSequence
          items:
            $ref: '#/components/schemas/Element'
          type: array
        detailSequence:
          description: The sequence number of the details within the claim item which
            this line is intended to replace.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _detailSequence:
          description: Extensions for detailSequence
          items:
            $ref: '#/components/schemas/Element'
          type: array
        subdetailSequence:
          description: The sequence number of the sub-details within the details within
            the claim item which this line is intended to replace.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _subdetailSequence:
          description: Extensions for subdetailSequence
          items:
            $ref: '#/components/schemas/Element'
          type: array
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        provider:
          description: The providers who are authorized for the services rendered to
            the patient.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        revenue:
          description: The type of revenue or cost center providing the product and/or
            service.
          $ref: '#/components/schemas/CodeableConcept'
        productOrService:
          description: When the value is a group code then this item collects a set
            of related item details, otherwise this contains the product, service, drug
            or other billing code for the item. This element may be the start of a range
            of .productOrService codes used in conjunction with .productOrServiceEnd
            or it may be a solo element where .productOrServiceEnd is not used.
          $ref: '#/components/schemas/CodeableConcept'
        productOrServiceEnd:
          description: This contains the end of a range of product, service, drug or
            other billing codes for the item. This element is not used when the .productOrService
            is a group code. This value may only be present when a .productOfService
            code has been provided to convey the start of the range. Typically this
            value may be used only with preauthorizations and not with claims.
          $ref: '#/components/schemas/CodeableConcept'
        request:
          description: Request or Referral for Goods or Service to be rendered.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        modifier:
          description: Item typification or modifiers codes to convey additional context
            for the product or service.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        programCode:
          description: Identifies the program under which this may be recovered.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        servicedDate:
          description: The date or dates when the service or product was supplied, performed
            or completed.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _servicedDate:
          description: Extensions for servicedDate
          $ref: '#/components/schemas/Element'
        servicedPeriod:
          description: The date or dates when the service or product was supplied, performed
            or completed.
          $ref: '#/components/schemas/Period'
        locationCodeableConcept:
          description: Where the product or service was provided.
          $ref: '#/components/schemas/CodeableConcept'
        locationAddress:
          description: Where the product or service was provided.
          $ref: '#/components/schemas/Address'
        locationReference:
          description: Where the product or service was provided.
          $ref: '#/components/schemas/Reference'
        quantity:
          description: The number of repetitions of a service or product.
          $ref: '#/components/schemas/Quantity'
        unitPrice:
          description: If the item is not a group then this is the fee for the product
            or service, otherwise this is the total of the fees for the details of the
            group.
          $ref: '#/components/schemas/Money'
        factor:
          description: A real number that represents a multiplier used in determining
            the overall value of services delivered and/or goods received. The concept
            of a Factor allows for a discount or surcharge multiplier to be applied
            to a monetary amount.
          $ref: '#/components/schemas/decimal'
        _factor:
          description: Extensions for factor
          $ref: '#/components/schemas/Element'
        tax:
          description: The total of taxes applicable for this product or service.
          $ref: '#/components/schemas/Money'
        net:
          description: The total amount claimed for the group (if a grouper) or the
            addItem. Net = unit price * quantity * factor.
          $ref: '#/components/schemas/Money'
        bodySite:
          description: Physical location where the service is performed or applies.
          items:
            $ref: '#/components/schemas/ClaimResponse_BodySite'
          type: array
        noteNumber:
          description: The numbers associated with notes below which apply to the adjudication
            of this item.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _noteNumber:
          description: Extensions for noteNumber
          items:
            $ref: '#/components/schemas/Element'
          type: array
        reviewOutcome:
          description: The high-level results of the adjudication if adjudication has
            been performed.
          $ref: '#/components/schemas/ClaimResponse_ReviewOutcome'
        adjudication:
          description: The adjudication results.
          items:
            $ref: '#/components/schemas/ClaimResponse_Adjudication'
          type: array
        detail:
          description: The second-tier service adjudications for payor added services.
          items:
            $ref: '#/components/schemas/ClaimResponse_Detail1'
          type: array
      type: object
      additionalProperties: false
    ClaimResponse_BodySite:
      description: This resource provides the adjudication details from the processing
        of a Claim resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        site:
          description: Physical service site on the patient (limb, tooth, etc.).
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        subSite:
          description: A region or surface of the bodySite, e.g. limb region or tooth
            surface(s).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
      required:
      - site
    ClaimResponse_Detail1:
      description: This resource provides the adjudication details from the processing
        of a Claim resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        revenue:
          description: The type of revenue or cost center providing the product and/or
            service.
          $ref: '#/components/schemas/CodeableConcept'
        productOrService:
          description: When the value is a group code then this item collects a set
            of related item details, otherwise this contains the product, service, drug
            or other billing code for the item. This element may be the start of a range
            of .productOrService codes used in conjunction with .productOrServiceEnd
            or it may be a solo element where .productOrServiceEnd is not used.
          $ref: '#/components/schemas/CodeableConcept'
        productOrServiceEnd:
          description: This contains the end of a range of product, service, drug or
            other billing codes for the item. This element is not used when the .productOrService
            is a group code. This value may only be present when a .productOfService
            code has been provided to convey the start of the range. Typically this
            value may be used only with preauthorizations and not with claims.
          $ref: '#/components/schemas/CodeableConcept'
        modifier:
          description: Item typification or modifiers codes to convey additional context
            for the product or service.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        quantity:
          description: The number of repetitions of a service or product.
          $ref: '#/components/schemas/Quantity'
        unitPrice:
          description: If the item is not a group then this is the fee for the product
            or service, otherwise this is the total of the fees for the details of the
            group.
          $ref: '#/components/schemas/Money'
        factor:
          description: A real number that represents a multiplier used in determining
            the overall value of services delivered and/or goods received. The concept
            of a Factor allows for a discount or surcharge multiplier to be applied
            to a monetary amount.
          $ref: '#/components/schemas/decimal'
        _factor:
          description: Extensions for factor
          $ref: '#/components/schemas/Element'
        tax:
          description: The total of taxes applicable for this product or service.
          $ref: '#/components/schemas/Money'
        net:
          description: The total amount claimed for the group (if a grouper) or the
            addItem.detail. Net = unit price * quantity * factor.
          $ref: '#/components/schemas/Money'
        noteNumber:
          description: The numbers associated with notes below which apply to the adjudication
            of this item.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _noteNumber:
          description: Extensions for noteNumber
          items:
            $ref: '#/components/schemas/Element'
          type: array
        reviewOutcome:
          description: The high-level results of the adjudication if adjudication has
            been performed.
          $ref: '#/components/schemas/ClaimResponse_ReviewOutcome'
        adjudication:
          description: The adjudication results.
          items:
            $ref: '#/components/schemas/ClaimResponse_Adjudication'
          type: array
        subDetail:
          description: The third-tier service adjudications for payor added services.
          items:
            $ref: '#/components/schemas/ClaimResponse_SubDetail1'
          type: array
      type: object
      additionalProperties: false
    ClaimResponse_SubDetail1:
      description: This resource provides the adjudication details from the processing
        of a Claim resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        revenue:
          description: The type of revenue or cost center providing the product and/or
            service.
          $ref: '#/components/schemas/CodeableConcept'
        productOrService:
          description: When the value is a group code then this item collects a set
            of related item details, otherwise this contains the product, service, drug
            or other billing code for the item. This element may be the start of a range
            of .productOrService codes used in conjunction with .productOrServiceEnd
            or it may be a solo element where .productOrServiceEnd is not used.
          $ref: '#/components/schemas/CodeableConcept'
        productOrServiceEnd:
          description: This contains the end of a range of product, service, drug or
            other billing codes for the item. This element is not used when the .productOrService
            is a group code. This value may only be present when a .productOfService
            code has been provided to convey the start of the range. Typically this
            value may be used only with preauthorizations and not with claims.
          $ref: '#/components/schemas/CodeableConcept'
        modifier:
          description: Item typification or modifiers codes to convey additional context
            for the product or service.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        quantity:
          description: The number of repetitions of a service or product.
          $ref: '#/components/schemas/Quantity'
        unitPrice:
          description: If the item is not a group then this is the fee for the product
            or service, otherwise this is the total of the fees for the details of the
            group.
          $ref: '#/components/schemas/Money'
        factor:
          description: A real number that represents a multiplier used in determining
            the overall value of services delivered and/or goods received. The concept
            of a Factor allows for a discount or surcharge multiplier to be applied
            to a monetary amount.
          $ref: '#/components/schemas/decimal'
        _factor:
          description: Extensions for factor
          $ref: '#/components/schemas/Element'
        tax:
          description: The total of taxes applicable for this product or service.
          $ref: '#/components/schemas/Money'
        net:
          description: The total amount claimed for the addItem.detail.subDetail. Net
            = unit price * quantity * factor.
          $ref: '#/components/schemas/Money'
        noteNumber:
          description: The numbers associated with notes below which apply to the adjudication
            of this item.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _noteNumber:
          description: Extensions for noteNumber
          items:
            $ref: '#/components/schemas/Element'
          type: array
        reviewOutcome:
          description: The high-level results of the adjudication if adjudication has
            been performed.
          $ref: '#/components/schemas/ClaimResponse_ReviewOutcome'
        adjudication:
          description: The adjudication results.
          items:
            $ref: '#/components/schemas/ClaimResponse_Adjudication'
          type: array
      type: object
      additionalProperties: false
    ClaimResponse_Total:
      description: This resource provides the adjudication details from the processing
        of a Claim resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        category:
          description: 'A code to indicate the information type of this adjudication
            record. Information types may include: the value submitted, maximum values
            or percentages allowed or payable under the plan, amounts that the patient
            is responsible for in aggregate or pertaining to this item, amounts paid
            by other coverages, and the benefit payable for this item.'
          $ref: '#/components/schemas/CodeableConcept'
        amount:
          description: Monetary total amount associated with the category.
          $ref: '#/components/schemas/Money'
      type: object
      additionalProperties: false
      required:
      - amount
      - category
    ClaimResponse_Payment:
      description: This resource provides the adjudication details from the processing
        of a Claim resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Whether this represents partial or complete payment of the benefits
            payable.
          $ref: '#/components/schemas/CodeableConcept'
        adjustment:
          description: Total amount of all adjustments to this payment included in this
            transaction which are not related to this claim's adjudication.
          $ref: '#/components/schemas/Money'
        adjustmentReason:
          description: Reason for the payment adjustment.
          $ref: '#/components/schemas/CodeableConcept'
        date:
          description: Estimated date the payment will be issued or the actual issue
            date of payment.
          $ref: '#/components/schemas/date'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        amount:
          description: Benefits payable less any payment adjustment.
          $ref: '#/components/schemas/Money'
        identifier:
          description: Issuer's unique identifier for the payment instrument.
          $ref: '#/components/schemas/Identifier'
      type: object
      additionalProperties: false
      required:
      - amount
      - type
    ClaimResponse_ProcessNote:
      description: This resource provides the adjudication details from the processing
        of a Claim resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        number:
          description: A number to uniquely identify a note entry.
          $ref: '#/components/schemas/positiveInt'
        _number:
          description: Extensions for number
          $ref: '#/components/schemas/Element'
        type:
          description: The business purpose of the note text.
          $ref: '#/components/schemas/CodeableConcept'
        text:
          description: The explanation or description associated with the processing.
          $ref: '#/components/schemas/string'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
        language:
          description: A code to define the language used in the text of the note.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    ClaimResponse_Insurance:
      description: This resource provides the adjudication details from the processing
        of a Claim resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A number to uniquely identify insurance entries and provide a
            sequence of coverages to convey coordination of benefit order.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        focal:
          description: A flag to indicate that this Coverage is to be used for adjudication
            of this claim when set to true.
          $ref: '#/components/schemas/boolean'
        _focal:
          description: Extensions for focal
          $ref: '#/components/schemas/Element'
        coverage:
          description: Reference to the insurance card level information contained in
            the Coverage resource. The coverage issuing insurer will use these details
            to locate the patient's actual coverage within the insurer's information
            system.
          $ref: '#/components/schemas/Reference'
        businessArrangement:
          description: A business agreement number established between the provider
            and the insurer for special business processing purposes.
          $ref: '#/components/schemas/string'
        _businessArrangement:
          description: Extensions for businessArrangement
          $ref: '#/components/schemas/Element'
        claimResponse:
          description: The result of the adjudication of the line items for the Coverage
            specified in this insurance.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - coverage
    ClaimResponse_Error:
      description: This resource provides the adjudication details from the processing
        of a Claim resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        itemSequence:
          description: The sequence number of the line item submitted which contains
            the error. This value is omitted when the error occurs outside of the item
            structure.
          $ref: '#/components/schemas/positiveInt'
        _itemSequence:
          description: Extensions for itemSequence
          $ref: '#/components/schemas/Element'
        detailSequence:
          description: The sequence number of the detail within the line item submitted
            which contains the error. This value is omitted when the error occurs outside
            of the item structure.
          $ref: '#/components/schemas/positiveInt'
        _detailSequence:
          description: Extensions for detailSequence
          $ref: '#/components/schemas/Element'
        subDetailSequence:
          description: The sequence number of the sub-detail within the detail within
            the line item submitted which contains the error. This value is omitted
            when the error occurs outside of the item structure.
          $ref: '#/components/schemas/positiveInt'
        _subDetailSequence:
          description: Extensions for subDetailSequence
          $ref: '#/components/schemas/Element'
        code:
          description: An error code, from a specified code system, which details why
            the claim could not be adjudicated.
          $ref: '#/components/schemas/CodeableConcept'
        expression:
          description: A [simple subset of FHIRPath](fhirpath.html#simple) limited to
            element names, repetition indicators and the default child accessor that
            identifies one of the elements in the resource that caused this issue to
            be raised.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _expression:
          description: Extensions for expression
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
    ClinicalImpression:
      description: A record of a clinical assessment performed to determine what problem(s)
        may affect the patient and before planning the treatments or management strategies
        that are best to manage a patient's condition. Assessments are often 1:1 with
        a clinical consultation / encounter,  but this varies greatly depending on the
        clinical workflow. This resource is called "ClinicalImpression" rather than
        "ClinicalAssessment" to avoid confusion with the recording of assessment tools
        such as Apgar score.
      properties:
        resourceType:
          description: This is a ClinicalImpression resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this clinical impression by
            the performer or other systems which remain constant as the resource is
            updated and propagates from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: Identifies the workflow status of the assessment.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        statusReason:
          description: Captures the reason for the current state of the ClinicalImpression.
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: A summary of the context and/or cause of the assessment - why
            / where it was performed, and what patient events/status prompted it.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        subject:
          description: The patient or group of individuals assessed as part of this
            record.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The Encounter during which this ClinicalImpression was created
            or to which the creation of this record is tightly associated.
          $ref: '#/components/schemas/Reference'
        effectiveDateTime:
          description: The point in time or period over which the subject was assessed.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _effectiveDateTime:
          description: Extensions for effectiveDateTime
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The point in time or period over which the subject was assessed.
          $ref: '#/components/schemas/Period'
        date:
          description: Indicates when the documentation of the assessment was complete.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        performer:
          description: The clinician performing the assessment.
          $ref: '#/components/schemas/Reference'
        previous:
          description: A reference to the last assessment that was conducted on this
            patient. Assessments are often/usually ongoing in nature; a care provider
            (practitioner or team) will make new assessments on an ongoing basis as
            new data arises or the patient's conditions changes.
          $ref: '#/components/schemas/Reference'
        problem:
          description: A list of the relevant problems/conditions for a patient.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        changePattern:
          description: Change in the status/pattern of a subject's condition since previously
            assessed, such as worsening, improving, or no change.  It is a subjective
            assessment of the direction of the change.
          $ref: '#/components/schemas/CodeableConcept'
        protocol:
          description: Reference to a specific published clinical protocol that was
            followed during this assessment, and/or that provides evidence in support
            of the diagnosis.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _protocol:
          description: Extensions for protocol
          items:
            $ref: '#/components/schemas/Element'
          type: array
        summary:
          description: A text summary of the investigations and the diagnosis.
          $ref: '#/components/schemas/string'
        _summary:
          description: Extensions for summary
          $ref: '#/components/schemas/Element'
        finding:
          description: Specific findings or diagnoses that were considered likely or
            relevant to ongoing treatment.
          items:
            $ref: '#/components/schemas/ClinicalImpression_Finding'
          type: array
        prognosisCodeableConcept:
          description: Estimate of likely outcome.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        prognosisReference:
          description: RiskAssessment expressing likely outcome.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        supportingInfo:
          description: Information supporting the clinical impression, which can contain
            investigation results.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        note:
          description: Commentary about the impression, typically recorded after the
            impression itself was made, though supplemental notes by the original author
            could also appear.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - resourceType
    ClinicalImpression_Finding:
      description: A record of a clinical assessment performed to determine what problem(s)
        may affect the patient and before planning the treatments or management strategies
        that are best to manage a patient's condition. Assessments are often 1:1 with
        a clinical consultation / encounter,  but this varies greatly depending on the
        clinical workflow. This resource is called "ClinicalImpression" rather than
        "ClinicalAssessment" to avoid confusion with the recording of assessment tools
        such as Apgar score.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        item:
          description: Specific text, code or reference for finding or diagnosis, which
            may include ruled-out or resolved conditions.
          $ref: '#/components/schemas/CodeableReference'
        basis:
          description: Which investigations support finding or diagnosis.
          $ref: '#/components/schemas/string'
        _basis:
          description: Extensions for basis
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ClinicalUseDefinition:
      description: A single issue - either an indication, contraindication, interaction
        or an undesirable effect for a medicinal product, medication, device or procedure.
      properties:
        resourceType:
          description: This is a ClinicalUseDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifier for this issue.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        type:
          description: indication | contraindication | interaction | undesirable-effect
            | warning.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        category:
          description: A categorisation of the issue, primarily for dividing warnings
            into subject heading areas such as "Pregnancy and Lactation", "Overdose",
            "Effects on Ability to Drive and Use Machines".
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        subject:
          description: The medication, product, substance, device, procedure etc. for
            which this is an indication.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: Whether this is a current issue or one that has been retired
            etc.
          $ref: '#/components/schemas/CodeableConcept'
        contraindication:
          description: Specifics for when this is a contraindication.
          $ref: '#/components/schemas/ClinicalUseDefinition_Contraindication'
        indication:
          description: Specifics for when this is an indication.
          $ref: '#/components/schemas/ClinicalUseDefinition_Indication'
        interaction:
          description: Specifics for when this is an interaction.
          $ref: '#/components/schemas/ClinicalUseDefinition_Interaction'
        population:
          description: The population group to which this applies.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        library:
          description: Logic used by the clinical use definition.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        undesirableEffect:
          description: Describe the possible undesirable effects (negative outcomes)
            from the use of the medicinal product as treatment.
          $ref: '#/components/schemas/ClinicalUseDefinition_UndesirableEffect'
        warning:
          description: A critical piece of information about environmental, health or
            physical risks or hazards that serve as caution to the user. For example
            'Do not operate heavy machinery', 'May cause drowsiness', or 'Get medical
            advice/attention if you feel unwell'.
          $ref: '#/components/schemas/ClinicalUseDefinition_Warning'
      type: object
      additionalProperties: false
      required:
      - resourceType
    ClinicalUseDefinition_Contraindication:
      description: A single issue - either an indication, contraindication, interaction
        or an undesirable effect for a medicinal product, medication, device or procedure.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        diseaseSymptomProcedure:
          description: The situation that is being documented as contraindicating against
            this item.
          $ref: '#/components/schemas/CodeableReference'
        diseaseStatus:
          description: The status of the disease or symptom for the contraindication,
            for example "chronic" or "metastatic".
          $ref: '#/components/schemas/CodeableReference'
        comorbidity:
          description: A comorbidity (concurrent condition) or coinfection.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        indication:
          description: The indication which this is a contraidication for.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        applicability:
          description: An expression that returns true or false, indicating whether
            the indication is applicable or not, after having applied its other elements.
          $ref: '#/components/schemas/Expression'
        otherTherapy:
          description: Information about the use of the medicinal product in relation
            to other therapies described as part of the contraindication.
          items:
            $ref: '#/components/schemas/ClinicalUseDefinition_OtherTherapy'
          type: array
      type: object
      additionalProperties: false
    ClinicalUseDefinition_OtherTherapy:
      description: A single issue - either an indication, contraindication, interaction
        or an undesirable effect for a medicinal product, medication, device or procedure.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        relationshipType:
          description: The type of relationship between the medicinal product indication
            or contraindication and another therapy.
          $ref: '#/components/schemas/CodeableConcept'
        treatment:
          description: Reference to a specific medication (active substance, medicinal
            product or class of products, biological, food etc.) as part of an indication
            or contraindication.
          $ref: '#/components/schemas/CodeableReference'
      type: object
      additionalProperties: false
      required:
      - treatment
      - relationshipType
    ClinicalUseDefinition_Indication:
      description: A single issue - either an indication, contraindication, interaction
        or an undesirable effect for a medicinal product, medication, device or procedure.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        diseaseSymptomProcedure:
          description: The situation that is being documented as an indicaton for this
            item.
          $ref: '#/components/schemas/CodeableReference'
        diseaseStatus:
          description: The status of the disease or symptom for the indication, for
            example "chronic" or "metastatic".
          $ref: '#/components/schemas/CodeableReference'
        comorbidity:
          description: A comorbidity (concurrent condition) or coinfection as part of
            the indication.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        intendedEffect:
          description: The intended effect, aim or strategy to be achieved.
          $ref: '#/components/schemas/CodeableReference'
        durationRange:
          description: Timing or duration information, that may be associated with use
            with the indicated condition e.g. Adult patients suffering from myocardial
            infarction (from a few days until less than 35 days), ischaemic stroke (from
            7 days until less than 6 months).
          $ref: '#/components/schemas/Range'
        durationString:
          description: Timing or duration information, that may be associated with use
            with the indicated condition e.g. Adult patients suffering from myocardial
            infarction (from a few days until less than 35 days), ischaemic stroke (from
            7 days until less than 6 months).
          pattern: ^^[\s\S]+$$
          type: string
        _durationString:
          description: Extensions for durationString
          $ref: '#/components/schemas/Element'
        undesirableEffect:
          description: An unwanted side effect or negative outcome that may happen if
            you use the drug (or other subject of this resource) for this indication.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        applicability:
          description: An expression that returns true or false, indicating whether
            the indication is applicable or not, after having applied its other elements.
          $ref: '#/components/schemas/Expression'
        otherTherapy:
          description: Information about the use of the medicinal product in relation
            to other therapies described as part of the indication.
          items:
            $ref: '#/components/schemas/ClinicalUseDefinition_OtherTherapy'
          type: array
      type: object
      additionalProperties: false
    ClinicalUseDefinition_Interaction:
      description: A single issue - either an indication, contraindication, interaction
        or an undesirable effect for a medicinal product, medication, device or procedure.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        interactant:
          description: The specific medication, product, food, substance etc. or laboratory
            test that interacts.
          items:
            $ref: '#/components/schemas/ClinicalUseDefinition_Interactant'
          type: array
        type:
          description: The type of the interaction e.g. drug-drug interaction, drug-food
            interaction, drug-lab test interaction.
          $ref: '#/components/schemas/CodeableConcept'
        effect:
          description: The effect of the interaction, for example "reduced gastric absorption
            of primary medication".
          $ref: '#/components/schemas/CodeableReference'
        incidence:
          description: The incidence of the interaction, e.g. theoretical, observed.
          $ref: '#/components/schemas/CodeableConcept'
        management:
          description: Actions for managing the interaction.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
    ClinicalUseDefinition_Interactant:
      description: A single issue - either an indication, contraindication, interaction
        or an undesirable effect for a medicinal product, medication, device or procedure.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        itemReference:
          description: The specific medication, product, food, substance etc. or laboratory
            test that interacts.
          $ref: '#/components/schemas/Reference'
        itemCodeableConcept:
          description: The specific medication, product, food, substance etc. or laboratory
            test that interacts.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    ClinicalUseDefinition_UndesirableEffect:
      description: A single issue - either an indication, contraindication, interaction
        or an undesirable effect for a medicinal product, medication, device or procedure.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        symptomConditionEffect:
          description: The situation in which the undesirable effect may manifest.
          $ref: '#/components/schemas/CodeableReference'
        classification:
          description: High level classification of the effect.
          $ref: '#/components/schemas/CodeableConcept'
        frequencyOfOccurrence:
          description: How often the effect is seen.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    ClinicalUseDefinition_Warning:
      description: A single issue - either an indication, contraindication, interaction
        or an undesirable effect for a medicinal product, medication, device or procedure.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: A textual definition of this warning, with formatting.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        code:
          description: A coded or unformatted textual definition of this warning.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    CodeSystem:
      description: The CodeSystem resource is used to declare the existence of and describe
        a code system or code system supplement and its key properties, and optionally
        define a part or all of its content.
      properties:
        resourceType:
          description: This is a CodeSystem resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this code system when
            it is referenced in a specification, model, design or an instance; also
            called its canonical identifier. This SHOULD be globally unique and SHOULD
            be a literal address at which an authoritative instance of this code system
            is (or will be) published. This URL can be the target of a canonical reference.
            It SHALL remain the same when the code system is stored on different servers.
            This is used in [Coding](datatypes.html#Coding).system.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this code system
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the code
            system when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the code system author and is not
            expected to be globally unique. For example, it might be a timestamp (e.g.
            yyyymmdd) if a managed version is not available. There is also no expectation
            that versions can be placed in a lexicographical sequence. This is used
            in [Coding](datatypes.html#Coding).version.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which CodeSystem is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which CodeSystem is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the code system. This name
            should be usable as an identifier for the module by machine processing applications
            such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the code system.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this code system. Enables tracking the life-cycle
            of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this code system is authored
            for testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the code system was last
            significantly changed. The date must change when the business version changes
            and it must change if the status code changes. In addition, it should change
            when the substantive content of the code system changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the code system.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the code system from
            a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            code system instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the code system is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this code system is needed and why it has
            been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the code system and/or its
            contents. Copyright statements are generally legal restrictions on the use
            and publishing of the code system.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the CodeSystem content was or is planned
            to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptions related to the content of the CodeSystem. Topics
            provide a high-level categorization as well as keywords for the CodeSystem
            that can be useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual or organization primarily involved in the creation
            and maintenance of the CodeSystem.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individual or organization primarily responsible for internal
            coherence of the CodeSystem.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individual or organization asserted by the publisher to be
            primarily responsible for review of some aspect of the CodeSystem.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individual or organization asserted by the publisher to be
            responsible for officially endorsing the CodeSystem for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Related artifacts such as additional documentation, justification,
            dependencies, bibliographic references, and predecessor and successor artifacts.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        caseSensitive:
          description: If code comparison is case sensitive when codes within this system
            are compared to each other.
          $ref: '#/components/schemas/boolean'
        _caseSensitive:
          description: Extensions for caseSensitive
          $ref: '#/components/schemas/Element'
        valueSet:
          description: Canonical reference to the value set that contains all codes
            in the code system independent of code status.
          $ref: '#/components/schemas/canonical'
        hierarchyMeaning:
          description: The meaning of the hierarchy of concepts as represented in this
            resource.
          $ref: '#/components/schemas/code'
        _hierarchyMeaning:
          description: Extensions for hierarchyMeaning
          $ref: '#/components/schemas/Element'
        compositional:
          description: The code system defines a compositional (post-coordination) grammar.
          $ref: '#/components/schemas/boolean'
        _compositional:
          description: Extensions for compositional
          $ref: '#/components/schemas/Element'
        versionNeeded:
          description: This flag is used to signify that the code system does not commit
            to concept permanence across versions. If true, a version must be specified
            when referencing this code system.
          $ref: '#/components/schemas/boolean'
        _versionNeeded:
          description: Extensions for versionNeeded
          $ref: '#/components/schemas/Element'
        content:
          description: The extent of the content of the code system (the concepts and
            codes it defines) are represented in this resource instance.
          $ref: '#/components/schemas/code'
        _content:
          description: Extensions for content
          $ref: '#/components/schemas/Element'
        supplements:
          description: The canonical URL of the code system that this code system supplement
            is adding designations and properties to.
          $ref: '#/components/schemas/canonical'
        count:
          description: The total number of concepts defined by the code system. Where
            the code system has a compositional grammar, the basis of this count is
            defined by the system steward.
          $ref: '#/components/schemas/unsignedInt'
        _count:
          description: Extensions for count
          $ref: '#/components/schemas/Element'
        filter:
          description: A filter that can be used in a value set compose statement when
            selecting concepts using a filter.
          items:
            $ref: '#/components/schemas/CodeSystem_Filter'
          type: array
        property:
          description: A property defines an additional slot through which additional
            information can be provided about a concept.
          items:
            $ref: '#/components/schemas/CodeSystem_Property'
          type: array
        concept:
          description: Concepts that are in the code system. The concept definitions
            are inherently hierarchical, but the definitions must be consulted to determine
            what the meanings of the hierarchical relationships are.
          items:
            $ref: '#/components/schemas/CodeSystem_Concept'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    CodeSystem_Filter:
      description: The CodeSystem resource is used to declare the existence of and describe
        a code system or code system supplement and its key properties, and optionally
        define a part or all of its content.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: The code that identifies this filter when it is used as a filter
            in [ValueSet](valueset.html#).compose.include.filter.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        description:
          description: A description of how or why the filter is used.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        operator:
          description: A list of operators that can be used with the filter.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _operator:
          description: Extensions for operator
          items:
            $ref: '#/components/schemas/Element'
          type: array
        value:
          description: A description of what the value for the filter should be.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    CodeSystem_Property:
      description: The CodeSystem resource is used to declare the existence of and describe
        a code system or code system supplement and its key properties, and optionally
        define a part or all of its content.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A code that is used to identify the property. The code is used
            internally (in CodeSystem.concept.property.code) and also externally, such
            as in property filters.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        uri:
          description: Reference to the formal meaning of the property. One possible
            source of meaning is the [Concept Properties](codesystem-concept-properties.html)
            code system.
          $ref: '#/components/schemas/uri'
        _uri:
          description: Extensions for uri
          $ref: '#/components/schemas/Element'
        description:
          description: A description of the property- why it is defined, and how its
            value might be used.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        type:
          description: The type of the property value. Properties of type "code" contain
            a code defined by the code system (e.g. a reference to another defined concept).
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    CodeSystem_Concept:
      description: The CodeSystem resource is used to declare the existence of and describe
        a code system or code system supplement and its key properties, and optionally
        define a part or all of its content.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A code - a text symbol - that uniquely identifies the concept
            within the code system.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        display:
          description: A human readable string that is the recommended default way to
            present this concept to a user.
          $ref: '#/components/schemas/string'
        _display:
          description: Extensions for display
          $ref: '#/components/schemas/Element'
        definition:
          description: The formal definition of the concept. The code system resource
            does not make formal definitions required, because of the prevalence of
            legacy systems. However, they are highly recommended, as without them there
            is no formal meaning associated with the concept.
          $ref: '#/components/schemas/string'
        _definition:
          description: Extensions for definition
          $ref: '#/components/schemas/Element'
        designation:
          description: Additional representations for the concept - other languages,
            aliases, specialized purposes, used for particular purposes, etc.
          items:
            $ref: '#/components/schemas/CodeSystem_Designation'
          type: array
        property:
          description: A property value for this concept.
          items:
            $ref: '#/components/schemas/CodeSystem_Property1'
          type: array
        concept:
          description: Defines children of a concept to produce a hierarchy of concepts.
            The nature of the relationships is variable (is-a/contains/categorizes)
            - see hierarchyMeaning.
          items:
            $ref: '#/components/schemas/CodeSystem_Concept'
          type: array
      type: object
      additionalProperties: false
    CodeSystem_Designation:
      description: The CodeSystem resource is used to declare the existence of and describe
        a code system or code system supplement and its key properties, and optionally
        define a part or all of its content.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        language:
          description: The language this designation is defined for.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        use:
          description: A code that details how this designation would be used.
          $ref: '#/components/schemas/Coding'
        additionalUse:
          description: Additional codes that detail how this designation would be used,
            if there is more than one use.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        value:
          description: The text value for this designation.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    CodeSystem_Property1:
      description: The CodeSystem resource is used to declare the existence of and describe
        a code system or code system supplement and its key properties, and optionally
        define a part or all of its content.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A code that is a reference to CodeSystem.property.code.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        valueCode:
          description: The value of this property.
          pattern: ^[^\s]+( [^\s]+)*$
          type: string
        _valueCode:
          description: Extensions for valueCode
          $ref: '#/components/schemas/Element'
        valueCoding:
          description: The value of this property.
          $ref: '#/components/schemas/Coding'
        valueString:
          description: The value of this property.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The value of this property.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: The value of this property.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The value of this property.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: The value of this property.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Communication:
      description: A clinical or business level record of information being transmitted
        or shared; e.g. an alert that was sent to a responsible provider, a public health
        agency communication to a provider/reporter in response to a case report for
        a reportable condition.
      properties:
        resourceType:
          description: This is a Communication resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this communication by the performer
            or other systems which remain constant as the resource is updated and propagates
            from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        instantiatesCanonical:
          description: The URL pointing to a FHIR-defined protocol, guideline, orderset
            or other definition that is adhered to in whole or in part by this Communication.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        instantiatesUri:
          description: The URL pointing to an externally maintained protocol, guideline,
            orderset or other definition that is adhered to in whole or in part by this
            Communication.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _instantiatesUri:
          description: Extensions for instantiatesUri
          items:
            $ref: '#/components/schemas/Element'
          type: array
        basedOn:
          description: An order, proposal or plan fulfilled in whole or in part by this
            Communication.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        partOf:
          description: A larger event (e.g. Communication, Procedure) of which this
            particular communication is a component or step.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        inResponseTo:
          description: Prior communication that this communication is in response to.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: The status of the transmission.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        statusReason:
          description: Captures the reason for the current state of the Communication.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: The type of message conveyed such as alert, notification, reminder,
            instruction, etc.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        priority:
          description: Characterizes how quickly the planned or in progress communication
            must be addressed. Includes concepts such as stat, urgent, routine.
          $ref: '#/components/schemas/code'
        _priority:
          description: Extensions for priority
          $ref: '#/components/schemas/Element'
        medium:
          description: A channel that was used for this communication (e.g. email, fax).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        subject:
          description: The patient or group that was the focus of this communication.
          $ref: '#/components/schemas/Reference'
        topic:
          description: Description of the purpose/content, similar to a subject line
            in an email.
          $ref: '#/components/schemas/CodeableConcept'
        about:
          description: Other resources that pertain to this communication and to which
            this communication should be associated.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        encounter:
          description: The Encounter during which this Communication was created or
            to which the creation of this record is tightly associated.
          $ref: '#/components/schemas/Reference'
        sent:
          description: The time when this communication was sent.
          $ref: '#/components/schemas/dateTime'
        _sent:
          description: Extensions for sent
          $ref: '#/components/schemas/Element'
        received:
          description: The time when this communication arrived at the destination.
          $ref: '#/components/schemas/dateTime'
        _received:
          description: Extensions for received
          $ref: '#/components/schemas/Element'
        recipient:
          description: The entity (e.g. person, organization, clinical information system,
            care team or device) which is the target of the communication.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        sender:
          description: The entity (e.g. person, organization, clinical information system,
            or device) which is the source of the communication.
          $ref: '#/components/schemas/Reference'
        reason:
          description: The reason or justification for the communication.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        payload:
          description: Text, attachment(s), or resource(s) that was communicated to
            the recipient.
          items:
            $ref: '#/components/schemas/Communication_Payload'
          type: array
        note:
          description: Additional notes or commentary about the communication by the
            sender, receiver or other interested parties.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    Communication_Payload:
      description: A clinical or business level record of information being transmitted
        or shared; e.g. an alert that was sent to a responsible provider, a public health
        agency communication to a provider/reporter in response to a case report for
        a reportable condition.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        contentAttachment:
          description: A communicated content (or for multi-part communications, one
            portion of the communication).
          $ref: '#/components/schemas/Attachment'
        contentReference:
          description: A communicated content (or for multi-part communications, one
            portion of the communication).
          $ref: '#/components/schemas/Reference'
        contentCodeableConcept:
          description: A communicated content (or for multi-part communications, one
            portion of the communication).
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    CommunicationRequest:
      description: A request to convey information; e.g. the CDS system proposes that
        an alert be sent to a responsible provider, the CDS system proposes that the
        public health agency be notified about a reportable condition.
      properties:
        resourceType:
          description: This is a CommunicationRequest resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this communication request by
            the performer or other systems which remain constant as the resource is
            updated and propagates from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        basedOn:
          description: A plan or proposal that is fulfilled in whole or in part by this
            request.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        replaces:
          description: Completed or terminated request(s) whose function is taken by
            this new request.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        groupIdentifier:
          description: A shared identifier common to multiple independent Request instances
            that were activated/authorized more or less simultaneously by a single author.  The
            presence of the same identifier on each request ties those requests together
            and may have business ramifications in terms of reporting of results, billing,
            etc.  E.g. a requisition number shared by a set of lab tests ordered together,
            or a prescription number shared by all meds ordered at one time.
          $ref: '#/components/schemas/Identifier'
        status:
          description: The status of the proposal or order.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        statusReason:
          description: Captures the reason for the current state of the CommunicationRequest.
          $ref: '#/components/schemas/CodeableConcept'
        intent:
          description: Indicates the level of authority/intentionality associated with
            the CommunicationRequest and where the request fits into the workflow chain.
          $ref: '#/components/schemas/code'
        _intent:
          description: Extensions for intent
          $ref: '#/components/schemas/Element'
        category:
          description: The type of message to be sent such as alert, notification, reminder,
            instruction, etc.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        priority:
          description: Characterizes how quickly the proposed act must be initiated.
            Includes concepts such as stat, urgent, routine.
          $ref: '#/components/schemas/code'
        _priority:
          description: Extensions for priority
          $ref: '#/components/schemas/Element'
        doNotPerform:
          description: If true indicates that the CommunicationRequest is asking for
            the specified action to *not* occur.
          $ref: '#/components/schemas/boolean'
        _doNotPerform:
          description: Extensions for doNotPerform
          $ref: '#/components/schemas/Element'
        medium:
          description: A channel that was used for this communication (e.g. email, fax).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        subject:
          description: The patient or group that is the focus of this communication
            request.
          $ref: '#/components/schemas/Reference'
        about:
          description: Other resources that pertain to this communication request and
            to which this communication request should be associated.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        encounter:
          description: The Encounter during which this CommunicationRequest was created
            or to which the creation of this record is tightly associated.
          $ref: '#/components/schemas/Reference'
        payload:
          description: Text, attachment(s), or resource(s) to be communicated to the
            recipient.
          items:
            $ref: '#/components/schemas/CommunicationRequest_Payload'
          type: array
        occurrenceDateTime:
          description: The time when this communication is to occur.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _occurrenceDateTime:
          description: Extensions for occurrenceDateTime
          $ref: '#/components/schemas/Element'
        occurrencePeriod:
          description: The time when this communication is to occur.
          $ref: '#/components/schemas/Period'
        authoredOn:
          description: For draft requests, indicates the date of initial creation.  For
            requests with other statuses, indicates the date of activation.
          $ref: '#/components/schemas/dateTime'
        _authoredOn:
          description: Extensions for authoredOn
          $ref: '#/components/schemas/Element'
        requester:
          description: The device, individual, or organization who asks for the information
            to be shared.
          $ref: '#/components/schemas/Reference'
        recipient:
          description: The entity (e.g. person, organization, clinical information system,
            device, group, or care team) which is the intended target of the communication.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        informationProvider:
          description: The entity (e.g. person, organization, clinical information system,
            or device) which is to be the source of the communication.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        reason:
          description: Describes why the request is being made in coded or textual form.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        note:
          description: Comments made about the request by the requester, sender, recipient,
            subject or other participants.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    CommunicationRequest_Payload:
      description: A request to convey information; e.g. the CDS system proposes that
        an alert be sent to a responsible provider, the CDS system proposes that the
        public health agency be notified about a reportable condition.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        contentAttachment:
          description: The communicated content (or for multi-part communications, one
            portion of the communication).
          $ref: '#/components/schemas/Attachment'
        contentReference:
          description: The communicated content (or for multi-part communications, one
            portion of the communication).
          $ref: '#/components/schemas/Reference'
        contentCodeableConcept:
          description: The communicated content (or for multi-part communications, one
            portion of the communication).
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    CompartmentDefinition:
      description: A compartment definition that defines how resources are accessed
        on a server.
      properties:
        resourceType:
          description: This is a CompartmentDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this compartment definition
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this compartment
            definition is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the compartment definition is stored
            on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this {{title}} when
            it is represented in other formats, or referenced in a specification, model,
            design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the compartment
            definition when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the compartment definition author
            and is not expected to be globally unique. For example, it might be a timestamp
            (e.g. yyyymmdd) if a managed version is not available. There is also no
            expectation that versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the compartment definition.
            This name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the capability
            statement.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this compartment definition. Enables tracking the
            life-cycle of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this compartment definition
            is authored for testing purposes (or education/evaluation/marketing) and
            is not intended to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the compartment definition
            was last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the compartment definition changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the compartment definition.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the compartment definition
            from a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            compartment definition instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the {{title}} is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this compartment definition is needed and
            why it has been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the {{title}} and/or its contents.
            Copyright statements are generally legal restrictions on the use and publishing
            of the {{title}}.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        code:
          description: Which compartment this definition describes.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        search:
          description: Whether the search syntax is supported,.
          $ref: '#/components/schemas/boolean'
        _search:
          description: Extensions for search
          $ref: '#/components/schemas/Element'
        resource:
          description: Information about how a resource is related to the compartment.
          items:
            $ref: '#/components/schemas/CompartmentDefinition_Resource'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    CompartmentDefinition_Resource:
      description: A compartment definition that defines how resources are accessed
        on a server.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: The name of a resource supported by the server.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        param:
          description: The name of a search parameter that represents the link to the
            compartment. More than one may be listed because a resource may be linked
            to a compartment in more than one way,.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _param:
          description: Extensions for param
          items:
            $ref: '#/components/schemas/Element'
          type: array
        documentation:
          description: Additional documentation about the resource and compartment.
          $ref: '#/components/schemas/string'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
        startParam:
          description: Search Parameter for mapping requests made with $everything.start
            (e.g. on [Patient.$everything](patient-operation-everything.html)).
          $ref: '#/components/schemas/uri'
        _startParam:
          description: Extensions for startParam
          $ref: '#/components/schemas/Element'
        endParam:
          description: Search Parameter for mapping requests made with $everything.end
            (e.g. on [Patient.$everything](patient-operation-everything.html)).
          $ref: '#/components/schemas/uri'
        _endParam:
          description: Extensions for endParam
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Composition:
      description: A set of healthcare-related information that is assembled together
        into a single logical package that provides a single coherent statement of meaning,
        establishes its own context and that has clinical attestation with regard to
        who is making the statement. A Composition defines the structure and narrative
        content necessary for a document. However, a Composition alone does not constitute
        a document. Rather, the Composition must be the first entry in a Bundle where
        Bundle.type=document, and any other resources referenced from Composition must
        be included as subsequent entries in the Bundle (for example Patient, Practitioner,
        Encounter, etc.).
      properties:
        resourceType:
          description: This is a Composition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this Composition when
            it is referenced in a specification, model, design or an instance; also
            called its canonical identifier. This SHOULD be globally unique and SHOULD
            be a literal address at which an authoritative instance of this Composition
            is (or will be) published. This URL can be the target of a canonical reference.
            It SHALL remain the same when the Composition is stored on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A version-independent identifier for the Composition. This identifier
            stays constant as the composition is changed over time.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: An explicitly assigned identifer of a variation of the content
            in the Composition.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        status:
          description: The workflow/clinical status of this composition. The status
            is a marker for the clinical standing of the document.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        type:
          description: Specifies the particular kind of composition (e.g. History and
            Physical, Discharge Summary, Progress Note). This usually equates to the
            purpose of making the composition.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: A categorization for the type of the composition - helps for
            indexing and searching. This may be implied by or derived from the code
            specified in the Composition Type.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        subject:
          description: Who or what the composition is about. The composition can be
            about a person, (patient or healthcare practitioner), a device (e.g. a machine)
            or even a group of subjects (such as a document about a herd of livestock,
            or a set of patients that share a common exposure).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        encounter:
          description: Describes the clinical encounter or type of care this documentation
            is associated with.
          $ref: '#/components/schemas/Reference'
        date:
          description: The composition editing time, when the composition was last logically
            changed by the author.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            Composition instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        author:
          description: Identifies who is responsible for the information in the composition,
            not necessarily who typed it in.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        name:
          description: A natural language name identifying the {{title}}. This name
            should be usable as an identifier for the module by machine processing applications
            such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: Official human-readable label for the composition.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        note:
          description: For any additional notes.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        attester:
          description: A participant who has attested to the accuracy of the composition/document.
          items:
            $ref: '#/components/schemas/Composition_Attester'
          type: array
        custodian:
          description: Identifies the organization or group who is responsible for ongoing
            maintenance of and access to the composition/document information.
          $ref: '#/components/schemas/Reference'
        relatesTo:
          description: Relationships that this composition has with other compositions
            or documents that already exist.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        event:
          description: The clinical service, such as a colonoscopy or an appendectomy,
            being documented.
          items:
            $ref: '#/components/schemas/Composition_Event'
          type: array
        section:
          description: The root of the sections that make up the composition.
          items:
            $ref: '#/components/schemas/Composition_Section'
          type: array
      type: object
      additionalProperties: false
      required:
      - author
      - type
      - resourceType
    Composition_Attester:
      description: A set of healthcare-related information that is assembled together
        into a single logical package that provides a single coherent statement of meaning,
        establishes its own context and that has clinical attestation with regard to
        who is making the statement. A Composition defines the structure and narrative
        content necessary for a document. However, a Composition alone does not constitute
        a document. Rather, the Composition must be the first entry in a Bundle where
        Bundle.type=document, and any other resources referenced from Composition must
        be included as subsequent entries in the Bundle (for example Patient, Practitioner,
        Encounter, etc.).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        mode:
          description: The type of attestation the authenticator offers.
          $ref: '#/components/schemas/CodeableConcept'
        time:
          description: When the composition was attested by the party.
          $ref: '#/components/schemas/dateTime'
        _time:
          description: Extensions for time
          $ref: '#/components/schemas/Element'
        party:
          description: Who attested the composition in the specified way.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - mode
    Composition_Event:
      description: A set of healthcare-related information that is assembled together
        into a single logical package that provides a single coherent statement of meaning,
        establishes its own context and that has clinical attestation with regard to
        who is making the statement. A Composition defines the structure and narrative
        content necessary for a document. However, a Composition alone does not constitute
        a document. Rather, the Composition must be the first entry in a Bundle where
        Bundle.type=document, and any other resources referenced from Composition must
        be included as subsequent entries in the Bundle (for example Patient, Practitioner,
        Encounter, etc.).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        period:
          description: The period of time covered by the documentation. There is no
            assertion that the documentation is a complete representation for this period,
            only that it documents events during this time.
          $ref: '#/components/schemas/Period'
        detail:
          description: Represents the main clinical acts, such as a colonoscopy or an
            appendectomy, being documented. In some cases, the event is inherent in
            the typeCode, such as a "History and Physical Report" in which case the
            procedure being documented is necessarily a "History and Physical" act.
            The events may be included as a code or as a reference to an other resource.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
      type: object
      additionalProperties: false
    Composition_Section:
      description: A set of healthcare-related information that is assembled together
        into a single logical package that provides a single coherent statement of meaning,
        establishes its own context and that has clinical attestation with regard to
        who is making the statement. A Composition defines the structure and narrative
        content necessary for a document. However, a Composition alone does not constitute
        a document. Rather, the Composition must be the first entry in a Bundle where
        Bundle.type=document, and any other resources referenced from Composition must
        be included as subsequent entries in the Bundle (for example Patient, Practitioner,
        Encounter, etc.).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        title:
          description: The label for this particular section.  This will be part of
            the rendered content for the document, and is often used to build a table
            of contents.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        code:
          description: A code identifying the kind of content contained within the section.
            This must be consistent with the section title.
          $ref: '#/components/schemas/CodeableConcept'
        author:
          description: Identifies who is responsible for the information in this section,
            not necessarily who typed it in.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        focus:
          description: The actual focus of the section when it is not the subject of
            the composition, but instead represents something or someone associated
            with the subject such as (for a patient subject) a spouse, parent, fetus,
            or donor. If not focus is specified, the focus is assumed to be focus of
            the parent section, or, for a section in the Composition itself, the subject
            of the composition. Sections with a focus SHALL only include resources where
            the logical subject (patient, subject, focus, etc.) matches the section
            focus, or the resources have no logical subject (few resources).
          $ref: '#/components/schemas/Reference'
        text:
          description: A human-readable narrative that contains the attested content
            of the section, used to represent the content of the resource to a human.
            The narrative need not encode all the structured data, but is required to
            contain sufficient detail to make it "clinically safe" for a human to just
            read the narrative.
          $ref: '#/components/schemas/Narrative'
        orderedBy:
          description: Specifies the order applied to the items in the section entries.
          $ref: '#/components/schemas/CodeableConcept'
        entry:
          description: A reference to the actual resource from which the narrative in
            the section is derived.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        emptyReason:
          description: If the section is empty, why the list is empty. An empty section
            typically has some text explaining the empty reason.
          $ref: '#/components/schemas/CodeableConcept'
        section:
          description: A nested sub-section within this section.
          items:
            $ref: '#/components/schemas/Composition_Section'
          type: array
      type: object
      additionalProperties: false
    ConceptMap:
      description: A statement of relationships from one set of concepts to one or more
        other concepts - either concepts in code systems, or data element/data element
        concepts, or classes in class models.
      properties:
        resourceType:
          description: This is a ConceptMap resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this concept map when
            it is referenced in a specification, model, design or an instance; also
            called its canonical identifier. This SHOULD be globally unique and SHOULD
            be a literal address at which an authoritative instance of this concept
            map is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the concept map is stored on different
            servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this concept map
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the concept
            map when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the concept map author and is not
            expected to be globally unique. For example, it might be a timestamp (e.g.
            yyyymmdd) if a managed version is not available. There is also no expectation
            that versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which ConceptMap is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which ConceptMap is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the concept map. This name
            should be usable as an identifier for the module by machine processing applications
            such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the concept map.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this concept map. Enables tracking the life-cycle
            of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this concept map is authored
            for testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the concept map was last
            significantly changed. The date must change when the business version changes
            and it must change if the status code changes. In addition, it should change
            when the substantive content of the concept map changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the concept map.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the concept map from
            a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            concept map instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the concept map is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this concept map is needed and why it has
            been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the concept map and/or its
            contents. Copyright statements are generally legal restrictions on the use
            and publishing of the concept map.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the ConceptMap content was or is planned
            to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptions related to the content of the ConceptMap. Topics
            provide a high-level categorization as well as keywords for the ConceptMap
            that can be useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual or organization primarily involved in the creation
            and maintenance of the ConceptMap.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individual or organization primarily responsible for internal
            coherence of the ConceptMap.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individual or organization asserted by the publisher to be
            primarily responsible for review of some aspect of the ConceptMap.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individual or organization asserted by the publisher to be
            responsible for officially endorsing the ConceptMap for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Related artifacts such as additional documentation, justification,
            dependencies, bibliographic references, and predecessor and successor artifacts.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        property:
          description: A property defines a slot through which additional information
            can be provided about a map from source -> target.
          items:
            $ref: '#/components/schemas/ConceptMap_Property'
          type: array
        additionalAttribute:
          description: An additionalAttribute defines an additional data element found
            in the source or target data model where the data will come from or be mapped
            to. Some mappings are based on data in addition to the source data element,
            where codes in multiple fields are combined to a single field (or vice versa).
          items:
            $ref: '#/components/schemas/ConceptMap_AdditionalAttribute'
          type: array
        sourceScopeUri:
          description: Identifier for the source value set that contains the concepts
            that are being mapped and provides context for the mappings.  Limits the
            scope of the map to source codes (ConceptMap.group.element code or valueSet)
            that are members of this value set.
          pattern: ^\S*$
          type: string
        _sourceScopeUri:
          description: Extensions for sourceScopeUri
          $ref: '#/components/schemas/Element'
        sourceScopeCanonical:
          description: Identifier for the source value set that contains the concepts
            that are being mapped and provides context for the mappings.  Limits the
            scope of the map to source codes (ConceptMap.group.element code or valueSet)
            that are members of this value set.
          pattern: ^\S*$
          type: string
        _sourceScopeCanonical:
          description: Extensions for sourceScopeCanonical
          $ref: '#/components/schemas/Element'
        targetScopeUri:
          description: Identifier for the target value set that provides important context
            about how the mapping choices are made.  Limits the scope of the map to
            target codes (ConceptMap.group.element.target code or valueSet) that are
            members of this value set.
          pattern: ^\S*$
          type: string
        _targetScopeUri:
          description: Extensions for targetScopeUri
          $ref: '#/components/schemas/Element'
        targetScopeCanonical:
          description: Identifier for the target value set that provides important context
            about how the mapping choices are made.  Limits the scope of the map to
            target codes (ConceptMap.group.element.target code or valueSet) that are
            members of this value set.
          pattern: ^\S*$
          type: string
        _targetScopeCanonical:
          description: Extensions for targetScopeCanonical
          $ref: '#/components/schemas/Element'
        group:
          description: A group of mappings that all have the same source and target
            system.
          items:
            $ref: '#/components/schemas/ConceptMap_Group'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    ConceptMap_Property:
      description: A statement of relationships from one set of concepts to one or more
        other concepts - either concepts in code systems, or data element/data element
        concepts, or classes in class models.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A code that is used to identify the property. The code is used
            internally (in ConceptMap.group.element.target.property.code) and also in
            the $translate operation.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        uri:
          description: Reference to the formal meaning of the property.
          $ref: '#/components/schemas/uri'
        _uri:
          description: Extensions for uri
          $ref: '#/components/schemas/Element'
        description:
          description: A description of the property - why it is defined, and how its
            value might be used.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        type:
          description: The type of the property value.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        system:
          description: The CodeSystem that defines the codes from which values of type
            ```code``` in property values.
          $ref: '#/components/schemas/canonical'
      type: object
      additionalProperties: false
    ConceptMap_AdditionalAttribute:
      description: A statement of relationships from one set of concepts to one or more
        other concepts - either concepts in code systems, or data element/data element
        concepts, or classes in class models.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A code that is used to identify this additional data attribute.
            The code is used internally in ConceptMap.group.element.target.dependsOn.attribute
            and ConceptMap.group.element.target.product.attribute.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        uri:
          description: Reference to the formal definition of the source/target data
            element. For elements defined by the FHIR specification, or using a FHIR
            logical model, the correct format is {canonical-url}#{element-id}.
          $ref: '#/components/schemas/uri'
        _uri:
          description: Extensions for uri
          $ref: '#/components/schemas/Element'
        description:
          description: A description of the additional attribute and/or the data element
            it refers to - why it is defined, and how the value might be used in mappings,
            and a discussion of issues associated with the use of the data element.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        type:
          description: The type of the source data contained in this concept map for
            this data element.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ConceptMap_Group:
      description: A statement of relationships from one set of concepts to one or more
        other concepts - either concepts in code systems, or data element/data element
        concepts, or classes in class models.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        source:
          description: An absolute URI that identifies the source system where the concepts
            to be mapped are defined.
          $ref: '#/components/schemas/canonical'
        target:
          description: An absolute URI that identifies the target system that the concepts
            will be mapped to.
          $ref: '#/components/schemas/canonical'
        element:
          description: Mappings for an individual concept in the source to one or more
            concepts in the target.
          items:
            $ref: '#/components/schemas/ConceptMap_Element'
          type: array
        unmapped:
          description: What to do when there is no mapping to a target concept from
            the source concept and ConceptMap.group.element.noMap is not true. This
            provides the "default" to be applied when there is no target concept mapping
            specified or the expansion of ConceptMap.group.element.target.valueSet is
            empty.
          $ref: '#/components/schemas/ConceptMap_Unmapped'
      type: object
      additionalProperties: false
      required:
      - element
    ConceptMap_Element:
      description: A statement of relationships from one set of concepts to one or more
        other concepts - either concepts in code systems, or data element/data element
        concepts, or classes in class models.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Identity (code or path) or the element/item being mapped.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        display:
          description: The display for the code. The display is only provided to help
            editors when editing the concept map.
          $ref: '#/components/schemas/string'
        _display:
          description: Extensions for display
          $ref: '#/components/schemas/Element'
        valueSet:
          description: The set of concepts from the ConceptMap.group.source code system
            which are all being mapped to the target as part of this mapping rule.
          $ref: '#/components/schemas/canonical'
        noMap:
          description: If noMap = true this indicates that no mapping to a target concept
            exists for this source concept.
          $ref: '#/components/schemas/boolean'
        _noMap:
          description: Extensions for noMap
          $ref: '#/components/schemas/Element'
        target:
          description: A concept from the target value set that this concept maps to.
          items:
            $ref: '#/components/schemas/ConceptMap_Target'
          type: array
      type: object
      additionalProperties: false
    ConceptMap_Target:
      description: A statement of relationships from one set of concepts to one or more
        other concepts - either concepts in code systems, or data element/data element
        concepts, or classes in class models.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Identity (code or path) or the element/item that the map refers
            to.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        display:
          description: The display for the code. The display is only provided to help
            editors when editing the concept map.
          $ref: '#/components/schemas/string'
        _display:
          description: Extensions for display
          $ref: '#/components/schemas/Element'
        valueSet:
          description: The set of concepts from the ConceptMap.group.target code system
            which are all being mapped to as part of this mapping rule. The effect of
            using this data element is the same as having multiple ConceptMap.group.element.target
            elements with one for each concept in the ConceptMap.group.element.target.valueSet
            value set.
          $ref: '#/components/schemas/canonical'
        relationship:
          description: The relationship between the source and target concepts. The
            relationship is read from source to target (e.g. source-is-narrower-than-target).
          $ref: '#/components/schemas/code'
        _relationship:
          description: Extensions for relationship
          $ref: '#/components/schemas/Element'
        comment:
          description: A description of status/issues in mapping that conveys additional
            information not represented in  the structured data.
          $ref: '#/components/schemas/string'
        _comment:
          description: Extensions for comment
          $ref: '#/components/schemas/Element'
        property:
          description: A property value for this source -> target mapping.
          items:
            $ref: '#/components/schemas/ConceptMap_Property1'
          type: array
        dependsOn:
          description: A set of additional dependencies for this mapping to hold. This
            mapping is only applicable if the specified data attribute can be resolved,
            and it has the specified value.
          items:
            $ref: '#/components/schemas/ConceptMap_DependsOn'
          type: array
        product:
          description: Product is the output of a ConceptMap that provides additional
            values that go in other attributes / data elemnts of the target data.
          items:
            $ref: '#/components/schemas/ConceptMap_DependsOn'
          type: array
      type: object
      additionalProperties: false
    ConceptMap_Property1:
      description: A statement of relationships from one set of concepts to one or more
        other concepts - either concepts in code systems, or data element/data element
        concepts, or classes in class models.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A reference to a mapping property defined in ConceptMap.property.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        valueCoding:
          description: The value of this property. If the type chosen for this element
            is 'code', then the property SHALL be defined in a ConceptMap.property element.
          $ref: '#/components/schemas/Coding'
        valueString:
          description: The value of this property. If the type chosen for this element
            is 'code', then the property SHALL be defined in a ConceptMap.property element.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The value of this property. If the type chosen for this element
            is 'code', then the property SHALL be defined in a ConceptMap.property element.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: The value of this property. If the type chosen for this element
            is 'code', then the property SHALL be defined in a ConceptMap.property element.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The value of this property. If the type chosen for this element
            is 'code', then the property SHALL be defined in a ConceptMap.property element.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: The value of this property. If the type chosen for this element
            is 'code', then the property SHALL be defined in a ConceptMap.property element.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
        valueCode:
          description: The value of this property. If the type chosen for this element
            is 'code', then the property SHALL be defined in a ConceptMap.property element.
          pattern: ^[^\s]+( [^\s]+)*$
          type: string
        _valueCode:
          description: Extensions for valueCode
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ConceptMap_DependsOn:
      description: A statement of relationships from one set of concepts to one or more
        other concepts - either concepts in code systems, or data element/data element
        concepts, or classes in class models.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        attribute:
          description: A reference to the additional attribute that holds a value the
            map depends on.
          $ref: '#/components/schemas/code'
        _attribute:
          description: Extensions for attribute
          $ref: '#/components/schemas/Element'
        valueCode:
          description: Data element value that the map depends on / produces.
          pattern: ^[^\s]+( [^\s]+)*$
          type: string
        _valueCode:
          description: Extensions for valueCode
          $ref: '#/components/schemas/Element'
        valueCoding:
          description: Data element value that the map depends on / produces.
          $ref: '#/components/schemas/Coding'
        valueString:
          description: Data element value that the map depends on / produces.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: Data element value that the map depends on / produces.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueQuantity:
          description: Data element value that the map depends on / produces.
          $ref: '#/components/schemas/Quantity'
        valueSet:
          description: This mapping applies if the data element value is a code from
            this value set.
          $ref: '#/components/schemas/canonical'
      type: object
      additionalProperties: false
    ConceptMap_Unmapped:
      description: A statement of relationships from one set of concepts to one or more
        other concepts - either concepts in code systems, or data element/data element
        concepts, or classes in class models.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        mode:
          description: 'Defines which action to take if there is no match for the source
            concept in the target system designated for the group. One of 3 actions
            are possible: use the unmapped source code (this is useful when doing a
            mapping between versions, and only a few codes have changed), use a fixed
            code (a default code), or alternatively, a reference to a different concept
            map can be provided (by canonical URL).'
          $ref: '#/components/schemas/code'
        _mode:
          description: Extensions for mode
          $ref: '#/components/schemas/Element'
        code:
          description: The fixed code to use when the mode = 'fixed'  - all unmapped
            codes are mapped to a single fixed code.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        display:
          description: The display for the code. The display is only provided to help
            editors when editing the concept map.
          $ref: '#/components/schemas/string'
        _display:
          description: Extensions for display
          $ref: '#/components/schemas/Element'
        valueSet:
          description: The set of fixed codes to use when the mode = 'fixed'  - all
            unmapped codes are mapped to each of the fixed codes.
          $ref: '#/components/schemas/canonical'
        relationship:
          description: The default relationship value to apply between the source and
            target concepts when the source code is unmapped and the mode is 'fixed'
            or 'use-source-code'.
          $ref: '#/components/schemas/code'
        _relationship:
          description: Extensions for relationship
          $ref: '#/components/schemas/Element'
        otherMap:
          description: The canonical reference to an additional ConceptMap resource
            instance to use for mapping if this ConceptMap resource contains no matching
            mapping for the source concept.
          $ref: '#/components/schemas/canonical'
      type: object
      additionalProperties: false
    Condition:
      description: A clinical condition, problem, diagnosis, or other event, situation,
        issue, or clinical concept that has risen to a level of concern.
      properties:
        resourceType:
          description: This is a Condition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this condition by the performer
            or other systems which remain constant as the resource is updated and propagates
            from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        clinicalStatus:
          description: The clinical status of the condition.
          $ref: '#/components/schemas/CodeableConcept'
        verificationStatus:
          description: The verification status to support the clinical status of the
            condition.  The verification status pertains to the condition, itself, not
            to any specific condition attribute.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: A category assigned to the condition.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        severity:
          description: A subjective assessment of the severity of the condition as evaluated
            by the clinician.
          $ref: '#/components/schemas/CodeableConcept'
        code:
          description: Identification of the condition, problem or diagnosis.
          $ref: '#/components/schemas/CodeableConcept'
        bodySite:
          description: The anatomical location where this condition manifests itself.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        subject:
          description: Indicates the patient or group who the condition record is associated
            with.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The Encounter during which this Condition was created or to which
            the creation of this record is tightly associated.
          $ref: '#/components/schemas/Reference'
        onsetDateTime:
          description: Estimated or actual date or date-time  the condition began, in
            the opinion of the clinician.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _onsetDateTime:
          description: Extensions for onsetDateTime
          $ref: '#/components/schemas/Element'
        onsetAge:
          description: Estimated or actual date or date-time  the condition began, in
            the opinion of the clinician.
          $ref: '#/components/schemas/Age'
        onsetPeriod:
          description: Estimated or actual date or date-time  the condition began, in
            the opinion of the clinician.
          $ref: '#/components/schemas/Period'
        onsetRange:
          description: Estimated or actual date or date-time  the condition began, in
            the opinion of the clinician.
          $ref: '#/components/schemas/Range'
        onsetString:
          description: Estimated or actual date or date-time  the condition began, in
            the opinion of the clinician.
          pattern: ^^[\s\S]+$$
          type: string
        _onsetString:
          description: Extensions for onsetString
          $ref: '#/components/schemas/Element'
        abatementDateTime:
          description: The date or estimated date that the condition resolved or went
            into remission. This is called "abatement" because of the many overloaded
            connotations associated with "remission" or "resolution" - Some conditions,
            such as chronic conditions, are never really resolved, but they can abate.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _abatementDateTime:
          description: Extensions for abatementDateTime
          $ref: '#/components/schemas/Element'
        abatementAge:
          description: The date or estimated date that the condition resolved or went
            into remission. This is called "abatement" because of the many overloaded
            connotations associated with "remission" or "resolution" - Some conditions,
            such as chronic conditions, are never really resolved, but they can abate.
          $ref: '#/components/schemas/Age'
        abatementPeriod:
          description: The date or estimated date that the condition resolved or went
            into remission. This is called "abatement" because of the many overloaded
            connotations associated with "remission" or "resolution" - Some conditions,
            such as chronic conditions, are never really resolved, but they can abate.
          $ref: '#/components/schemas/Period'
        abatementRange:
          description: The date or estimated date that the condition resolved or went
            into remission. This is called "abatement" because of the many overloaded
            connotations associated with "remission" or "resolution" - Some conditions,
            such as chronic conditions, are never really resolved, but they can abate.
          $ref: '#/components/schemas/Range'
        abatementString:
          description: The date or estimated date that the condition resolved or went
            into remission. This is called "abatement" because of the many overloaded
            connotations associated with "remission" or "resolution" - Some conditions,
            such as chronic conditions, are never really resolved, but they can abate.
          pattern: ^^[\s\S]+$$
          type: string
        _abatementString:
          description: Extensions for abatementString
          $ref: '#/components/schemas/Element'
        recordedDate:
          description: The recordedDate represents when this particular Condition record
            was created in the system, which is often a system-generated date.
          $ref: '#/components/schemas/dateTime'
        _recordedDate:
          description: Extensions for recordedDate
          $ref: '#/components/schemas/Element'
        participant:
          description: Indicates who or what participated in the activities related
            to the condition and how they were involved.
          items:
            $ref: '#/components/schemas/Condition_Participant'
          type: array
        stage:
          description: A simple summary of the stage such as "Stage 3" or "Early Onset".
            The determination of the stage is disease-specific, such as cancer, retinopathy
            of prematurity, kidney diseases, Alzheimer's, or Parkinson disease.
          items:
            $ref: '#/components/schemas/Condition_Stage'
          type: array
        evidence:
          description: Supporting evidence / manifestations that are the basis of the
            Condition's verification status, such as evidence that confirmed or refuted
            the condition.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        note:
          description: Additional information about the Condition. This is a general
            notes/comments entry  for description of the Condition, its diagnosis and
            prognosis.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - clinicalStatus
      - resourceType
      - id
      - meta
      - code
    Condition_Participant:
      description: A clinical condition, problem, diagnosis, or other event, situation,
        issue, or clinical concept that has risen to a level of concern.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        function:
          description: Distinguishes the type of involvement of the actor in the activities
            related to the condition.
          $ref: '#/components/schemas/CodeableConcept'
        actor:
          description: Indicates who or what participated in the activities related
            to the condition.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - actor
    Condition_Stage:
      description: A clinical condition, problem, diagnosis, or other event, situation,
        issue, or clinical concept that has risen to a level of concern.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        summary:
          description: A simple summary of the stage such as "Stage 3" or "Early Onset".
            The determination of the stage is disease-specific, such as cancer, retinopathy
            of prematurity, kidney diseases, Alzheimer's, or Parkinson disease.
          $ref: '#/components/schemas/CodeableConcept'
        assessment:
          description: Reference to a formal record of the evidence on which the staging
            assessment is based.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        type:
          description: The kind of staging, such as pathological or clinical staging.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    ConditionDefinition:
      description: A definition of a condition and information relevant to managing
        it.
      properties:
        resourceType:
          description: This is a ConditionDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this condition definition
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this condition
            definition is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the condition definition is stored
            on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this condition definition
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the condition
            definition when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the condition definition author and
            is not expected to be globally unique. For example, it might be a timestamp
            (e.g. yyyymmdd) if a managed version is not available. There is also no
            expectation that versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the condition definition.
            This name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the condition definition.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this condition definition. Enables tracking the
            life-cycle of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this condition definition is
            authored for testing purposes (or education/evaluation/marketing) and is
            not intended to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the condition definition
            was last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the condition definition changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the condition definition.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the condition definition
            from a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            condition definition instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the condition definition
            is intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this {{title}} is needed and why it has been
            designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the {{title}} and/or its contents.
            Copyright statements are generally legal restrictions on the use and publishing
            of the {{title}}.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the {{title}} content was or is planned
            to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptive topics related to the content of the {{title}}. Topics
            provide a high-level categorization as well as keywords for the {{title}}
            that can be useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual or organization primarily involved in the creation
            and maintenance of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individual or organization primarily responsible for internal
            coherence of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individual or organization asserted by the publisher to be
            primarily responsible for review of some aspect of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individual or organization asserted by the publisher to be
            responsible for officially endorsing the {{title}} for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Related artifacts such as additional documentation, justification,
            dependencies, bibliographic references, and predecessor and successor artifacts.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        subtitle:
          description: An explanatory or alternate title for the event definition giving
            additional information about its content.
          $ref: '#/components/schemas/string'
        _subtitle:
          description: Extensions for subtitle
          $ref: '#/components/schemas/Element'
        code:
          description: Identification of the condition, problem or diagnosis.
          $ref: '#/components/schemas/CodeableConcept'
        severity:
          description: A subjective assessment of the severity of the condition as evaluated
            by the clinician.
          $ref: '#/components/schemas/CodeableConcept'
        bodySite:
          description: The anatomical location where this condition manifests itself.
          $ref: '#/components/schemas/CodeableConcept'
        stage:
          description: Clinical stage or grade of a condition. May include formal severity
            assessments.
          $ref: '#/components/schemas/CodeableConcept'
        hasSeverity:
          description: Whether Severity is appropriate to collect for this condition.
          $ref: '#/components/schemas/boolean'
        _hasSeverity:
          description: Extensions for hasSeverity
          $ref: '#/components/schemas/Element'
        hasBodySite:
          description: Whether bodySite is appropriate to collect for this condition.
          $ref: '#/components/schemas/boolean'
        _hasBodySite:
          description: Extensions for hasBodySite
          $ref: '#/components/schemas/Element'
        hasStage:
          description: Whether stage is appropriate to collect for this condition.
          $ref: '#/components/schemas/boolean'
        _hasStage:
          description: Extensions for hasStage
          $ref: '#/components/schemas/Element'
        definition:
          description: Formal definitions of the condition. These may be references
            to ontologies, published clinical protocols or research papers.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _definition:
          description: Extensions for definition
          items:
            $ref: '#/components/schemas/Element'
          type: array
        observation:
          description: Observations particularly relevant to this condition.
          items:
            $ref: '#/components/schemas/ConditionDefinition_Observation'
          type: array
        medication:
          description: Medications particularly relevant for this condition.
          items:
            $ref: '#/components/schemas/ConditionDefinition_Medication'
          type: array
        precondition:
          description: An observation that suggests that this condition applies.
          items:
            $ref: '#/components/schemas/ConditionDefinition_Precondition'
          type: array
        team:
          description: Appropriate team for this condition.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        questionnaire:
          description: Questionnaire for this condition.
          items:
            $ref: '#/components/schemas/ConditionDefinition_Questionnaire'
          type: array
        plan:
          description: Plan that is appropriate.
          items:
            $ref: '#/components/schemas/ConditionDefinition_Plan'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
      - resourceType
    ConditionDefinition_Observation:
      description: A definition of a condition and information relevant to managing
        it.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        category:
          description: Category that is relevant.
          $ref: '#/components/schemas/CodeableConcept'
        code:
          description: Code for relevant Observation.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    ConditionDefinition_Medication:
      description: A definition of a condition and information relevant to managing
        it.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        category:
          description: Category that is relevant.
          $ref: '#/components/schemas/CodeableConcept'
        code:
          description: Code for relevant Medication.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    ConditionDefinition_Precondition:
      description: A definition of a condition and information relevant to managing
        it.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Kind of pre-condition.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        code:
          description: Code for relevant Observation.
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableConcept:
          description: Value of Observation.
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: Value of Observation.
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
      required:
      - code
    ConditionDefinition_Questionnaire:
      description: A definition of a condition and information relevant to managing
        it.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        purpose:
          description: Use of the questionnaire.
          $ref: '#/components/schemas/code'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        reference:
          description: Specific Questionnaire.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - reference
    ConditionDefinition_Plan:
      description: A definition of a condition and information relevant to managing
        it.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        role:
          description: Use for the plan.
          $ref: '#/components/schemas/CodeableConcept'
        reference:
          description: The actual plan.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - reference
    Consent:
      description: A record of a healthcare consumer’s  choices  or choices made on
        their behalf by a third party, which permits or denies identified recipient(s)
        or recipient role(s) to perform one or more actions within a given policy context,
        for specific purposes and periods of time.
      properties:
        resourceType:
          description: This is a Consent resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Unique identifier for this copy of the Consent Statement.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: Indicates the current state of this Consent resource.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        category:
          description: A classification of the type of consents found in the statement.
            This element supports indexing and retrieval of consent statements.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        subject:
          description: The patient/healthcare practitioner or group of persons to whom
            this consent applies.
          $ref: '#/components/schemas/Reference'
        date:
          description: Date the consent instance was agreed to.
          $ref: '#/components/schemas/date'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        period:
          description: Effective period for this Consent Resource and all provisions
            unless specified in that provision.
          $ref: '#/components/schemas/Period'
        grantor:
          description: The entity responsible for granting the rights listed in a Consent
            Directive.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        grantee:
          description: The entity responsible for complying with the Consent Directive,
            including any obligations or limitations on authorizations and enforcement
            of prohibitions.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        manager:
          description: The actor that manages the consent through its lifecycle.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        controller:
          description: The actor that controls/enforces the access according to the
            consent.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        sourceAttachment:
          description: The source on which this consent statement is based. The source
            might be a scanned original paper form.
          items:
            $ref: '#/components/schemas/Attachment'
          type: array
        sourceReference:
          description: A reference to a consent that links back to such a source, a
            reference to a document repository (e.g. XDS) that stores the original consent
            document.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        regulatoryBasis:
          description: A set of codes that indicate the regulatory basis (if any) that
            this consent supports.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        policyBasis:
          description: A Reference or URL used to uniquely identify the policy the organization
            will enforce for this Consent. This Reference or URL should be specific
            to the version of the policy and should be dereferencable to a computable
            policy of some form.
          $ref: '#/components/schemas/Consent_PolicyBasis'
        policyText:
          description: A Reference to the human readable policy explaining the basis
            for the Consent.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        verification:
          description: 'Whether a treatment instruction (e.g. artificial respiration:
            yes or no) was verified with the patient, his/her family or another authorized
            person.'
          items:
            $ref: '#/components/schemas/Consent_Verification'
          type: array
        decision:
          description: Action to take - permit or deny - as default.
          $ref: '#/components/schemas/code'
        _decision:
          description: Extensions for decision
          $ref: '#/components/schemas/Element'
        provision:
          description: An exception to the base policy of this consent. An exception
            can be an addition or removal of access permissions.
          items:
            $ref: '#/components/schemas/Consent_Provision'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    Consent_PolicyBasis:
      description: A record of a healthcare consumer’s  choices  or choices made on
        their behalf by a third party, which permits or denies identified recipient(s)
        or recipient role(s) to perform one or more actions within a given policy context,
        for specific purposes and periods of time.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        reference:
          description: A Reference that identifies the policy the organization will
            enforce for this Consent.
          $ref: '#/components/schemas/Reference'
        url:
          description: A URL that links to a computable version of the policy the organization
            will enforce for this Consent.
          $ref: '#/components/schemas/url'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Consent_Verification:
      description: A record of a healthcare consumer’s  choices  or choices made on
        their behalf by a third party, which permits or denies identified recipient(s)
        or recipient role(s) to perform one or more actions within a given policy context,
        for specific purposes and periods of time.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        verified:
          description: Has the instruction been verified.
          $ref: '#/components/schemas/boolean'
        _verified:
          description: Extensions for verified
          $ref: '#/components/schemas/Element'
        verificationType:
          description: Extensible list of verification type starting with verification
            and re-validation.
          $ref: '#/components/schemas/CodeableConcept'
        verifiedBy:
          description: The person who conducted the verification/validation of the Grantor
            decision.
          $ref: '#/components/schemas/Reference'
        verifiedWith:
          description: Who verified the instruction (Patient, Relative or other Authorized
            Person).
          $ref: '#/components/schemas/Reference'
        verificationDate:
          description: Date(s) verification was collected.
          items:
            $ref: '#/components/schemas/dateTime'
          type: array
        _verificationDate:
          description: Extensions for verificationDate
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
    Consent_Provision:
      description: A record of a healthcare consumer’s  choices  or choices made on
        their behalf by a third party, which permits or denies identified recipient(s)
        or recipient role(s) to perform one or more actions within a given policy context,
        for specific purposes and periods of time.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        period:
          description: Timeframe for this provision.
          $ref: '#/components/schemas/Period'
        actor:
          description: Who or what is controlled by this provision. Use group to identify
            a set of actors by some property they share (e.g. 'admitting officers').
          items:
            $ref: '#/components/schemas/Consent_Actor'
          type: array
        action:
          description: Actions controlled by this provision.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        securityLabel:
          description: A security label, comprised of 0..* security label fields (Privacy
            tags), which define which resources are controlled by this exception.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        purpose:
          description: The context of the activities a user is taking - why the user
            is accessing the data - that are controlled by this provision.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        documentType:
          description: The documentType(s) covered by this provision. The type can be
            a CDA document, or some other type that indicates what sort of information
            the consent relates to.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        resourceType:
          description: The resourceType(s) covered by this provision. The type can be
            a FHIR resource type or a profile on a type that indicates what information
            the consent relates to.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        code:
          description: If this code is found in an instance, then the provision applies.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        dataPeriod:
          description: Clinical or Operational Relevant period of time that bounds the
            data controlled by this provision.
          $ref: '#/components/schemas/Period'
        data:
          description: The resources controlled by this provision if specific resources
            are referenced.
          items:
            $ref: '#/components/schemas/Consent_Data'
          type: array
        expression:
          description: A computable (FHIRPath or other) definition of what is controlled
            by this consent.
          $ref: '#/components/schemas/Expression'
        provision:
          description: Provisions which provide exceptions to the base provision or
            subprovisions.
          items:
            $ref: '#/components/schemas/Consent_Provision'
          type: array
      type: object
      additionalProperties: false
    Consent_Actor:
      description: A record of a healthcare consumer’s  choices  or choices made on
        their behalf by a third party, which permits or denies identified recipient(s)
        or recipient role(s) to perform one or more actions within a given policy context,
        for specific purposes and periods of time.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        role:
          description: How the individual is involved in the resources content that
            is described in the exception.
          $ref: '#/components/schemas/CodeableConcept'
        reference:
          description: The resource that identifies the actor. To identify actors by
            type, use group to identify a set of actors by some property they share
            (e.g. 'admitting officers').
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    Consent_Data:
      description: A record of a healthcare consumer’s  choices  or choices made on
        their behalf by a third party, which permits or denies identified recipient(s)
        or recipient role(s) to perform one or more actions within a given policy context,
        for specific purposes and periods of time.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        meaning:
          description: How the resource reference is interpreted when testing consent
            restrictions.
          $ref: '#/components/schemas/code'
        _meaning:
          description: Extensions for meaning
          $ref: '#/components/schemas/Element'
        reference:
          description: A reference to a specific resource that defines which resources
            are covered by this consent.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - reference
    Contract:
      description: Legally enforceable, formally recorded unilateral or bilateral directive
        i.e., a policy or agreement.
      properties:
        resourceType:
          description: This is a Contract resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Unique identifier for this Contract or a derivative that references
            a Source Contract.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        url:
          description: Canonical identifier for this contract, represented as a URI
            (globally unique).
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        version:
          description: An edition identifier used for business purposes to label business
            significant variants.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        status:
          description: The status of the resource instance.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        legalState:
          description: Legal states of the formation of a legal instrument, which is
            a formally executed written document that can be formally attributed to
            its author, records and formally expresses a legally enforceable act, process,
            or contractual duty, obligation, or right, and therefore evidences that
            act, process, or agreement.
          $ref: '#/components/schemas/CodeableConcept'
        instantiatesCanonical:
          description: The URL pointing to a FHIR-defined Contract Definition that is
            adhered to in whole or part by this Contract.
          $ref: '#/components/schemas/Reference'
        instantiatesUri:
          description: The URL pointing to an externally maintained definition that
            is adhered to in whole or in part by this Contract.
          $ref: '#/components/schemas/uri'
        _instantiatesUri:
          description: Extensions for instantiatesUri
          $ref: '#/components/schemas/Element'
        contentDerivative:
          description: The minimal content derived from the basal information source
            at a specific stage in its lifecycle.
          $ref: '#/components/schemas/CodeableConcept'
        issued:
          description: When this  Contract was issued.
          $ref: '#/components/schemas/dateTime'
        _issued:
          description: Extensions for issued
          $ref: '#/components/schemas/Element'
        applies:
          description: Relevant time or time-period when this Contract is applicable.
          $ref: '#/components/schemas/Period'
        expirationType:
          description: Event resulting in discontinuation or termination of this Contract
            instance by one or more parties to the contract.
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: The target entity impacted by or of interest to parties to the
            agreement.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        authority:
          description: A formally or informally recognized grouping of people, principals,
            organizations, or jurisdictions formed for the purpose of achieving some
            form of collective action such as the promulgation, administration and enforcement
            of contracts and policies.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        domain:
          description: Recognized governance framework or system operating with a circumscribed
            scope in accordance with specified principles, policies, processes or procedures
            for managing rights, actions, or behaviors of parties or principals relative
            to resources.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        site:
          description: Sites in which the contract is complied with,  exercised, or
            in force.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        name:
          description: A natural language name identifying this Contract definition,
            derivative, or instance in any legal state. Provides additional information
            about its content. This name should be usable as an identifier for the module
            by machine processing applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for this Contract definition,
            derivative, or instance in any legal state.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        subtitle:
          description: A more detailed or qualifying explanatory or alternate user-friendly
            title for this Contract definition, derivative, or instance in any legal
            state.
          $ref: '#/components/schemas/string'
        _subtitle:
          description: Extensions for subtitle
          $ref: '#/components/schemas/Element'
        alias:
          description: Alternative representation of the title for this Contract definition,
            derivative, or instance in any legal state., e.g., a domain specific contract
            number related to legislation.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _alias:
          description: Extensions for alias
          items:
            $ref: '#/components/schemas/Element'
          type: array
        author:
          description: The individual or organization that authored the Contract definition,
            derivative, or instance in any legal state.
          $ref: '#/components/schemas/Reference'
        scope:
          description: A selector of legal concerns for this Contract definition, derivative,
            or instance in any legal state.
          $ref: '#/components/schemas/CodeableConcept'
        topicCodeableConcept:
          description: Narrows the range of legal concerns to focus on the achievement
            of specific contractual objectives.
          $ref: '#/components/schemas/CodeableConcept'
        topicReference:
          description: Narrows the range of legal concerns to focus on the achievement
            of specific contractual objectives.
          $ref: '#/components/schemas/Reference'
        type:
          description: A high-level category for the legal instrument, whether constructed
            as a Contract definition, derivative, or instance in any legal state.  Provides
            additional information about its content within the context of the Contract's
            scope to distinguish the kinds of systems that would be interested in the
            contract.
          $ref: '#/components/schemas/CodeableConcept'
        subType:
          description: Sub-category for the Contract that distinguishes the kinds of
            systems that would be interested in the Contract within the context of the
            Contract's scope.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        contentDefinition:
          description: Precusory content developed with a focus and intent of supporting
            the formation a Contract instance, which may be associated with and transformable
            into a Contract.
          $ref: '#/components/schemas/Contract_ContentDefinition'
        term:
          description: One or more Contract Provisions, which may be related and conveyed
            as a group, and may contain nested groups.
          items:
            $ref: '#/components/schemas/Contract_Term'
          type: array
        supportingInfo:
          description: Information that may be needed by/relevant to the performer in
            their execution of this term action.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        relevantHistory:
          description: Links to Provenance records for past versions of this Contract
            definition, derivative, or instance, which identify key state transitions
            or updates that are likely to be relevant to a user looking at the current
            version of the Contract.  The Provenance.entity indicates the target that
            was changed in the update (see [Provenance.entity](provenance-definitions.html#Provenance.entity)).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        signer:
          description: Parties with legal standing in the Contract, including the principal
            parties, the grantor(s) and grantee(s), which are any person or organization
            bound by the contract, and any ancillary parties, which facilitate the execution
            of the contract such as a notary or witness.
          items:
            $ref: '#/components/schemas/Contract_Signer'
          type: array
        friendly:
          description: The "patient friendly language" versionof the Contract in whole
            or in parts. "Patient friendly language" means the representation of the
            Contract and Contract Provisions in a manner that is readily accessible
            and understandable by a layperson in accordance with best practices for
            communication styles that ensure that those agreeing to or signing the Contract
            understand the roles, actions, obligations, responsibilities, and implication
            of the agreement.
          items:
            $ref: '#/components/schemas/Contract_Friendly'
          type: array
        legal:
          description: List of Legal expressions or representations of this Contract.
          items:
            $ref: '#/components/schemas/Contract_Legal'
          type: array
        rule:
          description: List of Computable Policy Rule Language Representations of this
            Contract.
          items:
            $ref: '#/components/schemas/Contract_Rule'
          type: array
        legallyBindingAttachment:
          description: 'Legally binding Contract: This is the signed and legally recognized
            representation of the Contract, which is considered the "source of truth"
            and which would be the basis for legal action related to enforcement of
            this Contract.'
          $ref: '#/components/schemas/Attachment'
        legallyBindingReference:
          description: 'Legally binding Contract: This is the signed and legally recognized
            representation of the Contract, which is considered the "source of truth"
            and which would be the basis for legal action related to enforcement of
            this Contract.'
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - resourceType
    Contract_ContentDefinition:
      description: Legally enforceable, formally recorded unilateral or bilateral directive
        i.e., a policy or agreement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Precusory content structure and use, i.e., a boilerplate, template,
            application for a contract such as an insurance policy or benefits under
            a program, e.g., workers compensation.
          $ref: '#/components/schemas/CodeableConcept'
        subType:
          description: Detailed Precusory content type.
          $ref: '#/components/schemas/CodeableConcept'
        publisher:
          description: The  individual or organization that published the Contract precursor
            content.
          $ref: '#/components/schemas/Reference'
        publicationDate:
          description: The date (and optionally time) when the contract was last significantly
            changed. The date must change when the business version changes and it must
            change if the status code changes. In addition, it should change when the
            substantive content of the contract changes.
          $ref: '#/components/schemas/dateTime'
        _publicationDate:
          description: Extensions for publicationDate
          $ref: '#/components/schemas/Element'
        publicationStatus:
          description: amended | appended | cancelled | disputed | entered-in-error
            | executable +.
          $ref: '#/components/schemas/code'
        _publicationStatus:
          description: Extensions for publicationStatus
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to Contract precursor content.
            Copyright statements are generally legal restrictions on the use and publishing
            of the Contract precursor content.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - type
    Contract_Term:
      description: Legally enforceable, formally recorded unilateral or bilateral directive
        i.e., a policy or agreement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Unique identifier for this particular Contract Provision.
          $ref: '#/components/schemas/Identifier'
        issued:
          description: When this Contract Provision was issued.
          $ref: '#/components/schemas/dateTime'
        _issued:
          description: Extensions for issued
          $ref: '#/components/schemas/Element'
        applies:
          description: Relevant time or time-period when this Contract Provision is
            applicable.
          $ref: '#/components/schemas/Period'
        topicCodeableConcept:
          description: The entity that the term applies to.
          $ref: '#/components/schemas/CodeableConcept'
        topicReference:
          description: The entity that the term applies to.
          $ref: '#/components/schemas/Reference'
        type:
          description: A legal clause or condition contained within a contract that
            requires one or both parties to perform a particular requirement by some
            specified time or prevents one or both parties from performing a particular
            requirement by some specified time.
          $ref: '#/components/schemas/CodeableConcept'
        subType:
          description: A specialized legal clause or condition based on overarching
            contract type.
          $ref: '#/components/schemas/CodeableConcept'
        text:
          description: Statement of a provision in a policy or a contract.
          $ref: '#/components/schemas/string'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
        securityLabel:
          description: Security labels that protect the handling of information about
            the term and its elements, which may be specifically identified.
          items:
            $ref: '#/components/schemas/Contract_SecurityLabel'
          type: array
        offer:
          description: The matter of concern in the context of this provision of the
            agrement.
          $ref: '#/components/schemas/Contract_Offer'
        asset:
          description: Contract Term Asset List.
          items:
            $ref: '#/components/schemas/Contract_Asset'
          type: array
        action:
          description: An actor taking a role in an activity for which it can be assigned
            some degree of responsibility for the activity taking place.
          items:
            $ref: '#/components/schemas/Contract_Action'
          type: array
        group:
          description: Nested group of Contract Provisions.
          items:
            $ref: '#/components/schemas/Contract_Term'
          type: array
      type: object
      additionalProperties: false
      required:
      - offer
    Contract_SecurityLabel:
      description: Legally enforceable, formally recorded unilateral or bilateral directive
        i.e., a policy or agreement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        number:
          description: Number used to link this term or term element to the applicable
            Security Label.
          items:
            $ref: '#/components/schemas/unsignedInt'
          type: array
        _number:
          description: Extensions for number
          items:
            $ref: '#/components/schemas/Element'
          type: array
        classification:
          description: Security label privacy tag that specifies the level of confidentiality
            protection required for this term and/or term elements.
          $ref: '#/components/schemas/Coding'
        category:
          description: Security label privacy tag that specifies the applicable privacy
            and security policies governing this term and/or term elements.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        control:
          description: Security label privacy tag that specifies the manner in which
            term and/or term elements are to be protected.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
      type: object
      additionalProperties: false
      required:
      - classification
    Contract_Offer:
      description: Legally enforceable, formally recorded unilateral or bilateral directive
        i.e., a policy or agreement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Unique identifier for this particular Contract Provision.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        party:
          description: Offer Recipient.
          items:
            $ref: '#/components/schemas/Contract_Party'
          type: array
        topic:
          description: 'The owner of an asset has the residual control rights over the
            asset: the right to decide all usages of the asset in any way not inconsistent
            with a prior contract, custom, or law (Hart, 1995, p. 30).'
          $ref: '#/components/schemas/Reference'
        type:
          description: Type of Contract Provision such as specific requirements, purposes
            for actions, obligations, prohibitions, e.g. life time maximum benefit.
          $ref: '#/components/schemas/CodeableConcept'
        decision:
          description: Type of choice made by accepting party with respect to an offer
            made by an offeror/ grantee.
          $ref: '#/components/schemas/CodeableConcept'
        decisionMode:
          description: How the decision about a Contract was conveyed.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        answer:
          description: Response to offer text.
          items:
            $ref: '#/components/schemas/Contract_Answer'
          type: array
        text:
          description: Human readable form of this Contract Offer.
          $ref: '#/components/schemas/string'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
        linkId:
          description: The id of the clause or question text of the offer in the referenced
            questionnaire/response.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _linkId:
          description: Extensions for linkId
          items:
            $ref: '#/components/schemas/Element'
          type: array
        securityLabelNumber:
          description: Security labels that protects the offer.
          items:
            $ref: '#/components/schemas/unsignedInt'
          type: array
        _securityLabelNumber:
          description: Extensions for securityLabelNumber
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
    Contract_Party:
      description: Legally enforceable, formally recorded unilateral or bilateral directive
        i.e., a policy or agreement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        reference:
          description: Participant in the offer.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        role:
          description: How the party participates in the offer.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - reference
      - role
    Contract_Answer:
      description: Legally enforceable, formally recorded unilateral or bilateral directive
        i.e., a policy or agreement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        valueBoolean:
          description: Response to an offer clause or question text,  which enables
            selection of values to be agreed to, e.g., the period of participation,
            the date of occupancy of a rental, warranty duration, or whether biospecimen
            may be used for further research.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: Response to an offer clause or question text,  which enables
            selection of values to be agreed to, e.g., the period of participation,
            the date of occupancy of a rental, warranty duration, or whether biospecimen
            may be used for further research.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: Response to an offer clause or question text,  which enables
            selection of values to be agreed to, e.g., the period of participation,
            the date of occupancy of a rental, warranty duration, or whether biospecimen
            may be used for further research.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueDate:
          description: Response to an offer clause or question text,  which enables
            selection of values to be agreed to, e.g., the period of participation,
            the date of occupancy of a rental, warranty duration, or whether biospecimen
            may be used for further research.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: Response to an offer clause or question text,  which enables
            selection of values to be agreed to, e.g., the period of participation,
            the date of occupancy of a rental, warranty duration, or whether biospecimen
            may be used for further research.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valueTime:
          description: Response to an offer clause or question text,  which enables
            selection of values to be agreed to, e.g., the period of participation,
            the date of occupancy of a rental, warranty duration, or whether biospecimen
            may be used for further research.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _valueTime:
          description: Extensions for valueTime
          $ref: '#/components/schemas/Element'
        valueString:
          description: Response to an offer clause or question text,  which enables
            selection of values to be agreed to, e.g., the period of participation,
            the date of occupancy of a rental, warranty duration, or whether biospecimen
            may be used for further research.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueUri:
          description: Response to an offer clause or question text,  which enables
            selection of values to be agreed to, e.g., the period of participation,
            the date of occupancy of a rental, warranty duration, or whether biospecimen
            may be used for further research.
          pattern: ^\S*$
          type: string
        _valueUri:
          description: Extensions for valueUri
          $ref: '#/components/schemas/Element'
        valueAttachment:
          description: Response to an offer clause or question text,  which enables
            selection of values to be agreed to, e.g., the period of participation,
            the date of occupancy of a rental, warranty duration, or whether biospecimen
            may be used for further research.
          $ref: '#/components/schemas/Attachment'
        valueCoding:
          description: Response to an offer clause or question text,  which enables
            selection of values to be agreed to, e.g., the period of participation,
            the date of occupancy of a rental, warranty duration, or whether biospecimen
            may be used for further research.
          $ref: '#/components/schemas/Coding'
        valueQuantity:
          description: Response to an offer clause or question text,  which enables
            selection of values to be agreed to, e.g., the period of participation,
            the date of occupancy of a rental, warranty duration, or whether biospecimen
            may be used for further research.
          $ref: '#/components/schemas/Quantity'
        valueReference:
          description: Response to an offer clause or question text,  which enables
            selection of values to be agreed to, e.g., the period of participation,
            the date of occupancy of a rental, warranty duration, or whether biospecimen
            may be used for further research.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    Contract_Asset:
      description: Legally enforceable, formally recorded unilateral or bilateral directive
        i.e., a policy or agreement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        scope:
          description: Differentiates the kind of the asset .
          $ref: '#/components/schemas/CodeableConcept'
        type:
          description: Target entity type about which the term may be concerned.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        typeReference:
          description: Associated entities.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        subtype:
          description: May be a subtype or part of an offered asset.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        relationship:
          description: Specifies the applicability of the term to an asset resource
            instance, and instances it refers to or instances that refer to it, and/or
            are owned by the offeree.
          $ref: '#/components/schemas/Coding'
        context:
          description: Circumstance of the asset.
          items:
            $ref: '#/components/schemas/Contract_Context'
          type: array
        condition:
          description: Description of the quality and completeness of the asset that
            may be a factor in its valuation.
          $ref: '#/components/schemas/string'
        _condition:
          description: Extensions for condition
          $ref: '#/components/schemas/Element'
        periodType:
          description: Type of Asset availability for use or ownership.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        period:
          description: Asset relevant contractual time period.
          items:
            $ref: '#/components/schemas/Period'
          type: array
        usePeriod:
          description: Time period of asset use.
          items:
            $ref: '#/components/schemas/Period'
          type: array
        text:
          description: Clause or question text (Prose Object) concerning the asset in
            a linked form, such as a QuestionnaireResponse used in the formation of
            the contract.
          $ref: '#/components/schemas/string'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
        linkId:
          description: Id [identifier??] of the clause or question text about the asset
            in the referenced form or QuestionnaireResponse.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _linkId:
          description: Extensions for linkId
          items:
            $ref: '#/components/schemas/Element'
          type: array
        answer:
          description: Response to assets.
          items:
            $ref: '#/components/schemas/Contract_Answer'
          type: array
        securityLabelNumber:
          description: Security labels that protects the asset.
          items:
            $ref: '#/components/schemas/unsignedInt'
          type: array
        _securityLabelNumber:
          description: Extensions for securityLabelNumber
          items:
            $ref: '#/components/schemas/Element'
          type: array
        valuedItem:
          description: Contract Valued Item List.
          items:
            $ref: '#/components/schemas/Contract_ValuedItem'
          type: array
      type: object
      additionalProperties: false
    Contract_Context:
      description: Legally enforceable, formally recorded unilateral or bilateral directive
        i.e., a policy or agreement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        reference:
          description: Asset context reference may include the creator, custodian, or
            owning Person or Organization (e.g., bank, repository),  location held,
            e.g., building,  jurisdiction.
          $ref: '#/components/schemas/Reference'
        code:
          description: Coded representation of the context generally or of the Referenced
            entity, such as the asset holder type or location.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        text:
          description: Context description.
          $ref: '#/components/schemas/string'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Contract_ValuedItem:
      description: Legally enforceable, formally recorded unilateral or bilateral directive
        i.e., a policy or agreement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        entityCodeableConcept:
          description: Specific type of Contract Valued Item that may be priced.
          $ref: '#/components/schemas/CodeableConcept'
        entityReference:
          description: Specific type of Contract Valued Item that may be priced.
          $ref: '#/components/schemas/Reference'
        identifier:
          description: Identifies a Contract Valued Item instance.
          $ref: '#/components/schemas/Identifier'
        effectiveTime:
          description: Indicates the time during which this Contract ValuedItem information
            is effective.
          $ref: '#/components/schemas/dateTime'
        _effectiveTime:
          description: Extensions for effectiveTime
          $ref: '#/components/schemas/Element'
        quantity:
          description: Specifies the units by which the Contract Valued Item is measured
            or counted, and quantifies the countable or measurable Contract Valued Item
            instances.
          $ref: '#/components/schemas/Quantity'
        unitPrice:
          description: A Contract Valued Item unit valuation measure.
          $ref: '#/components/schemas/Money'
        factor:
          description: A real number that represents a multiplier used in determining
            the overall value of the Contract Valued Item delivered. The concept of
            a Factor allows for a discount or surcharge multiplier to be applied to
            a monetary amount.
          $ref: '#/components/schemas/decimal'
        _factor:
          description: Extensions for factor
          $ref: '#/components/schemas/Element'
        points:
          description: An amount that expresses the weighting (based on difficulty,
            cost and/or resource intensiveness) associated with the Contract Valued
            Item delivered. The concept of Points allows for assignment of point values
            for a Contract Valued Item, such that a monetary amount can be assigned
            to each point.
          $ref: '#/components/schemas/decimal'
        _points:
          description: Extensions for points
          $ref: '#/components/schemas/Element'
        net:
          description: 'Expresses the product of the Contract Valued Item unitQuantity
            and the unitPriceAmt. For example, the formula: unit Quantity * unit Price
            (Cost per Point) * factor Number  * points = net Amount. Quantity, factor
            and points are assumed to be 1 if not supplied.'
          $ref: '#/components/schemas/Money'
        payment:
          description: Terms of valuation.
          $ref: '#/components/schemas/string'
        _payment:
          description: Extensions for payment
          $ref: '#/components/schemas/Element'
        paymentDate:
          description: When payment is due.
          $ref: '#/components/schemas/dateTime'
        _paymentDate:
          description: Extensions for paymentDate
          $ref: '#/components/schemas/Element'
        responsible:
          description: Who will make payment.
          $ref: '#/components/schemas/Reference'
        recipient:
          description: Who will receive payment.
          $ref: '#/components/schemas/Reference'
        linkId:
          description: Id  of the clause or question text related to the context of
            this valuedItem in the referenced form or QuestionnaireResponse.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _linkId:
          description: Extensions for linkId
          items:
            $ref: '#/components/schemas/Element'
          type: array
        securityLabelNumber:
          description: A set of security labels that define which terms are controlled
            by this condition.
          items:
            $ref: '#/components/schemas/unsignedInt'
          type: array
        _securityLabelNumber:
          description: Extensions for securityLabelNumber
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
    Contract_Action:
      description: Legally enforceable, formally recorded unilateral or bilateral directive
        i.e., a policy or agreement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        doNotPerform:
          description: True if the term prohibits the  action.
          $ref: '#/components/schemas/boolean'
        _doNotPerform:
          description: Extensions for doNotPerform
          $ref: '#/components/schemas/Element'
        type:
          description: Activity or service obligation to be done or not done, performed
            or not performed, effectuated or not by this Contract term.
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: Entity of the action.
          items:
            $ref: '#/components/schemas/Contract_Subject'
          type: array
        intent:
          description: Reason or purpose for the action stipulated by this Contract
            Provision.
          $ref: '#/components/schemas/CodeableConcept'
        linkId:
          description: Id [identifier??] of the clause or question text related to this
            action in the referenced form or QuestionnaireResponse.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _linkId:
          description: Extensions for linkId
          items:
            $ref: '#/components/schemas/Element'
          type: array
        status:
          description: Current state of the term action.
          $ref: '#/components/schemas/CodeableConcept'
        context:
          description: Encounter or Episode with primary association to the specified
            term activity.
          $ref: '#/components/schemas/Reference'
        contextLinkId:
          description: Id [identifier??] of the clause or question text related to the
            requester of this action in the referenced form or QuestionnaireResponse.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _contextLinkId:
          description: Extensions for contextLinkId
          items:
            $ref: '#/components/schemas/Element'
          type: array
        occurrenceDateTime:
          description: When action happens.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _occurrenceDateTime:
          description: Extensions for occurrenceDateTime
          $ref: '#/components/schemas/Element'
        occurrencePeriod:
          description: When action happens.
          $ref: '#/components/schemas/Period'
        occurrenceTiming:
          description: When action happens.
          $ref: '#/components/schemas/Timing'
        requester:
          description: Who or what initiated the action and has responsibility for its
            activation.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        requesterLinkId:
          description: Id [identifier??] of the clause or question text related to the
            requester of this action in the referenced form or QuestionnaireResponse.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _requesterLinkId:
          description: Extensions for requesterLinkId
          items:
            $ref: '#/components/schemas/Element'
          type: array
        performerType:
          description: The type of individual that is desired or required to perform
            or not perform the action.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        performerRole:
          description: The type of role or competency of an individual desired or required
            to perform or not perform the action.
          $ref: '#/components/schemas/CodeableConcept'
        performer:
          description: Indicates who or what is being asked to perform (or not perform)
            the ction.
          $ref: '#/components/schemas/Reference'
        performerLinkId:
          description: Id [identifier??] of the clause or question text related to the
            reason type or reference of this  action in the referenced form or QuestionnaireResponse.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _performerLinkId:
          description: Extensions for performerLinkId
          items:
            $ref: '#/components/schemas/Element'
          type: array
        reason:
          description: Rationale for the action to be performed or not performed. Describes
            why the action is permitted or prohibited. Either a coded concept, or another
            resource whose existence justifies permitting or not permitting this action.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        reasonLinkId:
          description: Id [identifier??] of the clause or question text related to the
            reason type or reference of this  action in the referenced form or QuestionnaireResponse.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _reasonLinkId:
          description: Extensions for reasonLinkId
          items:
            $ref: '#/components/schemas/Element'
          type: array
        note:
          description: Comments made about the term action made by the requester, performer,
            subject or other participants.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        securityLabelNumber:
          description: Security labels that protects the action.
          items:
            $ref: '#/components/schemas/unsignedInt'
          type: array
        _securityLabelNumber:
          description: Extensions for securityLabelNumber
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
      required:
      - type
      - intent
      - status
    Contract_Subject:
      description: Legally enforceable, formally recorded unilateral or bilateral directive
        i.e., a policy or agreement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        reference:
          description: The entity the action is performed or not performed on or for.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        role:
          description: Role type of agent assigned roles in this Contract.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - reference
    Contract_Signer:
      description: Legally enforceable, formally recorded unilateral or bilateral directive
        i.e., a policy or agreement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Role of this Contract signer, e.g. notary, grantee.
          $ref: '#/components/schemas/Coding'
        party:
          description: Party which is a signator to this Contract.
          $ref: '#/components/schemas/Reference'
        signature:
          description: Legally binding Contract DSIG signature contents in Base64.
          items:
            $ref: '#/components/schemas/Signature'
          type: array
      type: object
      additionalProperties: false
      required:
      - signature
      - type
      - party
    Contract_Friendly:
      description: Legally enforceable, formally recorded unilateral or bilateral directive
        i.e., a policy or agreement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        contentAttachment:
          description: Human readable rendering of this Contract in a format and representation
            intended to enhance comprehension and ensure understandability.
          $ref: '#/components/schemas/Attachment'
        contentReference:
          description: Human readable rendering of this Contract in a format and representation
            intended to enhance comprehension and ensure understandability.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    Contract_Legal:
      description: Legally enforceable, formally recorded unilateral or bilateral directive
        i.e., a policy or agreement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        contentAttachment:
          description: Contract legal text in human renderable form.
          $ref: '#/components/schemas/Attachment'
        contentReference:
          description: Contract legal text in human renderable form.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    Contract_Rule:
      description: Legally enforceable, formally recorded unilateral or bilateral directive
        i.e., a policy or agreement.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        contentAttachment:
          description: Computable Contract conveyed using a policy rule language (e.g.
            XACML, DKAL, SecPal).
          $ref: '#/components/schemas/Attachment'
        contentReference:
          description: Computable Contract conveyed using a policy rule language (e.g.
            XACML, DKAL, SecPal).
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    Coverage:
      description: Financial instrument which may be used to reimburse or pay for health
        care products and services. Includes both insurance and self-payment.
      properties:
        resourceType:
          description: This is a Coverage resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: The identifier of the coverage as issued by the insurer.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The status of the resource instance.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        kind:
          description: The nature of the coverage be it insurance, or cash payment such
            as self-pay.
          $ref: '#/components/schemas/code'
        _kind:
          description: Extensions for kind
          $ref: '#/components/schemas/Element'
        paymentBy:
          description: Link to the paying party and optionally what specifically they
            will be responsible to pay.
          items:
            $ref: '#/components/schemas/Coverage_PaymentBy'
          type: array
        type:
          description: 'The type of coverage: social program, medical plan, accident
            coverage (workers compensation, auto), group health or payment by an individual
            or organization.'
          $ref: '#/components/schemas/CodeableConcept'
        policyHolder:
          description: The party who 'owns' the insurance policy.
          $ref: '#/components/schemas/Reference'
        subscriber:
          description: The party who has signed-up for or 'owns' the contractual relationship
            to the policy or to whom the benefit of the policy for services rendered
            to them or their family is due.
          $ref: '#/components/schemas/Reference'
        subscriberId:
          description: The insurer assigned ID for the Subscriber.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        beneficiary:
          description: The party who benefits from the insurance coverage; the patient
            when products and/or services are provided.
          $ref: '#/components/schemas/Reference'
        dependent:
          description: A designator for a dependent under the coverage.
          $ref: '#/components/schemas/string'
        _dependent:
          description: Extensions for dependent
          $ref: '#/components/schemas/Element'
        relationship:
          description: The relationship of beneficiary (patient) to the subscriber.
          $ref: '#/components/schemas/CodeableConcept'
        period:
          description: Time period during which the coverage is in force. A missing
            start date indicates the start date isn't known, a missing end date means
            the coverage is continuing to be in force.
          $ref: '#/components/schemas/Period'
        insurer:
          description: The program or plan underwriter, payor, insurance company.
          $ref: '#/components/schemas/Reference'
        class:
          description: A suite of underwriter specific classifiers.
          items:
            $ref: '#/components/schemas/Coverage_Class'
          type: array
        order:
          description: The order of applicability of this coverage relative to other
            coverages which are currently in force. Note, there may be gaps in the numbering
            and this does not imply primary, secondary etc. as the specific positioning
            of coverages depends upon the episode of care. For example; a patient might
            have (0) auto insurance (1) their own health insurance and (2) spouse's
            health insurance. When claiming for treatments which were not the result
            of an auto accident then only coverages (1) and (2) above would be applicatble
            and would apply in the order specified in parenthesis.
          $ref: '#/components/schemas/positiveInt'
        _order:
          description: Extensions for order
          $ref: '#/components/schemas/Element'
        network:
          description: The insurer-specific identifier for the insurer-defined network
            of providers to which the beneficiary may seek treatment which will be covered
            at the 'in-network' rate, otherwise 'out of network' terms and conditions
            apply.
          $ref: '#/components/schemas/string'
        _network:
          description: Extensions for network
          $ref: '#/components/schemas/Element'
        costToBeneficiary:
          description: A suite of codes indicating the cost category and associated
            amount which have been detailed in the policy and may have been  included
            on the health card.
          items:
            $ref: '#/components/schemas/Coverage_CostToBeneficiary'
          type: array
        subrogation:
          description: When 'subrogation=true' this insurance instance has been included
            not for adjudication but to provide insurers with the details to recover
            costs.
          $ref: '#/components/schemas/boolean'
        _subrogation:
          description: Extensions for subrogation
          $ref: '#/components/schemas/Element'
        contract:
          description: The policy(s) which constitute this insurance coverage.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        insurancePlan:
          description: The insurance plan details, benefits and costs, which constitute
            this insurance coverage.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - beneficiary
      - resourceType
    Coverage_PaymentBy:
      description: Financial instrument which may be used to reimburse or pay for health
        care products and services. Includes both insurance and self-payment.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        party:
          description: The list of parties providing non-insurance payment for the treatment
            costs.
          $ref: '#/components/schemas/Reference'
        responsibility:
          description: ' Description of the financial responsibility.'
          $ref: '#/components/schemas/string'
        _responsibility:
          description: Extensions for responsibility
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - party
    Coverage_Class:
      description: Financial instrument which may be used to reimburse or pay for health
        care products and services. Includes both insurance and self-payment.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of classification for which an insurer-specific class
            label or number and optional name is provided.  For example, type may be
            used to identify a class of coverage or employer group, policy, or plan.
          $ref: '#/components/schemas/CodeableConcept'
        value:
          description: The alphanumeric identifier associated with the insurer issued
            label.
          $ref: '#/components/schemas/Identifier'
        name:
          description: A short description for the class.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - type
      - value
    Coverage_CostToBeneficiary:
      description: Financial instrument which may be used to reimburse or pay for health
        care products and services. Includes both insurance and self-payment.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The category of patient centric costs associated with treatment.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: Code to identify the general type of benefits under which products
            and services are provided.
          $ref: '#/components/schemas/CodeableConcept'
        network:
          description: Is a flag to indicate whether the benefits refer to in-network
            providers or out-of-network providers.
          $ref: '#/components/schemas/CodeableConcept'
        unit:
          description: Indicates if the benefits apply to an individual or to the family.
          $ref: '#/components/schemas/CodeableConcept'
        term:
          description: The term or period of the values such as 'maximum lifetime benefit'
            or 'maximum annual visits'.
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: The amount due from the patient for the cost category.
          $ref: '#/components/schemas/Quantity'
        valueMoney:
          description: The amount due from the patient for the cost category.
          $ref: '#/components/schemas/Money'
        exception:
          description: A suite of codes indicating exceptions or reductions to patient
            costs and their effective periods.
          items:
            $ref: '#/components/schemas/Coverage_Exception'
          type: array
      type: object
      additionalProperties: false
    Coverage_Exception:
      description: Financial instrument which may be used to reimburse or pay for health
        care products and services. Includes both insurance and self-payment.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The code for the specific exception.
          $ref: '#/components/schemas/CodeableConcept'
        period:
          description: The timeframe the exception is in force.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - type
    CoverageEligibilityRequest:
      description: The CoverageEligibilityRequest provides patient and insurance coverage
        information to an insurer for them to respond, in the form of an CoverageEligibilityResponse,
        with information regarding whether the stated coverage is valid and in-force
        and optionally to provide the insurance details of the policy.
      properties:
        resourceType:
          description: This is a CoverageEligibilityRequest resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A unique identifier assigned to this coverage eligiblity request.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The status of the resource instance.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        priority:
          description: When the requestor expects the processor to complete processing.
          $ref: '#/components/schemas/CodeableConcept'
        purpose:
          description: 'Code to specify whether requesting: prior authorization requirements
            for some service categories or billing codes; benefits for coverages specified
            or discovered; discovery and return of coverages for the patient; and/or
            validation that the specified coverage is in-force at the date/period specified
            or ''now'' if not specified.'
          items:
            $ref: '#/components/schemas/code'
          type: array
        _purpose:
          description: Extensions for purpose
          items:
            $ref: '#/components/schemas/Element'
          type: array
        patient:
          description: The party who is the beneficiary of the supplied coverage and
            for whom eligibility is sought.
          $ref: '#/components/schemas/Reference'
        event:
          description: Information code for an event with a corresponding date or period.
          items:
            $ref: '#/components/schemas/CoverageEligibilityRequest_Event'
          type: array
        servicedDate:
          description: The date or dates when the enclosed suite of services were performed
            or completed.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _servicedDate:
          description: Extensions for servicedDate
          $ref: '#/components/schemas/Element'
        servicedPeriod:
          description: The date or dates when the enclosed suite of services were performed
            or completed.
          $ref: '#/components/schemas/Period'
        created:
          description: The date when this resource was created.
          $ref: '#/components/schemas/dateTime'
        _created:
          description: Extensions for created
          $ref: '#/components/schemas/Element'
        enterer:
          description: Person who created the request.
          $ref: '#/components/schemas/Reference'
        provider:
          description: The provider which is responsible for the request.
          $ref: '#/components/schemas/Reference'
        insurer:
          description: The Insurer who issued the coverage in question and is the recipient
            of the request.
          $ref: '#/components/schemas/Reference'
        facility:
          description: Facility where the services are intended to be provided.
          $ref: '#/components/schemas/Reference'
        supportingInfo:
          description: Additional information codes regarding exceptions, special considerations,
            the condition, situation, prior or concurrent issues.
          items:
            $ref: '#/components/schemas/CoverageEligibilityRequest_SupportingInfo'
          type: array
        insurance:
          description: Financial instruments for reimbursement for the health care products
            and services.
          items:
            $ref: '#/components/schemas/CoverageEligibilityRequest_Insurance'
          type: array
        item:
          description: Service categories or billable services for which benefit details
            and/or an authorization prior to service delivery may be required by the
            payor.
          items:
            $ref: '#/components/schemas/CoverageEligibilityRequest_Item'
          type: array
      type: object
      additionalProperties: false
      required:
      - patient
      - insurer
      - resourceType
    CoverageEligibilityRequest_Event:
      description: The CoverageEligibilityRequest provides patient and insurance coverage
        information to an insurer for them to respond, in the form of an CoverageEligibilityResponse,
        with information regarding whether the stated coverage is valid and in-force
        and optionally to provide the insurance details of the policy.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: A coded event such as when a service is expected or a card printed.
          $ref: '#/components/schemas/CodeableConcept'
        whenDateTime:
          description: A date or period in the past or future indicating when the event
            occurred or is expectd to occur.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _whenDateTime:
          description: Extensions for whenDateTime
          $ref: '#/components/schemas/Element'
        whenPeriod:
          description: A date or period in the past or future indicating when the event
            occurred or is expectd to occur.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - type
    CoverageEligibilityRequest_SupportingInfo:
      description: The CoverageEligibilityRequest provides patient and insurance coverage
        information to an insurer for them to respond, in the form of an CoverageEligibilityResponse,
        with information regarding whether the stated coverage is valid and in-force
        and optionally to provide the insurance details of the policy.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A number to uniquely identify supporting information entries.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        information:
          description: Additional data or information such as resources, documents,
            images etc. including references to the data or the actual inclusion of
            the data.
          $ref: '#/components/schemas/Reference'
        appliesToAll:
          description: The supporting materials are applicable for all detail items,
            product/servce categories and specific billing codes.
          $ref: '#/components/schemas/boolean'
        _appliesToAll:
          description: Extensions for appliesToAll
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - information
    CoverageEligibilityRequest_Insurance:
      description: The CoverageEligibilityRequest provides patient and insurance coverage
        information to an insurer for them to respond, in the form of an CoverageEligibilityResponse,
        with information regarding whether the stated coverage is valid and in-force
        and optionally to provide the insurance details of the policy.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        focal:
          description: A flag to indicate that this Coverage is to be used for evaluation
            of this request when set to true.
          $ref: '#/components/schemas/boolean'
        _focal:
          description: Extensions for focal
          $ref: '#/components/schemas/Element'
        coverage:
          description: Reference to the insurance card level information contained in
            the Coverage resource. The coverage issuing insurer will use these details
            to locate the patient's actual coverage within the insurer's information
            system.
          $ref: '#/components/schemas/Reference'
        businessArrangement:
          description: A business agreement number established between the provider
            and the insurer for special business processing purposes.
          $ref: '#/components/schemas/string'
        _businessArrangement:
          description: Extensions for businessArrangement
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - coverage
    CoverageEligibilityRequest_Item:
      description: The CoverageEligibilityRequest provides patient and insurance coverage
        information to an insurer for them to respond, in the form of an CoverageEligibilityResponse,
        with information regarding whether the stated coverage is valid and in-force
        and optionally to provide the insurance details of the policy.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        supportingInfoSequence:
          description: Exceptions, special conditions and supporting information applicable
            for this service or product line.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _supportingInfoSequence:
          description: Extensions for supportingInfoSequence
          items:
            $ref: '#/components/schemas/Element'
          type: array
        category:
          description: Code to identify the general type of benefits under which products
            and services are provided.
          $ref: '#/components/schemas/CodeableConcept'
        productOrService:
          description: This contains the product, service, drug or other billing code
            for the item.
          $ref: '#/components/schemas/CodeableConcept'
        modifier:
          description: Item typification or modifiers codes to convey additional context
            for the product or service.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        provider:
          description: The practitioner who is responsible for the product or service
            to be rendered to the patient.
          $ref: '#/components/schemas/Reference'
        quantity:
          description: The number of repetitions of a service or product.
          $ref: '#/components/schemas/Quantity'
        unitPrice:
          description: The amount charged to the patient by the provider for a single
            unit.
          $ref: '#/components/schemas/Money'
        facility:
          description: Facility where the services will be provided.
          $ref: '#/components/schemas/Reference'
        diagnosis:
          description: Patient diagnosis for which care is sought.
          items:
            $ref: '#/components/schemas/CoverageEligibilityRequest_Diagnosis'
          type: array
        detail:
          description: The plan/proposal/order describing the proposed service in detail.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    CoverageEligibilityRequest_Diagnosis:
      description: The CoverageEligibilityRequest provides patient and insurance coverage
        information to an insurer for them to respond, in the form of an CoverageEligibilityResponse,
        with information regarding whether the stated coverage is valid and in-force
        and optionally to provide the insurance details of the policy.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        diagnosisCodeableConcept:
          description: The nature of illness or problem in a coded form or as a reference
            to an external defined Condition.
          $ref: '#/components/schemas/CodeableConcept'
        diagnosisReference:
          description: The nature of illness or problem in a coded form or as a reference
            to an external defined Condition.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    CoverageEligibilityResponse:
      description: This resource provides eligibility and plan details from the processing
        of an CoverageEligibilityRequest resource.
      properties:
        resourceType:
          description: This is a CoverageEligibilityResponse resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A unique identifier assigned to this coverage eligiblity request.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The status of the resource instance.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        purpose:
          description: 'Code to specify whether requesting: prior authorization requirements
            for some service categories or billing codes; benefits for coverages specified
            or discovered; discovery and return of coverages for the patient; and/or
            validation that the specified coverage is in-force at the date/period specified
            or ''now'' if not specified.'
          items:
            $ref: '#/components/schemas/code'
          type: array
        _purpose:
          description: Extensions for purpose
          items:
            $ref: '#/components/schemas/Element'
          type: array
        patient:
          description: The party who is the beneficiary of the supplied coverage and
            for whom eligibility is sought.
          $ref: '#/components/schemas/Reference'
        event:
          description: Information code for an event with a corresponding date or period.
          items:
            $ref: '#/components/schemas/CoverageEligibilityResponse_Event'
          type: array
        servicedDate:
          description: The date or dates when the enclosed suite of services were performed
            or completed.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _servicedDate:
          description: Extensions for servicedDate
          $ref: '#/components/schemas/Element'
        servicedPeriod:
          description: The date or dates when the enclosed suite of services were performed
            or completed.
          $ref: '#/components/schemas/Period'
        created:
          description: The date this resource was created.
          $ref: '#/components/schemas/dateTime'
        _created:
          description: Extensions for created
          $ref: '#/components/schemas/Element'
        requestor:
          description: The provider which is responsible for the request.
          $ref: '#/components/schemas/Reference'
        request:
          description: Reference to the original request resource.
          $ref: '#/components/schemas/Reference'
        outcome:
          description: The outcome of the request processing.
          $ref: '#/components/schemas/code'
        _outcome:
          description: Extensions for outcome
          $ref: '#/components/schemas/Element'
        disposition:
          description: A human readable description of the status of the adjudication.
          $ref: '#/components/schemas/string'
        _disposition:
          description: Extensions for disposition
          $ref: '#/components/schemas/Element'
        insurer:
          description: The Insurer who issued the coverage in question and is the author
            of the response.
          $ref: '#/components/schemas/Reference'
        insurance:
          description: Financial instruments for reimbursement for the health care products
            and services.
          items:
            $ref: '#/components/schemas/CoverageEligibilityResponse_Insurance'
          type: array
        preAuthRef:
          description: A reference from the Insurer to which these services pertain
            to be used on further communication and as proof that the request occurred.
          $ref: '#/components/schemas/string'
        _preAuthRef:
          description: Extensions for preAuthRef
          $ref: '#/components/schemas/Element'
        form:
          description: A code for the form to be used for printing the content.
          $ref: '#/components/schemas/CodeableConcept'
        error:
          description: Errors encountered during the processing of the request.
          items:
            $ref: '#/components/schemas/CoverageEligibilityResponse_Error'
          type: array
      type: object
      additionalProperties: false
      required:
      - request
      - patient
      - insurer
      - resourceType
    CoverageEligibilityResponse_Event:
      description: This resource provides eligibility and plan details from the processing
        of an CoverageEligibilityRequest resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: A coded event such as when a service is expected or a card printed.
          $ref: '#/components/schemas/CodeableConcept'
        whenDateTime:
          description: A date or period in the past or future indicating when the event
            occurred or is expectd to occur.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _whenDateTime:
          description: Extensions for whenDateTime
          $ref: '#/components/schemas/Element'
        whenPeriod:
          description: A date or period in the past or future indicating when the event
            occurred or is expectd to occur.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - type
    CoverageEligibilityResponse_Insurance:
      description: This resource provides eligibility and plan details from the processing
        of an CoverageEligibilityRequest resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        coverage:
          description: Reference to the insurance card level information contained in
            the Coverage resource. The coverage issuing insurer will use these details
            to locate the patient's actual coverage within the insurer's information
            system.
          $ref: '#/components/schemas/Reference'
        inforce:
          description: Flag indicating if the coverage provided is inforce currently
            if no service date(s) specified or for the whole duration of the service
            dates.
          $ref: '#/components/schemas/boolean'
        _inforce:
          description: Extensions for inforce
          $ref: '#/components/schemas/Element'
        benefitPeriod:
          description: The term of the benefits documented in this response.
          $ref: '#/components/schemas/Period'
        item:
          description: Benefits and optionally current balances, and authorization details
            by category or service.
          items:
            $ref: '#/components/schemas/CoverageEligibilityResponse_Item'
          type: array
      type: object
      additionalProperties: false
      required:
      - coverage
    CoverageEligibilityResponse_Item:
      description: This resource provides eligibility and plan details from the processing
        of an CoverageEligibilityRequest resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        category:
          description: Code to identify the general type of benefits under which products
            and services are provided.
          $ref: '#/components/schemas/CodeableConcept'
        productOrService:
          description: This contains the product, service, drug or other billing code
            for the item.
          $ref: '#/components/schemas/CodeableConcept'
        modifier:
          description: Item typification or modifiers codes to convey additional context
            for the product or service.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        provider:
          description: The practitioner who is eligible for the provision of the product
            or service.
          $ref: '#/components/schemas/Reference'
        excluded:
          description: True if the indicated class of service is excluded from the plan,
            missing or False indicates the product or service is included in the coverage.
          $ref: '#/components/schemas/boolean'
        _excluded:
          description: Extensions for excluded
          $ref: '#/components/schemas/Element'
        name:
          description: A short name or tag for the benefit.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        description:
          description: A richer description of the benefit or services covered.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        network:
          description: Is a flag to indicate whether the benefits refer to in-network
            providers or out-of-network providers.
          $ref: '#/components/schemas/CodeableConcept'
        unit:
          description: Indicates if the benefits apply to an individual or to the family.
          $ref: '#/components/schemas/CodeableConcept'
        term:
          description: The term or period of the values such as 'maximum lifetime benefit'
            or 'maximum annual visits'.
          $ref: '#/components/schemas/CodeableConcept'
        benefit:
          description: Benefits used to date.
          items:
            $ref: '#/components/schemas/CoverageEligibilityResponse_Benefit'
          type: array
        authorizationRequired:
          description: A boolean flag indicating whether a preauthorization is required
            prior to actual service delivery.
          $ref: '#/components/schemas/boolean'
        _authorizationRequired:
          description: Extensions for authorizationRequired
          $ref: '#/components/schemas/Element'
        authorizationSupporting:
          description: Codes or comments regarding information or actions associated
            with the preauthorization.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        authorizationUrl:
          description: A web location for obtaining requirements or descriptive information
            regarding the preauthorization.
          $ref: '#/components/schemas/uri'
        _authorizationUrl:
          description: Extensions for authorizationUrl
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    CoverageEligibilityResponse_Benefit:
      description: This resource provides eligibility and plan details from the processing
        of an CoverageEligibilityRequest resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Classification of benefit being provided.
          $ref: '#/components/schemas/CodeableConcept'
        allowedUnsignedInt:
          description: The quantity of the benefit which is permitted under the coverage.
          pattern: ^[0]|([1-9][0-9]*)$
          type: number
        _allowedUnsignedInt:
          description: Extensions for allowedUnsignedInt
          $ref: '#/components/schemas/Element'
        allowedString:
          description: The quantity of the benefit which is permitted under the coverage.
          pattern: ^^[\s\S]+$$
          type: string
        _allowedString:
          description: Extensions for allowedString
          $ref: '#/components/schemas/Element'
        allowedMoney:
          description: The quantity of the benefit which is permitted under the coverage.
          $ref: '#/components/schemas/Money'
        usedUnsignedInt:
          description: The quantity of the benefit which have been consumed to date.
          pattern: ^[0]|([1-9][0-9]*)$
          type: number
        _usedUnsignedInt:
          description: Extensions for usedUnsignedInt
          $ref: '#/components/schemas/Element'
        usedString:
          description: The quantity of the benefit which have been consumed to date.
          pattern: ^^[\s\S]+$$
          type: string
        _usedString:
          description: Extensions for usedString
          $ref: '#/components/schemas/Element'
        usedMoney:
          description: The quantity of the benefit which have been consumed to date.
          $ref: '#/components/schemas/Money'
      type: object
      additionalProperties: false
      required:
      - type
    CoverageEligibilityResponse_Error:
      description: This resource provides eligibility and plan details from the processing
        of an CoverageEligibilityRequest resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: An error code,from a specified code system, which details why
            the eligibility check could not be performed.
          $ref: '#/components/schemas/CodeableConcept'
        expression:
          description: A [simple subset of FHIRPath](fhirpath.html#simple) limited to
            element names, repetition indicators and the default child accessor that
            identifies one of the elements in the resource that caused this issue to
            be raised.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _expression:
          description: Extensions for expression
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
    DetectedIssue:
      description: Indicates an actual or potential clinical issue with or between one
        or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction,
        Ineffective treatment frequency, Procedure-condition conflict, gaps in care,
        etc.
      properties:
        resourceType:
          description: This is a DetectedIssue resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifier associated with the detected issue record.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: Indicates the status of the detected issue.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        category:
          description: A code that classifies the general type of detected issue.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        code:
          description: Identifies the specific type of issue identified.
          $ref: '#/components/schemas/CodeableConcept'
        severity:
          description: Indicates the degree of importance associated with the identified
            issue based on the potential impact on the patient.
          $ref: '#/components/schemas/code'
        _severity:
          description: Extensions for severity
          $ref: '#/components/schemas/Element'
        subject:
          description: Indicates the subject whose record the detected issue is associated
            with.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The encounter during which this issue was detected.
          $ref: '#/components/schemas/Reference'
        identifiedDateTime:
          description: The date or period when the detected issue was initially identified.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _identifiedDateTime:
          description: Extensions for identifiedDateTime
          $ref: '#/components/schemas/Element'
        identifiedPeriod:
          description: The date or period when the detected issue was initially identified.
          $ref: '#/components/schemas/Period'
        author:
          description: Individual or device responsible for the issue being raised.  For
            example, a decision support application or a pharmacist conducting a medication
            review.
          $ref: '#/components/schemas/Reference'
        implicated:
          description: Indicates the resource representing the current activity or proposed
            activity that is potentially problematic.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        evidence:
          description: Supporting evidence or manifestations that provide the basis
            for identifying the detected issue such as a GuidanceResponse or MeasureReport.
          items:
            $ref: '#/components/schemas/DetectedIssue_Evidence'
          type: array
        detail:
          description: A textual explanation of the detected issue.
          $ref: '#/components/schemas/markdown'
        _detail:
          description: Extensions for detail
          $ref: '#/components/schemas/Element'
        reference:
          description: The literature, knowledge-base or similar reference that describes
            the propensity for the detected issue identified.
          $ref: '#/components/schemas/uri'
        _reference:
          description: Extensions for reference
          $ref: '#/components/schemas/Element'
        mitigation:
          description: Indicates an action that has been taken or is committed to reduce
            or eliminate the likelihood of the risk identified by the detected issue
            from manifesting.  Can also reflect an observation of known mitigating factors
            that may reduce/eliminate the need for any action.
          items:
            $ref: '#/components/schemas/DetectedIssue_Mitigation'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    DetectedIssue_Evidence:
      description: Indicates an actual or potential clinical issue with or between one
        or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction,
        Ineffective treatment frequency, Procedure-condition conflict, gaps in care,
        etc.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A manifestation that led to the recording of this detected issue.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        detail:
          description: Links to resources that constitute evidence for the detected
            issue such as a GuidanceResponse or MeasureReport.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    DetectedIssue_Mitigation:
      description: Indicates an actual or potential clinical issue with or between one
        or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction,
        Ineffective treatment frequency, Procedure-condition conflict, gaps in care,
        etc.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        action:
          description: Describes the action that was taken or the observation that was
            made that reduces/eliminates the risk associated with the identified issue.
          $ref: '#/components/schemas/CodeableConcept'
        date:
          description: Indicates when the mitigating action was documented.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        author:
          description: Identifies the practitioner who determined the mitigation and
            takes responsibility for the mitigation step occurring.
          $ref: '#/components/schemas/Reference'
        note:
          description: Clinicians may add additional notes or justifications about the
            mitigation action. For example, patient can have this drug because they
            have had it before without any issues. Multiple justifications may be provided.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - action
    Device:
      description: A type of a manufactured item that is used in the provision of healthcare
        without being substantially changed through that activity. The device may be
        a medical or non-medical device.
      properties:
        resourceType:
          description: This is a Device resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Unique instance identifiers assigned to a device by manufacturers
            other organizations or owners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        displayName:
          description: The name used to display by default when the device is referenced.
            Based on intent of use by the resource creator, this may reflect one of
            the names in Device.name, or may be another simple name.
          $ref: '#/components/schemas/string'
        _displayName:
          description: Extensions for displayName
          $ref: '#/components/schemas/Element'
        definition:
          description: The reference to the definition for the device.
          $ref: '#/components/schemas/CodeableReference'
        udiCarrier:
          description: Unique device identifier (UDI) assigned to device label or package.  Note
            that the Device may include multiple udiCarriers as it either may include
            just the udiCarrier for the jurisdiction it is sold, or for multiple jurisdictions
            it could have been sold.
          items:
            $ref: '#/components/schemas/Device_UdiCarrier'
          type: array
        status:
          description: The Device record status. This is not the status of the device
            like availability.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        availabilityStatus:
          description: The availability of the device.
          $ref: '#/components/schemas/CodeableConcept'
        biologicalSourceEvent:
          description: An identifier that supports traceability to the event during
            which material in this product from one or more biological entities was
            obtained or pooled.
          $ref: '#/components/schemas/Identifier'
        manufacturer:
          description: A name of the manufacturer or entity legally responsible for
            the device.
          $ref: '#/components/schemas/string'
        _manufacturer:
          description: Extensions for manufacturer
          $ref: '#/components/schemas/Element'
        manufactureDate:
          description: The date and time when the device was manufactured.
          $ref: '#/components/schemas/dateTime'
        _manufactureDate:
          description: Extensions for manufactureDate
          $ref: '#/components/schemas/Element'
        expirationDate:
          description: The date and time beyond which this device is no longer valid
            or should not be used (if applicable).
          $ref: '#/components/schemas/dateTime'
        _expirationDate:
          description: Extensions for expirationDate
          $ref: '#/components/schemas/Element'
        lotNumber:
          description: Lot number assigned by the manufacturer.
          $ref: '#/components/schemas/string'
        _lotNumber:
          description: Extensions for lotNumber
          $ref: '#/components/schemas/Element'
        serialNumber:
          description: The serial number assigned by the organization when the device
            was manufactured.
          $ref: '#/components/schemas/string'
        _serialNumber:
          description: Extensions for serialNumber
          $ref: '#/components/schemas/Element'
        name:
          description: This represents the manufacturer's name of the device as provided
            by the device, from a UDI label, or by a person describing the Device.  This
            typically would be used when a person provides the name(s) or when the device
            represents one of the names available from DeviceDefinition.
          items:
            $ref: '#/components/schemas/Device_Name'
          type: array
        modelNumber:
          description: The manufacturer's model number for the device.
          $ref: '#/components/schemas/string'
        _modelNumber:
          description: Extensions for modelNumber
          $ref: '#/components/schemas/Element'
        partNumber:
          description: The part number or catalog number of the device.
          $ref: '#/components/schemas/string'
        _partNumber:
          description: Extensions for partNumber
          $ref: '#/components/schemas/Element'
        category:
          description: Devices may be associated with one or more categories.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        type:
          description: The kind or type of device. A device instance may have more than
            one type - in which case those are the types that apply to the specific
            instance of the device.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        version:
          description: The actual design of the device or software version running on
            the device.
          items:
            $ref: '#/components/schemas/Device_Version'
          type: array
        conformsTo:
          description: Identifies the standards, specifications, or formal guidances
            for the capabilities supported by the device. The device may be certified
            as conformant to these specifications e.g., communication, performance,
            process, measurement, or specialization standards.
          items:
            $ref: '#/components/schemas/Device_ConformsTo'
          type: array
        property:
          description: Static or essentially fixed characteristics or features of the
            device (e.g., time or timing attributes, resolution, accuracy, intended
            use or instructions for use, and physical attributes) that are not otherwise
            captured in more specific attributes.
          items:
            $ref: '#/components/schemas/Device_Property'
          type: array
        mode:
          description: The designated condition for performing a task with the device.
          $ref: '#/components/schemas/CodeableConcept'
        cycle:
          description: The series of occurrences that repeats during the operation of
            the device.
          $ref: '#/components/schemas/Count'
        duration:
          description: A measurement of time during the device's operation (e.g., days,
            hours, mins, etc.).
          $ref: '#/components/schemas/Duration'
        owner:
          description: An organization that is responsible for the provision and ongoing
            maintenance of the device.
          $ref: '#/components/schemas/Reference'
        contact:
          description: Contact details for an organization or a particular human that
            is responsible for the device.
          items:
            $ref: '#/components/schemas/ContactPoint'
          type: array
        location:
          description: The place where the device can be found.
          $ref: '#/components/schemas/Reference'
        url:
          description: A network address on which the device may be contacted directly.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        endpoint:
          description: Technical endpoints providing access to services provided by
            the device defined at this resource.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        gateway:
          description: The linked device acting as a communication controller, data
            collector, translator, or concentrator for the current device (e.g., mobile
            phone application that relays a blood pressure device's data).
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        note:
          description: Descriptive information, usage information or implantation information
            that is not captured in an existing element.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        safety:
          description: Provides additional safety characteristics about a medical device.  For
            example devices containing latex.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        parent:
          description: The higher level or encompassing device that this device is a
            logical part of.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - resourceType
    Device_UdiCarrier:
      description: A type of a manufactured item that is used in the provision of healthcare
        without being substantially changed through that activity. The device may be
        a medical or non-medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        deviceIdentifier:
          description: The device identifier (DI) is a mandatory, fixed portion of a
            UDI that identifies the labeler and the specific version or model of a device.
          $ref: '#/components/schemas/string'
        _deviceIdentifier:
          description: Extensions for deviceIdentifier
          $ref: '#/components/schemas/Element'
        issuer:
          description: "Organization that is charged with issuing UDIs for devices.\
            \ For example, the US FDA issuers include: \n1) GS1: http://hl7.org/fhir/NamingSystem/gs1-di,\
            \ \n2) HIBCC: http://hl7.org/fhir/NamingSystem/hibcc-diI, \n3) ICCBBA for\
            \ blood containers: http://hl7.org/fhir/NamingSystem/iccbba-blood-di, \n\
            4) ICCBA for other devices: http://hl7.org/fhir/NamingSystem/iccbba-other-di\
            \ # Informationsstelle für Arzneispezialitäten (IFA GmbH) (EU only): http://hl7.org/fhir/NamingSystem/ifa-gmbh-di."
          $ref: '#/components/schemas/uri'
        _issuer:
          description: Extensions for issuer
          $ref: '#/components/schemas/Element'
        jurisdiction:
          description: The identity of the authoritative source for UDI generation within
            a jurisdiction. All UDIs are globally unique within a single namespace with
            the appropriate repository uri as the system. For example, UDIs of devices
            managed in the U.S. by the FDA, the value is http://hl7.org/fhir/NamingSystem/us-fda-udi
            or in the European Union by the European Commission http://hl7.org/fhir/NamingSystem/eu-ec-udi.
          $ref: '#/components/schemas/uri'
        _jurisdiction:
          description: Extensions for jurisdiction
          $ref: '#/components/schemas/Element'
        carrierAIDC:
          description: The full UDI carrier of the Automatic Identification and Data
            Capture (AIDC) technology representation of the barcode string as printed
            on the packaging of the device - e.g., a barcode or RFID.   Because of limitations
            on character sets in XML and the need to round-trip JSON data through XML,
            AIDC Formats *SHALL* be base64 encoded.
          $ref: '#/components/schemas/base64Binary'
        _carrierAIDC:
          description: Extensions for carrierAIDC
          $ref: '#/components/schemas/Element'
        carrierHRF:
          description: The full UDI carrier as the human readable form (HRF) representation
            of the barcode string as printed on the packaging of the device.
          $ref: '#/components/schemas/string'
        _carrierHRF:
          description: Extensions for carrierHRF
          $ref: '#/components/schemas/Element'
        entryType:
          description: A coded entry to indicate how the data was entered.
          $ref: '#/components/schemas/code'
        _entryType:
          description: Extensions for entryType
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Device_Name:
      description: A type of a manufactured item that is used in the provision of healthcare
        without being substantially changed through that activity. The device may be
        a medical or non-medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        value:
          description: The actual name that identifies the device.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
        type:
          description: Indicates the kind of name. RegisteredName | UserFriendlyName
            | PatientReportedName.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        display:
          description: Indicates the default or preferred name to be displayed.
          $ref: '#/components/schemas/boolean'
        _display:
          description: Extensions for display
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Device_Version:
      description: A type of a manufactured item that is used in the provision of healthcare
        without being substantially changed through that activity. The device may be
        a medical or non-medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of the device version, e.g. manufacturer, approved,
            internal.
          $ref: '#/components/schemas/CodeableConcept'
        component:
          description: The hardware or software module of the device to which the version
            applies.
          $ref: '#/components/schemas/Identifier'
        installDate:
          description: The date the version was installed on the device.
          $ref: '#/components/schemas/dateTime'
        _installDate:
          description: Extensions for installDate
          $ref: '#/components/schemas/Element'
        value:
          description: The version text.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Device_ConformsTo:
      description: A type of a manufactured item that is used in the provision of healthcare
        without being substantially changed through that activity. The device may be
        a medical or non-medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        category:
          description: Describes the type of the standard, specification, or formal
            guidance.
          $ref: '#/components/schemas/CodeableConcept'
        specification:
          description: Code that identifies the specific standard, specification, protocol,
            formal guidance, regulation, legislation, or certification scheme to which
            the device adheres.
          $ref: '#/components/schemas/CodeableConcept'
        version:
          description: Identifies the specific form or variant of the standard, specification,
            or formal guidance. This may be a 'version number', release, document edition,
            publication year, or other label.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - specification
    Device_Property:
      description: A type of a manufactured item that is used in the provision of healthcare
        without being substantially changed through that activity. The device may be
        a medical or non-medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Code that specifies the property, such as resolution, color,
            size, being represented.
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: The value of the property specified by the associated property.type
            code.
          $ref: '#/components/schemas/Quantity'
        valueCodeableConcept:
          description: The value of the property specified by the associated property.type
            code.
          $ref: '#/components/schemas/CodeableConcept'
        valueString:
          description: The value of the property specified by the associated property.type
            code.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: The value of the property specified by the associated property.type
            code.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The value of the property specified by the associated property.type
            code.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueRange:
          description: The value of the property specified by the associated property.type
            code.
          $ref: '#/components/schemas/Range'
        valueAttachment:
          description: The value of the property specified by the associated property.type
            code.
          $ref: '#/components/schemas/Attachment'
      type: object
      additionalProperties: false
      required:
      - type
    DeviceAssociation:
      description: A record of association or dissociation of a device with a patient.
      properties:
        resourceType:
          description: This is a DeviceAssociation resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Instance identifier.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        device:
          description: Reference to the devices associated with the patient or group.
          $ref: '#/components/schemas/Reference'
        category:
          description: Describes the relationship between the device and subject.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        status:
          description: Indicates the state of the Device association.
          $ref: '#/components/schemas/CodeableConcept'
        statusReason:
          description: The reasons given for the current association status.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        subject:
          description: The individual, group of individuals or device that the device
            is on or associated with.
          $ref: '#/components/schemas/Reference'
        bodyStructure:
          description: Current anatomical location of the device in/on subject.
          $ref: '#/components/schemas/Reference'
        period:
          description: Begin and end dates and times for the device association.
          $ref: '#/components/schemas/Period'
        operation:
          description: The details about the device when it is in use to describe its
            operation.
          items:
            $ref: '#/components/schemas/DeviceAssociation_Operation'
          type: array
      type: object
      additionalProperties: false
      required:
      - device
      - resourceType
      - status
    DeviceAssociation_Operation:
      description: A record of association or dissociation of a device with a patient.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        status:
          description: Device operational condition corresponding to the association.
          $ref: '#/components/schemas/CodeableConcept'
        operator:
          description: The individual performing the action enabled by the device.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        period:
          description: Begin and end dates and times for the device's operation.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - status
    DeviceDefinition:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        resourceType:
          description: This is a DeviceDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: Additional information to describe the device.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        identifier:
          description: 'Unique instance identifiers assigned to a device by the software,
            manufacturers, other organizations or owners. For example: handle ID. The
            identifier is typically valued if the udiDeviceIdentifier, partNumber or
            modelNumber is not valued and represents a different type of identifier.  However,
            it is permissible to still include those identifiers in DeviceDefinition.identifier
            with the appropriate identifier.type.'
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        udiDeviceIdentifier:
          description: Unique device identifier (UDI) assigned to device label or package.  Note
            that the Device may include multiple udiCarriers as it either may include
            just the udiCarrier for the jurisdiction it is sold, or for multiple jurisdictions
            it could have been sold.
          items:
            $ref: '#/components/schemas/DeviceDefinition_UdiDeviceIdentifier'
          type: array
        regulatoryIdentifier:
          description: Identifier associated with the regulatory documentation (certificates,
            technical documentation, post-market surveillance documentation and reports)
            of a set of device models sharing the same intended purpose, risk class
            and essential design and manufacturing characteristics. One example is the
            Basic UDI-DI in Europe.
          items:
            $ref: '#/components/schemas/DeviceDefinition_RegulatoryIdentifier'
          type: array
        partNumber:
          description: The part number or catalog number of the device.
          $ref: '#/components/schemas/string'
        _partNumber:
          description: Extensions for partNumber
          $ref: '#/components/schemas/Element'
        manufacturer:
          description: A name of the manufacturer  or legal representative e.g. labeler.
            Whether this is the actual manufacturer or the labeler or responsible depends
            on implementation and jurisdiction.
          $ref: '#/components/schemas/Reference'
        deviceName:
          description: The name or names of the device as given by the manufacturer.
          items:
            $ref: '#/components/schemas/DeviceDefinition_DeviceName'
          type: array
        modelNumber:
          description: The model number for the device for example as defined by the
            manufacturer or labeler, or other agency.
          $ref: '#/components/schemas/string'
        _modelNumber:
          description: Extensions for modelNumber
          $ref: '#/components/schemas/Element'
        classification:
          description: What kind of device or device system this is.
          items:
            $ref: '#/components/schemas/DeviceDefinition_Classification'
          type: array
        conformsTo:
          description: Identifies the standards, specifications, or formal guidances
            for the capabilities supported by the device. The device may be certified
            as conformant to these specifications e.g., communication, performance,
            process, measurement, or specialization standards.
          items:
            $ref: '#/components/schemas/DeviceDefinition_ConformsTo'
          type: array
        hasPart:
          description: A device that is part (for example a component) of the present
            device.
          items:
            $ref: '#/components/schemas/DeviceDefinition_HasPart'
          type: array
        packaging:
          description: Information about the packaging of the device, i.e. how the device
            is packaged.
          items:
            $ref: '#/components/schemas/DeviceDefinition_Packaging'
          type: array
        version:
          description: The version of the device or software.
          items:
            $ref: '#/components/schemas/DeviceDefinition_Version'
          type: array
        safety:
          description: Safety characteristics of the device.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        shelfLifeStorage:
          description: Shelf Life and storage information.
          items:
            $ref: '#/components/schemas/ProductShelfLife'
          type: array
        languageCode:
          description: Language code for the human-readable text strings produced by
            the device (all supported).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        property:
          description: Static or essentially fixed characteristics or features of this
            kind of device that are otherwise not captured in more specific attributes,
            e.g., time or timing attributes, resolution, accuracy, and physical attributes.
          items:
            $ref: '#/components/schemas/DeviceDefinition_Property'
          type: array
        owner:
          description: An organization that is responsible for the provision and ongoing
            maintenance of the device.
          $ref: '#/components/schemas/Reference'
        contact:
          description: Contact details for an organization or a particular human that
            is responsible for the device.
          items:
            $ref: '#/components/schemas/ContactPoint'
          type: array
        link:
          description: An associated device, attached to, used with, communicating with
            or linking a previous or new device model to the focal device.
          items:
            $ref: '#/components/schemas/DeviceDefinition_Link'
          type: array
        note:
          description: Descriptive information, usage information or implantation information
            that is not captured in an existing element.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        material:
          description: A substance used to create the material(s) of which the device
            is made.
          items:
            $ref: '#/components/schemas/DeviceDefinition_Material'
          type: array
        productionIdentifierInUDI:
          description: Indicates the production identifier(s) that are expected to appear
            in the UDI carrier on the device label.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _productionIdentifierInUDI:
          description: Extensions for productionIdentifierInUDI
          items:
            $ref: '#/components/schemas/Element'
          type: array
        guideline:
          description: Information aimed at providing directions for the usage of this
            model of device.
          $ref: '#/components/schemas/DeviceDefinition_Guideline'
        correctiveAction:
          description: Tracking of latest field safety corrective action.
          $ref: '#/components/schemas/DeviceDefinition_CorrectiveAction'
        chargeItem:
          description: Billing code or reference associated with the device.
          items:
            $ref: '#/components/schemas/DeviceDefinition_ChargeItem'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    DeviceDefinition_UdiDeviceIdentifier:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        deviceIdentifier:
          description: The identifier that is to be associated with every Device that
            references this DeviceDefintiion for the issuer and jurisdiction provided
            in the DeviceDefinition.udiDeviceIdentifier.
          $ref: '#/components/schemas/string'
        _deviceIdentifier:
          description: Extensions for deviceIdentifier
          $ref: '#/components/schemas/Element'
        issuer:
          description: The organization that assigns the identifier algorithm.
          $ref: '#/components/schemas/uri'
        _issuer:
          description: Extensions for issuer
          $ref: '#/components/schemas/Element'
        jurisdiction:
          description: The jurisdiction to which the deviceIdentifier applies.
          $ref: '#/components/schemas/uri'
        _jurisdiction:
          description: Extensions for jurisdiction
          $ref: '#/components/schemas/Element'
        marketDistribution:
          description: Indicates where and when the device is available on the market.
          items:
            $ref: '#/components/schemas/DeviceDefinition_MarketDistribution'
          type: array
      type: object
      additionalProperties: false
    DeviceDefinition_MarketDistribution:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        marketPeriod:
          description: Begin and end dates for the commercial distribution of the device.
          $ref: '#/components/schemas/Period'
        subJurisdiction:
          description: National state or territory to which the marketDistribution recers,
            typically where the device is commercialized.
          $ref: '#/components/schemas/uri'
        _subJurisdiction:
          description: Extensions for subJurisdiction
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - marketPeriod
    DeviceDefinition_RegulatoryIdentifier:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of identifier itself.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        deviceIdentifier:
          description: The identifier itself.
          $ref: '#/components/schemas/string'
        _deviceIdentifier:
          description: Extensions for deviceIdentifier
          $ref: '#/components/schemas/Element'
        issuer:
          description: The organization that issued this identifier.
          $ref: '#/components/schemas/uri'
        _issuer:
          description: Extensions for issuer
          $ref: '#/components/schemas/Element'
        jurisdiction:
          description: The jurisdiction to which the deviceIdentifier applies.
          $ref: '#/components/schemas/uri'
        _jurisdiction:
          description: Extensions for jurisdiction
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    DeviceDefinition_DeviceName:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: A human-friendly name that is used to refer to the device - depending
            on the type, it can be the brand name, the common name or alias, or other.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        type:
          description: 'The type of deviceName.

            RegisteredName | UserFriendlyName | PatientReportedName.'
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    DeviceDefinition_Classification:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: A classification or risk class of the device model.
          $ref: '#/components/schemas/CodeableConcept'
        justification:
          description: Further information qualifying this classification of the device
            model.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
      type: object
      additionalProperties: false
      required:
      - type
    DeviceDefinition_ConformsTo:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        category:
          description: Describes the type of the standard, specification, or formal
            guidance.
          $ref: '#/components/schemas/CodeableConcept'
        specification:
          description: Code that identifies the specific standard, specification, protocol,
            formal guidance, regulation, legislation, or certification scheme to which
            the device adheres.
          $ref: '#/components/schemas/CodeableConcept'
        version:
          description: Identifies the specific form or variant of the standard, specification,
            or formal guidance. This may be a 'version number', release, document edition,
            publication year, or other label.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _version:
          description: Extensions for version
          items:
            $ref: '#/components/schemas/Element'
          type: array
        source:
          description: Standard, regulation, certification, or guidance website, document,
            or other publication, or similar, supporting the conformance.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
      type: object
      additionalProperties: false
      required:
      - specification
    DeviceDefinition_HasPart:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        reference:
          description: Reference to the device that is part of the current device.
          $ref: '#/components/schemas/Reference'
        count:
          description: Number of instances of the component device in the current device.
          $ref: '#/components/schemas/integer'
        _count:
          description: Extensions for count
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - reference
    DeviceDefinition_Packaging:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: The business identifier of the packaged medication.
          $ref: '#/components/schemas/Identifier'
        type:
          description: A code that defines the specific type of packaging.
          $ref: '#/components/schemas/CodeableConcept'
        count:
          description: The number of items contained in the package (devices or sub-packages).
          $ref: '#/components/schemas/integer'
        _count:
          description: Extensions for count
          $ref: '#/components/schemas/Element'
        distributor:
          description: An organization that distributes the packaged device.
          items:
            $ref: '#/components/schemas/DeviceDefinition_Distributor'
          type: array
        udiDeviceIdentifier:
          description: Unique Device Identifier (UDI) Barcode string on the packaging.
          items:
            $ref: '#/components/schemas/DeviceDefinition_UdiDeviceIdentifier'
          type: array
        packaging:
          description: Allows packages within packages.
          items:
            $ref: '#/components/schemas/DeviceDefinition_Packaging'
          type: array
      type: object
      additionalProperties: false
    DeviceDefinition_Distributor:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: Distributor's human-readable name.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        organizationReference:
          description: Distributor as an Organization resource.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    DeviceDefinition_Version:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of the device version, e.g. manufacturer, approved,
            internal.
          $ref: '#/components/schemas/CodeableConcept'
        component:
          description: The hardware or software module of the device to which the version
            applies.
          $ref: '#/components/schemas/Identifier'
        value:
          description: The version text.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    DeviceDefinition_Property:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Code that specifies the property such as a resolution or color
            being represented.
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: The value of the property specified by the associated property.type
            code.
          $ref: '#/components/schemas/Quantity'
        valueCodeableConcept:
          description: The value of the property specified by the associated property.type
            code.
          $ref: '#/components/schemas/CodeableConcept'
        valueString:
          description: The value of the property specified by the associated property.type
            code.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: The value of the property specified by the associated property.type
            code.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The value of the property specified by the associated property.type
            code.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueRange:
          description: The value of the property specified by the associated property.type
            code.
          $ref: '#/components/schemas/Range'
        valueAttachment:
          description: The value of the property specified by the associated property.type
            code.
          $ref: '#/components/schemas/Attachment'
      type: object
      additionalProperties: false
      required:
      - type
    DeviceDefinition_Link:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        relation:
          description: The type indicates the relationship of the related device to
            the device instance.
          $ref: '#/components/schemas/Coding'
        relatedDevice:
          description: A reference to the linked device.
          $ref: '#/components/schemas/CodeableReference'
      type: object
      additionalProperties: false
      required:
      - relatedDevice
      - relation
    DeviceDefinition_Material:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        substance:
          description: A substance that the device contains, may contain, or is made
            of - for example latex - to be used to determine patient compatibility.
            This is not intended to represent the composition of the device, only the
            clinically relevant materials.
          $ref: '#/components/schemas/CodeableConcept'
        alternate:
          description: Indicates an alternative material of the device.
          $ref: '#/components/schemas/boolean'
        _alternate:
          description: Extensions for alternate
          $ref: '#/components/schemas/Element'
        allergenicIndicator:
          description: Whether the substance is a known or suspected allergen.
          $ref: '#/components/schemas/boolean'
        _allergenicIndicator:
          description: Extensions for allergenicIndicator
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - substance
    DeviceDefinition_Guideline:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        useContext:
          description: The circumstances that form the setting for using the device.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        usageInstruction:
          description: Detailed written and visual directions for the user on how to
            use the device.
          $ref: '#/components/schemas/markdown'
        _usageInstruction:
          description: Extensions for usageInstruction
          $ref: '#/components/schemas/Element'
        relatedArtifact:
          description: A source of information or reference for this guideline.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        indication:
          description: A clinical condition for which the device was designed to be
            used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        contraindication:
          description: A specific situation when a device should not be used because
            it may cause harm.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        warning:
          description: Specific hazard alert information that a user needs to know before
            using the device.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        intendedUse:
          description: A description of the general purpose or medical use of the device
            or its function.
          $ref: '#/components/schemas/string'
        _intendedUse:
          description: Extensions for intendedUse
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    DeviceDefinition_CorrectiveAction:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        recall:
          description: Whether the last corrective action known for this device was
            a recall.
          $ref: '#/components/schemas/boolean'
        _recall:
          description: Extensions for recall
          $ref: '#/components/schemas/Element'
        scope:
          description: The scope of the corrective action - whether the action targeted
            all units of a given device model, or only a specific set of batches identified
            by lot numbers, or individually identified devices identified by the serial
            name.
          $ref: '#/components/schemas/code'
        _scope:
          description: Extensions for scope
          $ref: '#/components/schemas/Element'
        period:
          description: Start and end dates of the  corrective action.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - period
    DeviceDefinition_ChargeItem:
      description: The characteristics, operational status and capabilities of a medical-related
        component of a medical device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        chargeItemCode:
          description: The code or reference for the charge item.
          $ref: '#/components/schemas/CodeableReference'
        count:
          description: Coefficient applicable to the billing code.
          $ref: '#/components/schemas/Quantity'
        effectivePeriod:
          description: A specific time period in which this charge item applies.
          $ref: '#/components/schemas/Period'
        useContext:
          description: The context to which this charge item applies.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
      type: object
      additionalProperties: false
      required:
      - chargeItemCode
      - count
    DeviceDispense:
      description: A record of dispensation of a device - i.e., assigning a device to
        a patient, or to a professional for their use.
      properties:
        resourceType:
          description: This is a DeviceDispense resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifier for this dispensation.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        basedOn:
          description: The order or request that this dispense is fulfilling.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        partOf:
          description: The bigger event that this dispense is a part of.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: A code specifying the state of the set of dispense events.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        statusReason:
          description: Indicates the reason why a dispense was or was not performed.
          $ref: '#/components/schemas/CodeableReference'
        category:
          description: Indicates the type of device dispense.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        device:
          description: Identifies the device being dispensed. This is either a link
            to a resource representing the details of the device or a simple attribute
            carrying a code that identifies the device from a known list of devices.
          $ref: '#/components/schemas/CodeableReference'
        subject:
          description: A link to a resource representing the person to whom the device
            is intended.
          $ref: '#/components/schemas/Reference'
        receiver:
          description: Identifies the person who picked up the device or the person
            or location where the device was delivered.  This may be a patient or their
            caregiver, but some cases exist where it can be a healthcare professional
            or a location.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The encounter that establishes the context for this event.
          $ref: '#/components/schemas/Reference'
        supportingInformation:
          description: Additional information that supports the device being dispensed.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        performer:
          description: Indicates who or what performed the event.
          items:
            $ref: '#/components/schemas/DeviceDispense_Performer'
          type: array
        location:
          description: The principal physical location where the dispense was performed.
          $ref: '#/components/schemas/Reference'
        type:
          description: Indicates the type of dispensing event that is performed.
          $ref: '#/components/schemas/CodeableConcept'
        quantity:
          description: The number of devices that have been dispensed.
          $ref: '#/components/schemas/Quantity'
        preparedDate:
          description: The time when the dispensed product was packaged and reviewed.
          $ref: '#/components/schemas/dateTime'
        _preparedDate:
          description: Extensions for preparedDate
          $ref: '#/components/schemas/Element'
        whenHandedOver:
          description: The time the dispensed product was made available to the patient
            or their representative.
          $ref: '#/components/schemas/dateTime'
        _whenHandedOver:
          description: Extensions for whenHandedOver
          $ref: '#/components/schemas/Element'
        destination:
          description: Identification of the facility/location where the device was
            /should be shipped to, as part of the dispense process.
          $ref: '#/components/schemas/Reference'
        note:
          description: Extra information about the dispense that could not be conveyed
            in the other attributes.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        usageInstruction:
          description: The full representation of the instructions.
          $ref: '#/components/schemas/markdown'
        _usageInstruction:
          description: Extensions for usageInstruction
          $ref: '#/components/schemas/Element'
        eventHistory:
          description: A summary of the events of interest that have occurred, such
            as when the dispense was verified.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - device
      - resourceType
    DeviceDispense_Performer:
      description: A record of dispensation of a device - i.e., assigning a device to
        a patient, or to a professional for their use.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        function:
          description: Distinguishes the type of performer in the dispense.  For example,
            date enterer, packager, final checker.
          $ref: '#/components/schemas/CodeableConcept'
        actor:
          description: The device, practitioner, etc. who performed the action.  It
            should be assumed that the actor is the dispenser of the device.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - actor
    DeviceMetric:
      description: Describes a measurement, calculation or setting capability of a device.
      properties:
        resourceType:
          description: This is a DeviceMetric resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Instance identifiers assigned to a device, by the device or gateway
            software, manufacturers, other organizations or owners. For example, handle
            ID.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        type:
          description: 'Describes the type of the metric. For example: Heart Rate, PEEP
            Setting, etc.'
          $ref: '#/components/schemas/CodeableConcept'
        unit:
          description: 'Describes the unit that an observed value determined for this
            metric will have. For example: Percent, Seconds, etc.'
          $ref: '#/components/schemas/CodeableConcept'
        device:
          description: Describes the link to the Device.  This is also known as a channel
            device.
          $ref: '#/components/schemas/Reference'
        operationalStatus:
          description: 'Indicates current operational state of the device. For example:
            On, Off, Standby, etc.'
          $ref: '#/components/schemas/code'
        _operationalStatus:
          description: Extensions for operationalStatus
          $ref: '#/components/schemas/Element'
        color:
          description: The preferred color associated with the metric (e.g., display
            color). This is often used to aid clinicians to track and identify parameter
            types by color. In practice, consider a Patient Monitor that has ECG/HR
            and Pleth; the metrics are displayed in different characteristic colors,
            such as HR in blue, BP in green, and PR and SpO2 in magenta.
          $ref: '#/components/schemas/code'
        _color:
          description: Extensions for color
          $ref: '#/components/schemas/Element'
        category:
          description: Indicates the category of the observation generation process.
            A DeviceMetric can be for example a setting, measurement, or calculation.
          $ref: '#/components/schemas/code'
        _category:
          description: Extensions for category
          $ref: '#/components/schemas/Element'
        measurementFrequency:
          description: The frequency at which the metric is taken or recorded. Devices
            measure metrics at a wide range of frequencies; for example, an ECG might
            sample measurements in the millisecond range, while an NIBP might trigger
            only once an hour. Less often, the measurementFrequency may be based on
            a unit other than time, such as distance (e.g. for a measuring wheel). The
            update period may be different than the measurement frequency, if the device
            does not update the published observed value with the same frequency as
            it was measured.
          $ref: '#/components/schemas/Quantity'
        calibration:
          description: Describes the calibrations that have been performed or that are
            required to be performed.
          items:
            $ref: '#/components/schemas/DeviceMetric_Calibration'
          type: array
      type: object
      additionalProperties: false
      required:
      - type
      - device
      - resourceType
    DeviceMetric_Calibration:
      description: Describes a measurement, calculation or setting capability of a device.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Describes the type of the calibration method.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        state:
          description: Describes the state of the calibration.
          $ref: '#/components/schemas/code'
        _state:
          description: Extensions for state
          $ref: '#/components/schemas/Element'
        time:
          description: Describes the time last calibration has been performed.
          $ref: '#/components/schemas/instant'
        _time:
          description: Extensions for time
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    DeviceRequest:
      description: Represents a request for a patient to employ a medical device. The
        device may be an implantable device, or an external assistive device, such as
        a walker.
      properties:
        resourceType:
          description: This is a DeviceRequest resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifiers assigned to this order by the orderer or by the receiver.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        instantiatesCanonical:
          description: The URL pointing to a FHIR-defined protocol, guideline, orderset
            or other definition that is adhered to in whole or in part by this DeviceRequest.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        instantiatesUri:
          description: The URL pointing to an externally maintained protocol, guideline,
            orderset or other definition that is adhered to in whole or in part by this
            DeviceRequest.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _instantiatesUri:
          description: Extensions for instantiatesUri
          items:
            $ref: '#/components/schemas/Element'
          type: array
        basedOn:
          description: Plan/proposal/order fulfilled by this request.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        replaces:
          description: The request takes the place of the referenced completed or terminated
            request(s).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        groupIdentifier:
          description: A shared identifier common to multiple independent Request instances
            that were activated/authorized more or less simultaneously by a single author.  The
            presence of the same identifier on each request ties those requests together
            and may have business ramifications in terms of reporting of results, billing,
            etc.  E.g. a requisition number shared by a set of lab tests ordered together,
            or a prescription number shared by all meds ordered at one time.
          $ref: '#/components/schemas/Identifier'
        status:
          description: The status of the request.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        intent:
          description: Whether the request is a proposal, plan, an original order or
            a reflex order.
          $ref: '#/components/schemas/code'
        _intent:
          description: Extensions for intent
          $ref: '#/components/schemas/Element'
        priority:
          description: Indicates how quickly the request should be addressed with respect
            to other requests.
          $ref: '#/components/schemas/code'
        _priority:
          description: Extensions for priority
          $ref: '#/components/schemas/Element'
        doNotPerform:
          description: If true, indicates that the provider is asking for the patient
            to either stop using or to not start using the specified device or category
            of devices. For example, the patient has undergone surgery and the provider
            is indicating that the patient should not wear contact lenses.
          $ref: '#/components/schemas/boolean'
        _doNotPerform:
          description: Extensions for doNotPerform
          $ref: '#/components/schemas/Element'
        code:
          description: The details of the device to be used.
          $ref: '#/components/schemas/CodeableReference'
        quantity:
          description: The number of devices to be provided.
          $ref: '#/components/schemas/integer'
        _quantity:
          description: Extensions for quantity
          $ref: '#/components/schemas/Element'
        parameter:
          description: Specific parameters for the ordered item.  For example, the prism
            value for lenses.
          items:
            $ref: '#/components/schemas/DeviceRequest_Parameter'
          type: array
        subject:
          description: The patient who will use the device.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: An encounter that provides additional context in which this request
            is made.
          $ref: '#/components/schemas/Reference'
        occurrenceDateTime:
          description: The timing schedule for the use of the device. The Schedule data
            type allows many different expressions, for example. "Every 8 hours"; "Three
            times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:";
            "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _occurrenceDateTime:
          description: Extensions for occurrenceDateTime
          $ref: '#/components/schemas/Element'
        occurrencePeriod:
          description: The timing schedule for the use of the device. The Schedule data
            type allows many different expressions, for example. "Every 8 hours"; "Three
            times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:";
            "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".
          $ref: '#/components/schemas/Period'
        occurrenceTiming:
          description: The timing schedule for the use of the device. The Schedule data
            type allows many different expressions, for example. "Every 8 hours"; "Three
            times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:";
            "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".
          $ref: '#/components/schemas/Timing'
        authoredOn:
          description: When the request transitioned to being actionable.
          $ref: '#/components/schemas/dateTime'
        _authoredOn:
          description: Extensions for authoredOn
          $ref: '#/components/schemas/Element'
        requester:
          description: The individual or entity who initiated the request and has responsibility
            for its activation.
          $ref: '#/components/schemas/Reference'
        performer:
          description: The desired individual or entity to provide the device to the
            subject of the request (e.g., patient, location).
          $ref: '#/components/schemas/CodeableReference'
        reason:
          description: Reason or justification for the use of this device.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        asNeeded:
          description: This status is to indicate whether the request is a PRN or may
            be given as needed.
          $ref: '#/components/schemas/boolean'
        _asNeeded:
          description: Extensions for asNeeded
          $ref: '#/components/schemas/Element'
        asNeededFor:
          description: The reason for using the device.
          $ref: '#/components/schemas/CodeableConcept'
        insurance:
          description: Insurance plans, coverage extensions, pre-authorizations and/or
            pre-determinations that may be required for delivering the requested service.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        supportingInfo:
          description: Additional clinical information about the patient that may influence
            the request fulfilment.  For example, this may include where on the subject's
            body the device will be used (i.e. the target site).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        note:
          description: Details about this request that were not represented at all or
            sufficiently in one of the attributes provided in a class. These may include
            for example a comment, an instruction, or a note associated with the statement.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        relevantHistory:
          description: Key events in the history of the request.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
      - subject
      - resourceType
    DeviceRequest_Parameter:
      description: Represents a request for a patient to employ a medical device. The
        device may be an implantable device, or an external assistive device, such as
        a walker.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A code or string that identifies the device detail being asserted.
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableConcept:
          description: The value of the device detail.
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: The value of the device detail.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: The value of the device detail.
          $ref: '#/components/schemas/Range'
        valueBoolean:
          description: The value of the device detail.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    DeviceUsage:
      description: A record of a device being used by a patient where the record is
        the result of a report from the patient or a clinician.
      properties:
        resourceType:
          description: This is a DeviceUsage resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: An external identifier for this statement such as an IRI.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        basedOn:
          description: A plan, proposal or order that is fulfilled in whole or in part
            by this DeviceUsage.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: A code representing the patient or other source's judgment about
            the state of the device used that this statement is about.  Generally this
            will be active or completed.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        category:
          description: This attribute indicates a category for the statement - The device
            statement may be made in an inpatient or outpatient settting (inpatient
            | outpatient | community | patientspecified).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        patient:
          description: The patient who used the device.
          $ref: '#/components/schemas/Reference'
        derivedFrom:
          description: Allows linking the DeviceUsage to the underlying Request, or
            to other information that supports or is used to derive the DeviceUsage.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        context:
          description: The encounter or episode of care that establishes the context
            for this device use statement.
          $ref: '#/components/schemas/Reference'
        timingTiming:
          description: How often the device was used.
          $ref: '#/components/schemas/Timing'
        timingPeriod:
          description: How often the device was used.
          $ref: '#/components/schemas/Period'
        timingDateTime:
          description: How often the device was used.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _timingDateTime:
          description: Extensions for timingDateTime
          $ref: '#/components/schemas/Element'
        dateAsserted:
          description: The time at which the statement was recorded by informationSource.
          $ref: '#/components/schemas/dateTime'
        _dateAsserted:
          description: Extensions for dateAsserted
          $ref: '#/components/schemas/Element'
        usageStatus:
          description: The status of the device usage, for example always, sometimes,
            never. This is not the same as the status of the statement.
          $ref: '#/components/schemas/CodeableConcept'
        usageReason:
          description: The reason for asserting the usage status - for example forgot,
            lost, stolen, broken.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        adherence:
          description: This indicates how or if the device is being used.
          $ref: '#/components/schemas/DeviceUsage_Adherence'
        informationSource:
          description: Who reported the device was being used by the patient.
          $ref: '#/components/schemas/Reference'
        device:
          description: Code or Reference to device used.
          $ref: '#/components/schemas/CodeableReference'
        reason:
          description: Reason or justification for the use of the device. A coded concept,
            or another resource whose existence justifies this DeviceUsage.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        bodySite:
          description: Indicates the anotomic location on the subject's body where the
            device was used ( i.e. the target).
          $ref: '#/components/schemas/CodeableReference'
        note:
          description: Details about the device statement that were not represented
            at all or sufficiently in one of the attributes provided in a class. These
            may include for example a comment, an instruction, or a note associated
            with the statement.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - patient
      - device
      - resourceType
    DeviceUsage_Adherence:
      description: A record of a device being used by a patient where the record is
        the result of a report from the patient or a clinician.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Type of adherence.
          $ref: '#/components/schemas/CodeableConcept'
        reason:
          description: Reason for adherence type.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
      required:
      - reason
      - code
    DiagnosticReport:
      description: The findings and interpretation of diagnostic tests performed on
        patients, groups of patients, products, substances, devices, and locations,
        and/or specimens derived from these. The report includes clinical context such
        as requesting provider information, and some mix of atomic results, images,
        textual and coded interpretations, and formatted representation of diagnostic
        reports. The report also includes non-clinical context such as batch analysis
        and stability reporting of products and substances.
      properties:
        resourceType:
          description: This is a DiagnosticReport resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifiers assigned to this report by the performer or other
            systems.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        basedOn:
          description: Details concerning a service requested.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: The status of the diagnostic report.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        category:
          description: A code that classifies the clinical discipline, department or
            diagnostic service that created the report (e.g. cardiology, biochemistry,
            hematology, MRI). This is used for searching, sorting and display purposes.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        code:
          description: A code or name that describes this diagnostic report.
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: The subject of the report. Usually, but not always, this is a
            patient. However, diagnostic services also perform analyses on specimens
            collected from a variety of other sources.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The healthcare event  (e.g. a patient and healthcare provider
            interaction) which this DiagnosticReport is about.
          $ref: '#/components/schemas/Reference'
        effectiveDateTime:
          description: The time or time-period the observed values are related to. When
            the subject of the report is a patient, this is usually either the time
            of the procedure or of specimen collection(s), but very often the source
            of the date/time is not known, only the date/time itself.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _effectiveDateTime:
          description: Extensions for effectiveDateTime
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The time or time-period the observed values are related to. When
            the subject of the report is a patient, this is usually either the time
            of the procedure or of specimen collection(s), but very often the source
            of the date/time is not known, only the date/time itself.
          $ref: '#/components/schemas/Period'
        issued:
          description: The date and time that this version of the report was made available
            to providers, typically after the report was reviewed and verified.
          $ref: '#/components/schemas/instant'
        _issued:
          description: Extensions for issued
          $ref: '#/components/schemas/Element'
        performer:
          description: The diagnostic service that is responsible for issuing the report.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        resultsInterpreter:
          description: The practitioner or organization that is responsible for the
            report's conclusions and interpretations.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        specimen:
          description: Details about the specimens on which this diagnostic report is
            based.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        result:
          description: '[Observations](observation.html)  that are part of this diagnostic
            report.'
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        note:
          description: Comments about the diagnostic report.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        study:
          description: One or more links to full details of any study performed during
            the diagnostic investigation. An ImagingStudy might comprise a set of radiologic
            images obtained via a procedure that are analyzed as a group. Typically,
            this is imaging performed by DICOM enabled modalities, but this is not required.
            A fully enabled PACS viewer can use this information to provide views of
            the source images. A GenomicStudy might comprise one or more analyses, each
            serving a specific purpose. These analyses may vary in method (e.g., karyotyping,
            CNV, or SNV detection), performer, software, devices used, or regions targeted.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        supportingInfo:
          description: This backbone element contains supporting information that was
            used in the creation of the report not included in the results already included
            in the report.
          items:
            $ref: '#/components/schemas/DiagnosticReport_SupportingInfo'
          type: array
        media:
          description: A list of key images or data associated with this report. The
            images or data are generally created during the diagnostic process, and
            may be directly of the patient, or of treated specimens (i.e. slides of
            interest).
          items:
            $ref: '#/components/schemas/DiagnosticReport_Media'
          type: array
        composition:
          description: Reference to a Composition resource instance that provides structure
            for organizing the contents of the DiagnosticReport.
          $ref: '#/components/schemas/Reference'
        conclusion:
          description: Concise and clinically contextualized summary conclusion (interpretation/impression)
            of the diagnostic report.
          $ref: '#/components/schemas/markdown'
        _conclusion:
          description: Extensions for conclusion
          $ref: '#/components/schemas/Element'
        conclusionCode:
          description: One or more codes that represent the summary conclusion (interpretation/impression)
            of the diagnostic report.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        presentedForm:
          description: Rich text representation of the entire result as issued by the
            diagnostic service. Multiple formats are allowed but they SHALL be semantically
            equivalent.
          items:
            $ref: '#/components/schemas/Attachment'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
      - resourceType
    DiagnosticReport_SupportingInfo:
      description: The findings and interpretation of diagnostic tests performed on
        patients, groups of patients, products, substances, devices, and locations,
        and/or specimens derived from these. The report includes clinical context such
        as requesting provider information, and some mix of atomic results, images,
        textual and coded interpretations, and formatted representation of diagnostic
        reports. The report also includes non-clinical context such as batch analysis
        and stability reporting of products and substances.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The code value for the role of the supporting information in
            the diagnostic report.
          $ref: '#/components/schemas/CodeableConcept'
        reference:
          description: The reference for the supporting information in the diagnostic
            report.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - reference
      - type
    DiagnosticReport_Media:
      description: The findings and interpretation of diagnostic tests performed on
        patients, groups of patients, products, substances, devices, and locations,
        and/or specimens derived from these. The report includes clinical context such
        as requesting provider information, and some mix of atomic results, images,
        textual and coded interpretations, and formatted representation of diagnostic
        reports. The report also includes non-clinical context such as batch analysis
        and stability reporting of products and substances.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        comment:
          description: A comment about the image or data. Typically, this is used to
            provide an explanation for why the image or data is included, or to draw
            the viewer's attention to important features.
          $ref: '#/components/schemas/string'
        _comment:
          description: Extensions for comment
          $ref: '#/components/schemas/Element'
        link:
          description: Reference to the image or data source.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - link
    DocumentReference:
      description: A reference to a document of any kind for any purpose. While the
        term “document” implies a more narrow focus, for this resource this "document"
        encompasses *any* serialized object with a mime-type, it includes formal patient-centric
        documents (CDA), clinical notes, scanned paper, non-patient specific documents
        like policy text, as well as a photo, video, or audio recording acquired or
        used in healthcare.  The DocumentReference resource provides metadata about
        the document so that the document can be discovered and managed.  The actual
        content may be inline base64 encoded data or provided by direct reference.
      properties:
        resourceType:
          description: This is a DocumentReference resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Other business identifiers associated with the document, including
            version independent identifiers.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: An explicitly assigned identifer of a variation of the content
            in the DocumentReference.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        basedOn:
          description: A procedure that is fulfilled in whole or in part by the creation
            of this media.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: The status of this document reference.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        docStatus:
          description: The status of the underlying document.
          $ref: '#/components/schemas/code'
        _docStatus:
          description: Extensions for docStatus
          $ref: '#/components/schemas/Element'
        modality:
          description: Imaging modality used. This may include both acquisition and
            non-acquisition modalities.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        type:
          description: Specifies the particular kind of document referenced  (e.g. History
            and Physical, Discharge Summary, Progress Note). This usually equates to
            the purpose of making the document referenced.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: A categorization for the type of document referenced - helps
            for indexing and searching. This may be implied by or derived from the code
            specified in the DocumentReference.type.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        subject:
          description: Who or what the document is about. The document can be about
            a person, (patient or healthcare practitioner), a device (e.g. a machine)
            or even a group of subjects (such as a document about a herd of farm animals,
            or a set of patients that share a common exposure).
          $ref: '#/components/schemas/Reference'
        context:
          description: Describes the clinical encounter or type of care that the document
            content is associated with.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        event:
          description: This list of codes represents the main clinical acts, such as
            a colonoscopy or an appendectomy, being documented. In some cases, the event
            is inherent in the type Code, such as a "History and Physical Report" in
            which the procedure being documented is necessarily a "History and Physical"
            act.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        bodySite:
          description: The anatomic structures included in the document.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        facilityType:
          description: The kind of facility where the patient was seen.
          $ref: '#/components/schemas/CodeableConcept'
        practiceSetting:
          description: This property may convey specifics about the practice setting
            where the content was created, often reflecting the clinical specialty.
          $ref: '#/components/schemas/CodeableConcept'
        period:
          description: The time period over which the service that is described by the
            document was provided.
          $ref: '#/components/schemas/Period'
        date:
          description: When the document reference was created.
          $ref: '#/components/schemas/instant'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        author:
          description: Identifies who is responsible for adding the information to the
            document.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        attester:
          description: A participant who has authenticated the accuracy of the document.
          items:
            $ref: '#/components/schemas/DocumentReference_Attester'
          type: array
        custodian:
          description: Identifies the organization or group who is responsible for ongoing
            maintenance of and access to the document.
          $ref: '#/components/schemas/Reference'
        relatesTo:
          description: Relationships that this document has with other document references
            that already exist.
          items:
            $ref: '#/components/schemas/DocumentReference_RelatesTo'
          type: array
        description:
          description: Human-readable description of the source document.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        securityLabel:
          description: 'A set of Security-Tag codes specifying the level of privacy/security
            of the Document found at DocumentReference.content.attachment.url. Note
            that DocumentReference.meta.security contains the security labels of the
            data elements in DocumentReference, while DocumentReference.securityLabel
            contains the security labels for the document the reference refers to. The
            distinction recognizes that the document may contain sensitive information,
            while the DocumentReference is metadata about the document and thus might
            not be as sensitive as the document. For example: a psychotherapy episode
            may contain highly sensitive information, while the metadata may simply
            indicate that some episode happened.'
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        content:
          description: The document and format referenced.  If there are multiple content
            element repetitions, these must all represent the same document in different
            format, or attachment metadata.
          items:
            $ref: '#/components/schemas/DocumentReference_Content'
          type: array
      type: object
      additionalProperties: false
      required:
      - content
      - resourceType
    DocumentReference_Attester:
      description: A reference to a document of any kind for any purpose. While the
        term “document” implies a more narrow focus, for this resource this "document"
        encompasses *any* serialized object with a mime-type, it includes formal patient-centric
        documents (CDA), clinical notes, scanned paper, non-patient specific documents
        like policy text, as well as a photo, video, or audio recording acquired or
        used in healthcare.  The DocumentReference resource provides metadata about
        the document so that the document can be discovered and managed.  The actual
        content may be inline base64 encoded data or provided by direct reference.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        mode:
          description: The type of attestation the authenticator offers.
          $ref: '#/components/schemas/CodeableConcept'
        time:
          description: When the document was attested by the party.
          $ref: '#/components/schemas/dateTime'
        _time:
          description: Extensions for time
          $ref: '#/components/schemas/Element'
        party:
          description: Who attested the document in the specified way.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - mode
    DocumentReference_RelatesTo:
      description: A reference to a document of any kind for any purpose. While the
        term “document” implies a more narrow focus, for this resource this "document"
        encompasses *any* serialized object with a mime-type, it includes formal patient-centric
        documents (CDA), clinical notes, scanned paper, non-patient specific documents
        like policy text, as well as a photo, video, or audio recording acquired or
        used in healthcare.  The DocumentReference resource provides metadata about
        the document so that the document can be discovered and managed.  The actual
        content may be inline base64 encoded data or provided by direct reference.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: The type of relationship that this document has with anther document.
          $ref: '#/components/schemas/CodeableConcept'
        target:
          description: The target document of this relationship.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - code
      - target
    DocumentReference_Content:
      description: A reference to a document of any kind for any purpose. While the
        term “document” implies a more narrow focus, for this resource this "document"
        encompasses *any* serialized object with a mime-type, it includes formal patient-centric
        documents (CDA), clinical notes, scanned paper, non-patient specific documents
        like policy text, as well as a photo, video, or audio recording acquired or
        used in healthcare.  The DocumentReference resource provides metadata about
        the document so that the document can be discovered and managed.  The actual
        content may be inline base64 encoded data or provided by direct reference.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        attachment:
          description: The document or URL of the document along with critical metadata
            to prove content has integrity.
          $ref: '#/components/schemas/Attachment'
        profile:
          description: An identifier of the document constraints, encoding, structure,
            and template that the document conforms to beyond the base format indicated
            in the mimeType.
          items:
            $ref: '#/components/schemas/DocumentReference_Profile'
          type: array
      type: object
      additionalProperties: false
      required:
      - attachment
    DocumentReference_Profile:
      description: A reference to a document of any kind for any purpose. While the
        term “document” implies a more narrow focus, for this resource this "document"
        encompasses *any* serialized object with a mime-type, it includes formal patient-centric
        documents (CDA), clinical notes, scanned paper, non-patient specific documents
        like policy text, as well as a photo, video, or audio recording acquired or
        used in healthcare.  The DocumentReference resource provides metadata about
        the document so that the document can be discovered and managed.  The actual
        content may be inline base64 encoded data or provided by direct reference.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        valueCoding:
          description: Code|uri|canonical.
          $ref: '#/components/schemas/Coding'
        valueUri:
          description: Code|uri|canonical.
          pattern: ^\S*$
          type: string
        _valueUri:
          description: Extensions for valueUri
          $ref: '#/components/schemas/Element'
        valueCanonical:
          description: Code|uri|canonical.
          pattern: ^\S*$
          type: string
        _valueCanonical:
          description: Extensions for valueCanonical
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Encounter:
      description: An interaction between a patient and healthcare provider(s) for the
        purpose of providing healthcare service(s) or assessing the health status of
        a patient.  Encounter is primarily used to record information about the actual
        activities that occurred, where Appointment is used to record planned activities.
      properties:
        resourceType:
          description: This is a Encounter resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifier(s) by which this encounter is known.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The current state of the encounter (not the state of the patient
            within the encounter - that is subjectState).
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        class:
          description: Concepts representing classification of patient encounter such
            as ambulatory (outpatient), inpatient, emergency, home health or others
            due to local variations.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        priority:
          description: Indicates the urgency of the encounter.
          $ref: '#/components/schemas/CodeableConcept'
        type:
          description: Specific type of encounter (e.g. e-mail consultation, surgical
            day-care, skilled nursing, rehabilitation).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        serviceType:
          description: Broad categorization of the service that is to be provided (e.g.
            cardiology).
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        subject:
          description: The patient or group related to this encounter. In some use-cases
            the patient MAY not be present, such as a case meeting about a patient between
            several practitioners or a careteam.
          $ref: '#/components/schemas/Reference'
        subjectStatus:
          description: The subjectStatus value can be used to track the patient's status
            within the encounter. It details whether the patient has arrived or departed,
            has been triaged or is currently in a waiting status.
          $ref: '#/components/schemas/CodeableConcept'
        episodeOfCare:
          description: Where a specific encounter should be classified as a part of
            a specific episode(s) of care this field should be used. This association
            can facilitate grouping of related encounters together for a specific purpose,
            such as government reporting, issue tracking, association via a common problem.  The
            association is recorded on the encounter as these are typically created
            after the episode of care and grouped on entry rather than editing the episode
            of care to append another encounter to it (the episode of care could span
            years).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        basedOn:
          description: The request this encounter satisfies (e.g. incoming referral
            or procedure request).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        careTeam:
          description: The group(s) of individuals, organizations that are allocated
            to participate in this encounter. The participants backbone will record
            the actuals of when these individuals participated during the encounter.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        partOf:
          description: Another Encounter of which this encounter is a part of (administratively
            or in time).
          $ref: '#/components/schemas/Reference'
        serviceProvider:
          description: The organization that is primarily responsible for this Encounter's
            services. This MAY be the same as the organization on the Patient record,
            however it could be different, such as if the actor performing the services
            was from an external organization (which may be billed seperately) for an
            external consultation.  Refer to the colonoscopy example on the Encounter
            examples tab.
          $ref: '#/components/schemas/Reference'
        participant:
          description: The list of people responsible for providing the service.
          items:
            $ref: '#/components/schemas/Encounter_Participant'
          type: array
        appointment:
          description: The appointment that scheduled this encounter.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        virtualService:
          description: Connection details of a virtual service (e.g. conference call).
          items:
            $ref: '#/components/schemas/VirtualServiceDetail'
          type: array
        actualPeriod:
          description: The actual start and end time of the encounter.
          $ref: '#/components/schemas/Period'
        plannedStartDate:
          description: The planned start date/time (or admission date) of the encounter.
          $ref: '#/components/schemas/dateTime'
        _plannedStartDate:
          description: Extensions for plannedStartDate
          $ref: '#/components/schemas/Element'
        plannedEndDate:
          description: The planned end date/time (or discharge date) of the encounter.
          $ref: '#/components/schemas/dateTime'
        _plannedEndDate:
          description: Extensions for plannedEndDate
          $ref: '#/components/schemas/Element'
        length:
          description: "Actual quantity of time the encounter lasted. This excludes\
            \ the time during leaves of absence.\r\rWhen missing it is the time in between\
            \ the start and end values."
          $ref: '#/components/schemas/Duration'
        reason:
          description: The list of medical reasons that are expected to be addressed
            during the episode of care.
          items:
            $ref: '#/components/schemas/Encounter_Reason'
          type: array
        diagnosis:
          description: The list of diagnosis relevant to this encounter.
          items:
            $ref: '#/components/schemas/Encounter_Diagnosis'
          type: array
        account:
          description: The set of accounts that may be used for billing for this Encounter.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        dietPreference:
          description: Diet preferences reported by the patient.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        specialArrangement:
          description: Any special requests that have been made for this encounter,
            such as the provision of specific equipment or other things.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        specialCourtesy:
          description: Special courtesies that may be provided to the patient during
            the encounter (VIP, board member, professional courtesy).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        admission:
          description: "Details about the stay during which a healthcare service is\
            \ provided.\r\rThis does not describe the event of admitting the patient,\
            \ but rather any information that is relevant from the time of admittance\
            \ until the time of discharge."
          $ref: '#/components/schemas/Encounter_Admission'
        location:
          description: List of locations where  the patient has been during this encounter.
          items:
            $ref: '#/components/schemas/Encounter_Location'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
      - participant
      - subject
      - meta
      - id
      - status
      - class
      - type
    Encounter_Participant:
      description: An interaction between a patient and healthcare provider(s) for the
        purpose of providing healthcare service(s) or assessing the health status of
        a patient.  Encounter is primarily used to record information about the actual
        activities that occurred, where Appointment is used to record planned activities.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Role of participant in encounter.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        period:
          description: The period of time that the specified participant participated
            in the encounter. These can overlap or be sub-sets of the overall encounter's
            period.
          $ref: '#/components/schemas/Period'
        actor:
          description: Person involved in the encounter, the patient/group is also included
            here to indicate that the patient was actually participating in the encounter.
            Not including the patient here covers use cases such as a case meeting between
            practitioners about a patient - non contact times.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    Encounter_Reason:
      description: An interaction between a patient and healthcare provider(s) for the
        purpose of providing healthcare service(s) or assessing the health status of
        a patient.  Encounter is primarily used to record information about the actual
        activities that occurred, where Appointment is used to record planned activities.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        use:
          description: What the reason value should be used as e.g. Chief Complaint,
            Health Concern, Health Maintenance (including screening).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        value:
          description: Reason the encounter takes place, expressed as a code or a reference
            to another resource. For admissions, this can be used for a coded admission
            diagnosis.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
      type: object
      additionalProperties: false
    Encounter_Diagnosis:
      description: An interaction between a patient and healthcare provider(s) for the
        purpose of providing healthcare service(s) or assessing the health status of
        a patient.  Encounter is primarily used to record information about the actual
        activities that occurred, where Appointment is used to record planned activities.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        condition:
          description: The coded diagnosis or a reference to a Condition (with other
            resources referenced in the evidence.detail), the use property will indicate
            the purpose of this specific diagnosis.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        use:
          description: Role that this diagnosis has within the encounter (e.g. admission,
            billing, discharge …).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
    Encounter_Admission:
      description: An interaction between a patient and healthcare provider(s) for the
        purpose of providing healthcare service(s) or assessing the health status of
        a patient.  Encounter is primarily used to record information about the actual
        activities that occurred, where Appointment is used to record planned activities.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        preAdmissionIdentifier:
          description: Pre-admission identifier.
          $ref: '#/components/schemas/Identifier'
        origin:
          description: The location/organization from which the patient came before
            admission.
          $ref: '#/components/schemas/Reference'
        admitSource:
          description: From where patient was admitted (physician referral, transfer).
          $ref: '#/components/schemas/CodeableConcept'
        reAdmission:
          description: Indicates that this encounter is directly related to a prior
            admission, often because the conditions addressed in the prior admission
            were not fully addressed.
          $ref: '#/components/schemas/CodeableConcept'
        destination:
          description: Location/organization to which the patient is discharged.
          $ref: '#/components/schemas/Reference'
        dischargeDisposition:
          description: Category or kind of location after discharge.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    Encounter_Location:
      description: An interaction between a patient and healthcare provider(s) for the
        purpose of providing healthcare service(s) or assessing the health status of
        a patient.  Encounter is primarily used to record information about the actual
        activities that occurred, where Appointment is used to record planned activities.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        location:
          description: The location where the encounter takes place.
          $ref: '#/components/schemas/Reference'
        status:
          description: The status of the participants' presence at the specified location
            during the period specified. If the participant is no longer at the location,
            then the period will have an end date/time.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        form:
          description: This will be used to specify the required levels (bed/ward/room/etc.)
            desired to be recorded to simplify either messaging or query.
          $ref: '#/components/schemas/CodeableConcept'
        period:
          description: Time period during which the patient was present at the location.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - location
    EncounterHistory:
      description: A record of significant events/milestones key data throughout the
        history of an Encounter, often tracked for specific purposes such as billing.
      properties:
        resourceType:
          description: This is a EncounterHistory resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        encounter:
          description: The Encounter associated with this set of historic values.
          $ref: '#/components/schemas/Reference'
        identifier:
          description: Identifier(s) by which this encounter is known.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: planned | in-progress | on-hold | discharged | completed | cancelled
            | discontinued | entered-in-error | unknown.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        class:
          description: Concepts representing classification of patient encounter such
            as ambulatory (outpatient), inpatient, emergency, home health or others
            due to local variations.
          $ref: '#/components/schemas/CodeableConcept'
        type:
          description: Specific type of encounter (e.g. e-mail consultation, surgical
            day-care, skilled nursing, rehabilitation).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        serviceType:
          description: Broad categorization of the service that is to be provided (e.g.
            cardiology).
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        subject:
          description: The patient or group related to this encounter. In some use-cases
            the patient MAY not be present, such as a case meeting about a patient between
            several practitioners or a careteam.
          $ref: '#/components/schemas/Reference'
        subjectStatus:
          description: The subjectStatus value can be used to track the patient's status
            within the encounter. It details whether the patient has arrived or departed,
            has been triaged or is currently in a waiting status.
          $ref: '#/components/schemas/CodeableConcept'
        actualPeriod:
          description: The start and end time associated with this set of values associated
            with the encounter, may be different to the planned times for various reasons.
          $ref: '#/components/schemas/Period'
        plannedStartDate:
          description: The planned start date/time (or admission date) of the encounter.
          $ref: '#/components/schemas/dateTime'
        _plannedStartDate:
          description: Extensions for plannedStartDate
          $ref: '#/components/schemas/Element'
        plannedEndDate:
          description: The planned end date/time (or discharge date) of the encounter.
          $ref: '#/components/schemas/dateTime'
        _plannedEndDate:
          description: Extensions for plannedEndDate
          $ref: '#/components/schemas/Element'
        length:
          description: "Actual quantity of time the encounter lasted. This excludes\
            \ the time during leaves of absence.\r\rWhen missing it is the time in between\
            \ the start and end values."
          $ref: '#/components/schemas/Duration'
        location:
          description: The location of the patient at this point in the encounter, the
            multiple cardinality permits de-normalizing the levels of the location hierarchy,
            such as site/ward/room/bed.
          items:
            $ref: '#/components/schemas/EncounterHistory_Location'
          type: array
      type: object
      additionalProperties: false
      required:
      - class
      - resourceType
    EncounterHistory_Location:
      description: A record of significant events/milestones key data throughout the
        history of an Encounter, often tracked for specific purposes such as billing.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        location:
          description: The location where the encounter takes place.
          $ref: '#/components/schemas/Reference'
        form:
          description: This will be used to specify the required levels (bed/ward/room/etc.)
            desired to be recorded to simplify either messaging or query.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - location
    Endpoint:
      description: The technical details of an endpoint that can be used for electronic
        services, such as for web services providing XDS.b, a REST endpoint for another
        FHIR server, or a s/Mime email address. This may include any security context
        information.
      properties:
        resourceType:
          description: This is a Endpoint resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifier for the organization that is used to identify the
            endpoint across multiple disparate systems.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The endpoint status represents whether the endpoint can currently
            be used for connections or why it can't be used.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        connectionType:
          description: A coded value that represents the technical details of the usage
            of this endpoint, such as what WSDLs should be used in what way. (e.g. XDS.b/DICOM/cds-hook).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        name:
          description: A friendly name that this endpoint can be referred to with.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        description:
          description: The description of the endpoint and what it is for (typically
            used as supplemental information in an endpoint directory describing its
            usage/purpose).
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        environmentType:
          description: The type of environment(s) exposed at this endpoint (dev, prod,
            test, etc.).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        managingOrganization:
          description: The organization that manages this endpoint (even if technically
            another organization is hosting this in the cloud, it is the organization
            associated with the data).
          $ref: '#/components/schemas/Reference'
        contact:
          description: Contact details for a human to contact about the endpoint. The
            primary use of this for system administrator troubleshooting.
          items:
            $ref: '#/components/schemas/ContactPoint'
          type: array
        period:
          description: The interval during which the endpoint is expected to be operational.
          $ref: '#/components/schemas/Period'
        availability:
          description: The times the endpoint is expected to be available, including
            transient downtimes and any exceptions.
          $ref: '#/components/schemas/Availability'
        payload:
          description: The set of payloads that are provided/available at this endpoint.
          items:
            $ref: '#/components/schemas/Endpoint_Payload'
          type: array
        address:
          description: The uri that describes the actual end-point to connect to.
          $ref: '#/components/schemas/url'
        _address:
          description: Extensions for address
          $ref: '#/components/schemas/Element'
        header:
          description: Additional headers / information to send as part of the notification.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _header:
          description: Extensions for header
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
      required:
      - connectionType
      - resourceType
    Endpoint_Payload:
      description: The technical details of an endpoint that can be used for electronic
        services, such as for web services providing XDS.b, a REST endpoint for another
        FHIR server, or a s/Mime email address. This may include any security context
        information.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The payload type describes the acceptable content that can be
            communicated on the endpoint.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        mimeType:
          description: The mime type to send the payload in - e.g. application/fhir+xml,
            application/fhir+json. If the mime type is not specified, then the sender
            could send any content (including no content depending on the connectionType).
          items:
            $ref: '#/components/schemas/code'
          type: array
        _mimeType:
          description: Extensions for mimeType
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
    EnrollmentRequest:
      description: This resource provides the insurance enrollment details to the insurer
        regarding a specified coverage.
      properties:
        resourceType:
          description: This is a EnrollmentRequest resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: The Response business identifier.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The status of the resource instance.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        created:
          description: The date when this resource was created.
          $ref: '#/components/schemas/dateTime'
        _created:
          description: Extensions for created
          $ref: '#/components/schemas/Element'
        insurer:
          description: The Insurer who is target  of the request.
          $ref: '#/components/schemas/Reference'
        provider:
          description: The practitioner who is responsible for the services rendered
            to the patient.
          $ref: '#/components/schemas/Reference'
        candidate:
          description: Patient Resource.
          $ref: '#/components/schemas/Reference'
        coverage:
          description: Reference to the program or plan identification, underwriter
            or payor.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - resourceType
    EnrollmentResponse:
      description: This resource provides enrollment and plan details from the processing
        of an EnrollmentRequest resource.
      properties:
        resourceType:
          description: This is a EnrollmentResponse resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: The Response business identifier.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The status of the resource instance.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        request:
          description: Original request resource reference.
          $ref: '#/components/schemas/Reference'
        outcome:
          description: 'Processing status: error, complete.'
          $ref: '#/components/schemas/code'
        _outcome:
          description: Extensions for outcome
          $ref: '#/components/schemas/Element'
        disposition:
          description: A description of the status of the adjudication.
          $ref: '#/components/schemas/string'
        _disposition:
          description: Extensions for disposition
          $ref: '#/components/schemas/Element'
        created:
          description: The date when the enclosed suite of services were performed or
            completed.
          $ref: '#/components/schemas/dateTime'
        _created:
          description: Extensions for created
          $ref: '#/components/schemas/Element'
        organization:
          description: The Insurer who produced this adjudicated response.
          $ref: '#/components/schemas/Reference'
        requestProvider:
          description: The practitioner who is responsible for the services rendered
            to the patient.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - resourceType
    EpisodeOfCare:
      description: An association between a patient and an organization / healthcare
        provider(s) during which time encounters may occur. The managing organization
        assumes a level of responsibility for the patient during this time.
      properties:
        resourceType:
          description: This is a EpisodeOfCare resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: The EpisodeOfCare may be known by different identifiers for different
            contexts of use, such as when an external agency is tracking the Episode
            for funding purposes.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: planned | waitlist | active | onhold | finished | cancelled.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        statusHistory:
          description: The history of statuses that the EpisodeOfCare has been through
            (without requiring processing the history of the resource).
          items:
            $ref: '#/components/schemas/EpisodeOfCare_StatusHistory'
          type: array
        type:
          description: A classification of the type of episode of care; e.g. specialist
            referral, disease management, type of funded care.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        reason:
          description: The list of medical reasons that are expected to be addressed
            during the episode of care.
          items:
            $ref: '#/components/schemas/EpisodeOfCare_Reason'
          type: array
        diagnosis:
          description: The list of medical conditions that were addressed during the
            episode of care.
          items:
            $ref: '#/components/schemas/EpisodeOfCare_Diagnosis'
          type: array
        patient:
          description: The patient who is the focus of this episode of care.
          $ref: '#/components/schemas/Reference'
        managingOrganization:
          description: The organization that has assumed the specific responsibilities
            for care coordination, care delivery, or other services for the specified
            duration.
          $ref: '#/components/schemas/Reference'
        period:
          description: The interval during which the managing organization assumes the
            defined responsibility.
          $ref: '#/components/schemas/Period'
        referralRequest:
          description: Referral Request(s) that are fulfilled by this EpisodeOfCare,
            incoming referrals.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        careManager:
          description: The practitioner that is the care manager/care coordinator for
            this patient.
          $ref: '#/components/schemas/Reference'
        careTeam:
          description: The list of practitioners that may be facilitating this episode
            of care for specific purposes.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        account:
          description: The set of accounts that may be used for billing for this EpisodeOfCare.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - patient
      - resourceType
    EpisodeOfCare_StatusHistory:
      description: An association between a patient and an organization / healthcare
        provider(s) during which time encounters may occur. The managing organization
        assumes a level of responsibility for the patient during this time.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        status:
          description: planned | waitlist | active | onhold | finished | cancelled.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        period:
          description: The period during this EpisodeOfCare that the specific status
            applied.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - period
    EpisodeOfCare_Reason:
      description: An association between a patient and an organization / healthcare
        provider(s) during which time encounters may occur. The managing organization
        assumes a level of responsibility for the patient during this time.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        use:
          description: What the reason value should be used as e.g. Chief Complaint,
            Health Concern, Health Maintenance (including screening).
          $ref: '#/components/schemas/CodeableConcept'
        value:
          description: The medical reason that is expected to be addressed during the
            episode of care, expressed as a text, code or a reference to another resource.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
      type: object
      additionalProperties: false
    EpisodeOfCare_Diagnosis:
      description: An association between a patient and an organization / healthcare
        provider(s) during which time encounters may occur. The managing organization
        assumes a level of responsibility for the patient during this time.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        condition:
          description: The medical condition that was addressed during the episode of
            care, expressed as a text, code or a reference to another resource.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        use:
          description: Role that this diagnosis has within the episode of care (e.g.
            admission, billing, discharge …).
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    EventDefinition:
      description: The EventDefinition resource provides a reusable description of when
        a particular event can occur.
      properties:
        resourceType:
          description: This is a EventDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this event definition
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this event
            definition is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the event definition is stored
            on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this event definition
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the event
            definition when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the event definition author and is
            not expected to be globally unique. For example, it might be a timestamp
            (e.g. yyyymmdd) if a managed version is not available. There is also no
            expectation that versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the event definition. This
            name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the event definition.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this event definition. Enables tracking the life-cycle
            of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this event definition is authored
            for testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the event definition was
            last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the event definition changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the event definition.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the event definition
            from a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            event definition instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the event definition is
            intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this event definition is needed and why it
            has been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the event definition and/or
            its contents. Copyright statements are generally legal restrictions on the
            use and publishing of the event definition.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the event definition content was or is
            planned to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptive topics related to the module. Topics provide a high-level
            categorization of the module that can be useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual or organization primarily involved in the creation
            and maintenance of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individual or organization primarily responsible for internal
            coherence of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individual or organization asserted by the publisher to be
            primarily responsible for review of some aspect of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individual or organization asserted by the publisher to be
            responsible for officially endorsing the content for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Related resources such as additional documentation, justification,
            or bibliographic references.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        subtitle:
          description: An explanatory or alternate title for the event definition giving
            additional information about its content.
          $ref: '#/components/schemas/string'
        _subtitle:
          description: Extensions for subtitle
          $ref: '#/components/schemas/Element'
        subjectCodeableConcept:
          description: A code or group definition that describes the intended subject
            of the event definition.
          $ref: '#/components/schemas/CodeableConcept'
        subjectReference:
          description: A code or group definition that describes the intended subject
            of the event definition.
          $ref: '#/components/schemas/Reference'
        usage:
          description: A detailed description of how the event definition is used from
            a clinical perspective.
          $ref: '#/components/schemas/markdown'
        _usage:
          description: Extensions for usage
          $ref: '#/components/schemas/Element'
        trigger:
          description: The trigger element defines when the event occurs. If more than
            one trigger condition is specified, the event fires whenever any one of
            the trigger conditions is met.
          items:
            $ref: '#/components/schemas/TriggerDefinition'
          type: array
      type: object
      additionalProperties: false
      required:
      - trigger
      - resourceType
    Evidence:
      description: The Evidence Resource provides a machine-interpretable expression
        of an evidence concept including the evidence variables (e.g., population, exposures/interventions,
        comparators, outcomes, measured variables, confounding variables), the statistics,
        and the certainty of this evidence.
      properties:
        resourceType:
          description: This is a Evidence resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this evidence when it
            is referenced in a specification, model, design or an instance; also called
            its canonical identifier. This SHOULD be globally unique and SHOULD be a
            literal address at which an authoritative instance of this summary is (or
            will be) published. This URL can be the target of a canonical reference.
            It SHALL remain the same when the summary is stored on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this summary when
            it is represented in other formats, or referenced in a specification, model,
            design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the summary
            when it is referenced in a specification, model, design or instance. This
            is an arbitrary value managed by the summary author and is not expected
            to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd)
            if a managed version is not available. There is also no expectation that
            versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the evidence. This name should
            be usable as an identifier for the module by machine processing applications
            such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the summary.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this summary. Enables tracking the life-cycle of
            the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this resource is authored for
            testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the summary was last significantly
            changed. The date must change when the business version changes and it must
            change if the status code changes. In addition, it should change when the
            substantive content of the summary changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the evidence.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the evidence from
            a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            evidence instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the {{title}} is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this Evidence is needed and why it has been
            designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the Evidence and/or its contents.
            Copyright statements are generally legal restrictions on the use and publishing
            of the Evidence.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the {{title}} content was or is planned
            to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptive topics related to the content of the {{title}}. Topics
            provide a high-level categorization as well as keywords for the {{title}}
            that can be useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual, organization, or device primarily involved in
            the creation and maintenance of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individiual, organization, or device primarily responsible
            for internal coherence of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individiual, organization, or device primarily responsible
            for review of some aspect of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individiual, organization, or device responsible for officially
            endorsing the content for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Link or citation to artifact associated with the summary.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        citeAsReference:
          description: Citation Resource or display of suggested citation for this evidence.
          $ref: '#/components/schemas/Reference'
        citeAsMarkdown:
          description: Citation Resource or display of suggested citation for this evidence.
          pattern: ^^[\s\S]+$$
          type: string
        _citeAsMarkdown:
          description: Extensions for citeAsMarkdown
          $ref: '#/components/schemas/Element'
        assertion:
          description: Declarative description of the Evidence.
          $ref: '#/components/schemas/markdown'
        _assertion:
          description: Extensions for assertion
          $ref: '#/components/schemas/Element'
        note:
          description: Footnotes and/or explanatory notes.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        variableDefinition:
          description: Evidence variable such as population, exposure, or outcome.
          items:
            $ref: '#/components/schemas/Evidence_VariableDefinition'
          type: array
        synthesisType:
          description: The method to combine studies.
          $ref: '#/components/schemas/CodeableConcept'
        studyDesign:
          description: The design of the study that produced this evidence. The design
            is described with any number of study design characteristics.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        statistic:
          description: Values and parameters for a single statistic.
          items:
            $ref: '#/components/schemas/Evidence_Statistic'
          type: array
        certainty:
          description: Assessment of certainty, confidence in the estimates, or quality
            of the evidence.
          items:
            $ref: '#/components/schemas/Evidence_Certainty'
          type: array
      type: object
      additionalProperties: false
      required:
      - variableDefinition
      - resourceType
    Evidence_VariableDefinition:
      description: The Evidence Resource provides a machine-interpretable expression
        of an evidence concept including the evidence variables (e.g., population, exposures/interventions,
        comparators, outcomes, measured variables, confounding variables), the statistics,
        and the certainty of this evidence.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: A text description or summary of the variable.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        note:
          description: Footnotes and/or explanatory notes.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        variableRole:
          description: population | subpopulation | exposure | referenceExposure | measuredVariable
            | confounder.
          $ref: '#/components/schemas/CodeableConcept'
        observed:
          description: Definition of the actual variable related to the statistic(s).
          $ref: '#/components/schemas/Reference'
        intended:
          description: Definition of the intended variable related to the Evidence.
          $ref: '#/components/schemas/Reference'
        directnessMatch:
          description: Indication of quality of match between intended variable to actual
            variable.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - variableRole
    Evidence_Statistic:
      description: The Evidence Resource provides a machine-interpretable expression
        of an evidence concept including the evidence variables (e.g., population, exposures/interventions,
        comparators, outcomes, measured variables, confounding variables), the statistics,
        and the certainty of this evidence.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: A description of the content value of the statistic.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        note:
          description: Footnotes and/or explanatory notes.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        statisticType:
          description: Type of statistic, e.g., relative risk.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: When the measured variable is handled categorically, the category
            element is used to define which category the statistic is reporting.
          $ref: '#/components/schemas/CodeableConcept'
        quantity:
          description: Statistic value.
          $ref: '#/components/schemas/Quantity'
        numberOfEvents:
          description: The number of events associated with the statistic, where the
            unit of analysis is different from numberAffected, sampleSize.knownDataCount
            and sampleSize.numberOfParticipants.
          $ref: '#/components/schemas/unsignedInt'
        _numberOfEvents:
          description: Extensions for numberOfEvents
          $ref: '#/components/schemas/Element'
        numberAffected:
          description: The number of participants affected where the unit of analysis
            is the same as sampleSize.knownDataCount and sampleSize.numberOfParticipants.
          $ref: '#/components/schemas/unsignedInt'
        _numberAffected:
          description: Extensions for numberAffected
          $ref: '#/components/schemas/Element'
        sampleSize:
          description: Number of samples in the statistic.
          $ref: '#/components/schemas/Evidence_SampleSize'
        attributeEstimate:
          description: A statistical attribute of the statistic such as a measure of
            heterogeneity.
          items:
            $ref: '#/components/schemas/Evidence_AttributeEstimate'
          type: array
        modelCharacteristic:
          description: A component of the method to generate the statistic.
          items:
            $ref: '#/components/schemas/Evidence_ModelCharacteristic'
          type: array
      type: object
      additionalProperties: false
    Evidence_SampleSize:
      description: The Evidence Resource provides a machine-interpretable expression
        of an evidence concept including the evidence variables (e.g., population, exposures/interventions,
        comparators, outcomes, measured variables, confounding variables), the statistics,
        and the certainty of this evidence.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: Human-readable summary of population sample size.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        note:
          description: Footnote or explanatory note about the sample size.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        numberOfStudies:
          description: Number of participants in the population.
          $ref: '#/components/schemas/unsignedInt'
        _numberOfStudies:
          description: Extensions for numberOfStudies
          $ref: '#/components/schemas/Element'
        numberOfParticipants:
          description: A human-readable string to clarify or explain concepts about
            the sample size.
          $ref: '#/components/schemas/unsignedInt'
        _numberOfParticipants:
          description: Extensions for numberOfParticipants
          $ref: '#/components/schemas/Element'
        knownDataCount:
          description: Number of participants with known results for measured variables.
          $ref: '#/components/schemas/unsignedInt'
        _knownDataCount:
          description: Extensions for knownDataCount
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Evidence_AttributeEstimate:
      description: The Evidence Resource provides a machine-interpretable expression
        of an evidence concept including the evidence variables (e.g., population, exposures/interventions,
        comparators, outcomes, measured variables, confounding variables), the statistics,
        and the certainty of this evidence.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: Human-readable summary of the estimate.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        note:
          description: Footnote or explanatory note about the estimate.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        type:
          description: The type of attribute estimate, e.g., confidence interval or
            p value.
          $ref: '#/components/schemas/CodeableConcept'
        quantity:
          description: The singular quantity of the attribute estimate, for attribute
            estimates represented as single values; also used to report unit of measure.
          $ref: '#/components/schemas/Quantity'
        level:
          description: Use 95 for a 95% confidence interval.
          $ref: '#/components/schemas/decimal'
        _level:
          description: Extensions for level
          $ref: '#/components/schemas/Element'
        range:
          description: Lower bound of confidence interval.
          $ref: '#/components/schemas/Range'
        attributeEstimate:
          description: A nested attribute estimate; which is the attribute estimate
            of an attribute estimate.
          items:
            $ref: '#/components/schemas/Evidence_AttributeEstimate'
          type: array
      type: object
      additionalProperties: false
    Evidence_ModelCharacteristic:
      description: The Evidence Resource provides a machine-interpretable expression
        of an evidence concept including the evidence variables (e.g., population, exposures/interventions,
        comparators, outcomes, measured variables, confounding variables), the statistics,
        and the certainty of this evidence.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Description of a component of the method to generate the statistic.
          $ref: '#/components/schemas/CodeableConcept'
        value:
          description: Further specification of the quantified value of the component
            of the method to generate the statistic.
          $ref: '#/components/schemas/Quantity'
        variable:
          description: A variable adjusted for in the adjusted analysis.
          items:
            $ref: '#/components/schemas/Evidence_Variable'
          type: array
        attributeEstimate:
          description: An attribute of the statistic used as a model characteristic.
          items:
            $ref: '#/components/schemas/Evidence_AttributeEstimate'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
    Evidence_Variable:
      description: The Evidence Resource provides a machine-interpretable expression
        of an evidence concept including the evidence variables (e.g., population, exposures/interventions,
        comparators, outcomes, measured variables, confounding variables), the statistics,
        and the certainty of this evidence.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        variableDefinition:
          description: Description of the variable.
          $ref: '#/components/schemas/Reference'
        handling:
          description: How the variable is classified for use in adjusted analysis.
          $ref: '#/components/schemas/code'
        _handling:
          description: Extensions for handling
          $ref: '#/components/schemas/Element'
        valueCategory:
          description: Description for grouping of ordinal or polychotomous variables.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        valueQuantity:
          description: Discrete value for grouping of ordinal or polychotomous variables.
          items:
            $ref: '#/components/schemas/Quantity'
          type: array
        valueRange:
          description: Range of values for grouping of ordinal or polychotomous variables.
          items:
            $ref: '#/components/schemas/Range'
          type: array
      type: object
      additionalProperties: false
      required:
      - variableDefinition
    Evidence_Certainty:
      description: The Evidence Resource provides a machine-interpretable expression
        of an evidence concept including the evidence variables (e.g., population, exposures/interventions,
        comparators, outcomes, measured variables, confounding variables), the statistics,
        and the certainty of this evidence.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: Textual description of certainty.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        note:
          description: Footnotes and/or explanatory notes.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        type:
          description: Aspect of certainty being rated.
          $ref: '#/components/schemas/CodeableConcept'
        rating:
          description: Assessment or judgement of the aspect.
          $ref: '#/components/schemas/CodeableConcept'
        rater:
          description: Individual or group who did the rating.
          $ref: '#/components/schemas/string'
        _rater:
          description: Extensions for rater
          $ref: '#/components/schemas/Element'
        subcomponent:
          description: A domain or subdomain of certainty.
          items:
            $ref: '#/components/schemas/Evidence_Certainty'
          type: array
      type: object
      additionalProperties: false
    EvidenceReport:
      description: The EvidenceReport Resource is a specialized container for a collection
        of resources and codeable concepts, adapted to support compositions of Evidence,
        EvidenceVariable, and Citation resources and related concepts.
      properties:
        resourceType:
          description: This is a EvidenceReport resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this EvidenceReport
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this summary
            is (or will be) published. This URL can be the target of a canonical reference.
            It SHALL remain the same when the summary is stored on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this EvidenceReport
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the {{title}}
            when it is referenced in a specification, model, design or instance. This
            is an arbitrary value managed by the {{title}} author and is not expected
            to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd)
            if a managed version is not available. There is also no expectation that
            versions can be placed in a lexicographical sequence without additional
            knowledge.  (See the versionAlgorithm element.)
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the {{title}}. This name
            should be usable as an identifier for the resource by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the {{title}}.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this summary. Enables tracking the life-cycle of
            the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this {{title}} is authored for
            testing purposes (or education/evaluation/marketing) and is not intended
            for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date (and optionally time) when the {{title}} was last significantly
            changed. The date must change when the business version changes and it must
            change if the status code changes. In addition, it should change when the
            substantive content of the {{title}} changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the evidence report.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the {{title}} from
            a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            evidence report instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the {{title}} is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this {{title}} is needed and why it has been
            designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the {{title}} and/or its contents.
            Copyright statements are generally legal restrictions on the use and publishing
            of the {{title}}.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the {{title}} content was or is planned
            to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptive topics related to the content of the {{title}}. Topics
            provide a high-level categorization as well as keywords for the {{title}}
            that can be useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual, organization, or device primarily involved in
            the creation and maintenance of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individiual, organization, or device primarily responsible
            for internal coherence of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individiual, organization, or device primarily responsible
            for review of some aspect of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individiual, organization, or device responsible for officially
            endorsing the content for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Link, description or reference to artifact associated with the
            report.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        relatedIdentifier:
          description: A formal identifier that is used to identify things closely related
            to this EvidenceReport.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        citeAsReference:
          description: Citation Resource or display of suggested citation for this report.
          $ref: '#/components/schemas/Reference'
        citeAsMarkdown:
          description: Citation Resource or display of suggested citation for this report.
          pattern: ^^[\s\S]+$$
          type: string
        _citeAsMarkdown:
          description: Extensions for citeAsMarkdown
          $ref: '#/components/schemas/Element'
        type:
          description: Specifies the kind of report, such as grouping of classifiers,
            search results, or human-compiled expression.
          $ref: '#/components/schemas/CodeableConcept'
        note:
          description: Used for footnotes and annotations.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        subject:
          description: Specifies the subject or focus of the report. Answers "What is
            this report about?".
          $ref: '#/components/schemas/EvidenceReport_Subject'
        relatesTo:
          description: Relationships that this composition has with other compositions
            or documents that already exist.
          items:
            $ref: '#/components/schemas/EvidenceReport_RelatesTo'
          type: array
        section:
          description: The root of the sections that make up the composition.
          items:
            $ref: '#/components/schemas/EvidenceReport_Section'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - resourceType
    EvidenceReport_Subject:
      description: The EvidenceReport Resource is a specialized container for a collection
        of resources and codeable concepts, adapted to support compositions of Evidence,
        EvidenceVariable, and Citation resources and related concepts.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        characteristic:
          description: Characteristic.
          items:
            $ref: '#/components/schemas/EvidenceReport_Characteristic'
          type: array
        note:
          description: Used for general notes and annotations not coded elsewhere.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
    EvidenceReport_Characteristic:
      description: The EvidenceReport Resource is a specialized container for a collection
        of resources and codeable concepts, adapted to support compositions of Evidence,
        EvidenceVariable, and Citation resources and related concepts.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Characteristic code.
          $ref: '#/components/schemas/CodeableConcept'
        valueReference:
          description: Characteristic value.
          $ref: '#/components/schemas/Reference'
        valueCodeableConcept:
          description: Characteristic value.
          $ref: '#/components/schemas/CodeableConcept'
        valueBoolean:
          description: Characteristic value.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueQuantity:
          description: Characteristic value.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: Characteristic value.
          $ref: '#/components/schemas/Range'
        exclude:
          description: Is used to express not the characteristic.
          $ref: '#/components/schemas/boolean'
        _exclude:
          description: Extensions for exclude
          $ref: '#/components/schemas/Element'
        period:
          description: Timeframe for the characteristic.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - code
    EvidenceReport_RelatesTo:
      description: The EvidenceReport Resource is a specialized container for a collection
        of resources and codeable concepts, adapted to support compositions of Evidence,
        EvidenceVariable, and Citation resources and related concepts.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: The type of relationship that this composition has with anther
            composition or document.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        target:
          description: The target composition/document of this relationship.
          $ref: '#/components/schemas/EvidenceReport_Target'
      type: object
      additionalProperties: false
      required:
      - target
    EvidenceReport_Target:
      description: The EvidenceReport Resource is a specialized container for a collection
        of resources and codeable concepts, adapted to support compositions of Evidence,
        EvidenceVariable, and Citation resources and related concepts.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: Target of the relationship URL.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: Target of the relationship Identifier.
          $ref: '#/components/schemas/Identifier'
        display:
          description: Target of the relationship Display.
          $ref: '#/components/schemas/markdown'
        _display:
          description: Extensions for display
          $ref: '#/components/schemas/Element'
        resource:
          description: Target of the relationship Resource reference.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    EvidenceReport_Section:
      description: The EvidenceReport Resource is a specialized container for a collection
        of resources and codeable concepts, adapted to support compositions of Evidence,
        EvidenceVariable, and Citation resources and related concepts.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        title:
          description: The label for this particular section.  This will be part of
            the rendered content for the document, and is often used to build a table
            of contents.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        focus:
          description: A code identifying the kind of content contained within the section.
            This should be consistent with the section title.
          $ref: '#/components/schemas/CodeableConcept'
        focusReference:
          description: A definitional Resource identifying the kind of content contained
            within the section. This should be consistent with the section title.
          $ref: '#/components/schemas/Reference'
        author:
          description: Identifies who is responsible for the information in this section,
            not necessarily who typed it in.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        text:
          description: A human-readable narrative that contains the attested content
            of the section, used to represent the content of the resource to a human.
            The narrative need not encode all the structured data, but is peferred to
            contain sufficient detail to make it acceptable for a human to just read
            the narrative.
          $ref: '#/components/schemas/Narrative'
        mode:
          description: How the entry list was prepared - whether it is a working list
            that is suitable for being maintained on an ongoing basis, or if it represents
            a snapshot of a list of items from another source, or whether it is a prepared
            list where items may be marked as added, modified or deleted.
          $ref: '#/components/schemas/code'
        _mode:
          description: Extensions for mode
          $ref: '#/components/schemas/Element'
        orderedBy:
          description: Specifies the order applied to the items in the section entries.
          $ref: '#/components/schemas/CodeableConcept'
        entryClassifier:
          description: Specifies any type of classification of the evidence report.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        entryReference:
          description: A reference to the actual resource from which the narrative in
            the section is derived.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        entryQuantity:
          description: Quantity as content.
          items:
            $ref: '#/components/schemas/Quantity'
          type: array
        emptyReason:
          description: If the section is empty, why the list is empty. An empty section
            typically has some text explaining the empty reason.
          $ref: '#/components/schemas/CodeableConcept'
        section:
          description: A nested sub-section within this section.
          items:
            $ref: '#/components/schemas/EvidenceReport_Section'
          type: array
      type: object
      additionalProperties: false
    EvidenceVariable:
      description: The EvidenceVariable resource describes an element that knowledge
        (Evidence) is about.
      properties:
        resourceType:
          description: This is a EvidenceVariable resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this evidence variable
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this evidence
            variable is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the evidence variable is stored
            on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this evidence variable
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the evidence
            variable when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the evidence variable author and is
            not expected to be globally unique. For example, it might be a timestamp
            (e.g. yyyymmdd) if a managed version is not available. There is also no
            expectation that versions can be placed in a lexicographical sequence. To
            provide a version consistent with the Decision Support Service specification,
            use the format Major.Minor.Revision (e.g. 1.0.0). For more information on
            versioning knowledge assets, refer to the Decision Support Service specification.
            Note that a version is required for non-experimental active artifacts.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the evidence variable. This
            name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the evidence variable.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this evidence variable. Enables tracking the life-cycle
            of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this resource is authored for
            testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the evidence variable was
            last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the evidence variable changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the evidence variable.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the evidence variable
            from a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            evidence variable instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the {{title}} is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this EvidenceVariable is needed and why it
            has been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the resource and/or its contents.
            Copyright statements are generally legal restrictions on the use and publishing
            of the resource.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: 'The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.


            See guidance around (not) making local changes to elements [here](canonicalresource.html#localization).'
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the resource content was or is planned
            to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptive topics related to the content of the {{title}}. Topics
            provide a high-level categorization as well as keywords for the {{title}}
            that can be useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual or organization primarily involved in the creation
            and maintenance of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individual or organization primarily responsible for internal
            coherence of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individual or organization asserted by the publisher to be
            primarily responsible for review of some aspect of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individual or organization asserted by the publisher to be
            responsible for officially endorsing the content for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Related artifacts such as additional documentation, justification,
            or bibliographic references.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        shortTitle:
          description: The short title provides an alternate title for use in informal
            descriptive contexts where the full, formal title is not necessary.
          $ref: '#/components/schemas/string'
        _shortTitle:
          description: Extensions for shortTitle
          $ref: '#/components/schemas/Element'
        note:
          description: A human-readable string to clarify or explain concepts about
            the resource.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        actual:
          description: True if the actual variable measured, false if a conceptual representation
            of the intended variable.
          $ref: '#/components/schemas/boolean'
        _actual:
          description: Extensions for actual
          $ref: '#/components/schemas/Element'
        characteristic:
          description: A defining factor of the EvidenceVariable. Multiple characteristics
            are applied with "and" semantics.
          items:
            $ref: '#/components/schemas/EvidenceVariable_Characteristic'
          type: array
        handling:
          description: The method of handling in statistical analysis.
          $ref: '#/components/schemas/code'
        _handling:
          description: Extensions for handling
          $ref: '#/components/schemas/Element'
        category:
          description: A grouping for ordinal or polychotomous variables.
          items:
            $ref: '#/components/schemas/EvidenceVariable_Category'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    EvidenceVariable_Characteristic:
      description: The EvidenceVariable resource describes an element that knowledge
        (Evidence) is about.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkId:
          description: Label used for when a characteristic refers to another characteristic.
          $ref: '#/components/schemas/id'
        _linkId:
          description: Extensions for linkId
          $ref: '#/components/schemas/Element'
        description:
          description: A short, natural language description of the characteristic that
            could be used to communicate the criteria to an end-user.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        note:
          description: A human-readable string to clarify or explain concepts about
            the characteristic.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        exclude:
          description: When true, this characteristic is an exclusion criterion. In
            other words, not matching this characteristic definition is equivalent to
            meeting this criterion.
          $ref: '#/components/schemas/boolean'
        _exclude:
          description: Extensions for exclude
          $ref: '#/components/schemas/Element'
        definitionReference:
          description: Defines the characteristic using a Reference.
          $ref: '#/components/schemas/Reference'
        definitionCanonical:
          description: Defines the characteristic using Canonical.
          $ref: '#/components/schemas/canonical'
        definitionCodeableConcept:
          description: Defines the characteristic using CodeableConcept.
          $ref: '#/components/schemas/CodeableConcept'
        definitionExpression:
          description: Defines the characteristic using Expression.
          $ref: '#/components/schemas/Expression'
        definitionId:
          description: Defines the characteristic using id.
          $ref: '#/components/schemas/id'
        _definitionId:
          description: Extensions for definitionId
          $ref: '#/components/schemas/Element'
        definitionByTypeAndValue:
          description: Defines the characteristic using both a type and value[x] elements.
          $ref: '#/components/schemas/EvidenceVariable_DefinitionByTypeAndValue'
        definitionByCombination:
          description: Defines the characteristic as a combination of two or more characteristics.
          $ref: '#/components/schemas/EvidenceVariable_DefinitionByCombination'
        instancesQuantity:
          description: Number of occurrences meeting the characteristic.
          $ref: '#/components/schemas/Quantity'
        instancesRange:
          description: Number of occurrences meeting the characteristic.
          $ref: '#/components/schemas/Range'
        durationQuantity:
          description: Length of time in which the characteristic is met.
          $ref: '#/components/schemas/Quantity'
        durationRange:
          description: Length of time in which the characteristic is met.
          $ref: '#/components/schemas/Range'
        timeFromEvent:
          description: Timing in which the characteristic is determined.
          items:
            $ref: '#/components/schemas/EvidenceVariable_TimeFromEvent'
          type: array
      type: object
      additionalProperties: false
    EvidenceVariable_DefinitionByTypeAndValue:
      description: The EvidenceVariable resource describes an element that knowledge
        (Evidence) is about.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Used to express the type of characteristic.
          $ref: '#/components/schemas/CodeableConcept'
        method:
          description: Method for how the characteristic value was determined.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        device:
          description: Device used for determining characteristic.
          $ref: '#/components/schemas/Reference'
        valueCodeableConcept:
          description: Defines the characteristic when paired with characteristic.type.
          $ref: '#/components/schemas/CodeableConcept'
        valueBoolean:
          description: Defines the characteristic when paired with characteristic.type.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueQuantity:
          description: Defines the characteristic when paired with characteristic.type.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: Defines the characteristic when paired with characteristic.type.
          $ref: '#/components/schemas/Range'
        valueReference:
          description: Defines the characteristic when paired with characteristic.type.
          $ref: '#/components/schemas/Reference'
        valueId:
          description: Defines the characteristic when paired with characteristic.type.
          pattern: ^[A-Za-z0-9\-\.]{1,64}$
          type: string
        _valueId:
          description: Extensions for valueId
          $ref: '#/components/schemas/Element'
        offset:
          description: Defines the reference point for comparison when valueQuantity
            or valueRange is not compared to zero.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - type
    EvidenceVariable_DefinitionByCombination:
      description: The EvidenceVariable resource describes an element that knowledge
        (Evidence) is about.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Used to specify if two or more characteristics are combined with
            OR or AND.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        threshold:
          description: Provides the value of "n" when "at-least" or "at-most" codes
            are used.
          $ref: '#/components/schemas/positiveInt'
        _threshold:
          description: Extensions for threshold
          $ref: '#/components/schemas/Element'
        characteristic:
          description: A defining factor of the characteristic.
          items:
            $ref: '#/components/schemas/EvidenceVariable_Characteristic'
          type: array
      type: object
      additionalProperties: false
      required:
      - characteristic
    EvidenceVariable_TimeFromEvent:
      description: The EvidenceVariable resource describes an element that knowledge
        (Evidence) is about.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: Human readable description.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        note:
          description: A human-readable string to clarify or explain concepts about
            the timeFromEvent.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        eventCodeableConcept:
          description: The event used as a base point (reference point) in time.
          $ref: '#/components/schemas/CodeableConcept'
        eventReference:
          description: The event used as a base point (reference point) in time.
          $ref: '#/components/schemas/Reference'
        eventDateTime:
          description: The event used as a base point (reference point) in time.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _eventDateTime:
          description: Extensions for eventDateTime
          $ref: '#/components/schemas/Element'
        eventId:
          description: The event used as a base point (reference point) in time.
          pattern: ^[A-Za-z0-9\-\.]{1,64}$
          type: string
        _eventId:
          description: Extensions for eventId
          $ref: '#/components/schemas/Element'
        quantity:
          description: Used to express the observation at a defined amount of time before
            or after the event.
          $ref: '#/components/schemas/Quantity'
        range:
          description: Used to express the observation within a period before and/or
            after the event.
          $ref: '#/components/schemas/Range'
      type: object
      additionalProperties: false
    EvidenceVariable_Category:
      description: The EvidenceVariable resource describes an element that knowledge
        (Evidence) is about.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: Description of the grouping.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        valueCodeableConcept:
          description: Definition of the grouping.
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: Definition of the grouping.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: Definition of the grouping.
          $ref: '#/components/schemas/Range'
      type: object
      additionalProperties: false
    ExampleScenario:
      description: Example of workflow instance.
      properties:
        resourceType:
          description: This is a ExampleScenario resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this example scenario
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this example
            scenario is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the example scenario is stored
            on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this example scenario
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the example
            scenario when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the example scenario author and is
            not expected to be globally unique. For example, it might be a timestamp
            (e.g. yyyymmdd) if a managed version is not available. There is also no
            expectation that versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: Temporarily retained for tooling purposes.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the ExampleScenario.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this example scenario. Enables tracking the life-cycle
            of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this example scenario is authored
            for testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the example scenario was
            last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the example scenario changes. (e.g.
            the 'content logical definition').
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the example scenario.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the ExampleScenario
            from a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            example scenario instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the example scenario is
            intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: What the example scenario resource is created for. This should
            not be used to show the business purpose of the scenario itself, but the
            purpose of documenting a scenario.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the example scenario and/or
            its contents. Copyright statements are generally legal restrictions on the
            use and publishing of the example scenario.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        actor:
          description: A system or person who shares or receives an instance within
            the scenario.
          items:
            $ref: '#/components/schemas/ExampleScenario_Actor'
          type: array
        instance:
          description: A single data collection that is shared as part of the scenario.
          items:
            $ref: '#/components/schemas/ExampleScenario_Instance'
          type: array
        process:
          description: A group of operations that represents a significant step within
            a scenario.
          items:
            $ref: '#/components/schemas/ExampleScenario_Process'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    ExampleScenario_Actor:
      description: Example of workflow instance.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        key:
          description: A unique string within the scenario that is used to reference
            the actor.
          $ref: '#/components/schemas/string'
        _key:
          description: Extensions for key
          $ref: '#/components/schemas/Element'
        type:
          description: The category of actor - person or system.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        title:
          description: The human-readable name for the actor used when rendering the
            scenario.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        description:
          description: An explanation of who/what the actor is and its role in the scenario.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ExampleScenario_Instance:
      description: Example of workflow instance.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        key:
          description: A unique string within the scenario that is used to reference
            the instance.
          $ref: '#/components/schemas/string'
        _key:
          description: Extensions for key
          $ref: '#/components/schemas/Element'
        structureType:
          description: A code indicating the kind of data structure (FHIR resource or
            some other standard) this is an instance of.
          $ref: '#/components/schemas/Coding'
        structureVersion:
          description: Conveys the version of the data structure instantiated.  I.e.
            what release of FHIR, X12, OpenEHR, etc. is instance compliant with.
          $ref: '#/components/schemas/string'
        _structureVersion:
          description: Extensions for structureVersion
          $ref: '#/components/schemas/Element'
        structureProfileCanonical:
          description: Refers to a profile, template or other ruleset the instance adheres
            to.
          pattern: ^\S*$
          type: string
        _structureProfileCanonical:
          description: Extensions for structureProfileCanonical
          $ref: '#/components/schemas/Element'
        structureProfileUri:
          description: Refers to a profile, template or other ruleset the instance adheres
            to.
          pattern: ^\S*$
          type: string
        _structureProfileUri:
          description: Extensions for structureProfileUri
          $ref: '#/components/schemas/Element'
        title:
          description: A short descriptive label the instance to be used in tables or
            diagrams.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        description:
          description: An explanation of what the instance contains and what it's for.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        content:
          description: Points to an instance (typically an example) that shows the data
            that would corespond to this instance.
          $ref: '#/components/schemas/Reference'
        version:
          description: Represents the instance as it was at a specific time-point.
          items:
            $ref: '#/components/schemas/ExampleScenario_Version'
          type: array
        containedInstance:
          description: References to other instances that can be found within this instance
            (e.g. the observations contained in a bundle).
          items:
            $ref: '#/components/schemas/ExampleScenario_ContainedInstance'
          type: array
      type: object
      additionalProperties: false
      required:
      - structureType
    ExampleScenario_Version:
      description: Example of workflow instance.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        key:
          description: A unique string within the instance that is used to reference
            the version of the instance.
          $ref: '#/components/schemas/string'
        _key:
          description: Extensions for key
          $ref: '#/components/schemas/Element'
        title:
          description: A short descriptive label the version to be used in tables or
            diagrams.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        description:
          description: An explanation of what this specific version of the instance
            contains and represents.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        content:
          description: Points to an instance (typically an example) that shows the data
            that would flow at this point in the scenario.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    ExampleScenario_ContainedInstance:
      description: Example of workflow instance.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        instanceReference:
          description: A reference to the key of an instance found within this one.
          $ref: '#/components/schemas/string'
        _instanceReference:
          description: Extensions for instanceReference
          $ref: '#/components/schemas/Element'
        versionReference:
          description: A reference to the key of a specific version of an instance in
            this instance.
          $ref: '#/components/schemas/string'
        _versionReference:
          description: Extensions for versionReference
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ExampleScenario_Process:
      description: Example of workflow instance.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        title:
          description: A short descriptive label the process to be used in tables or
            diagrams.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        description:
          description: An explanation of what the process represents and what it does.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        preConditions:
          description: Description of the initial state of the actors, environment and
            data before the process starts.
          $ref: '#/components/schemas/markdown'
        _preConditions:
          description: Extensions for preConditions
          $ref: '#/components/schemas/Element'
        postConditions:
          description: Description of the final state of the actors, environment and
            data after the process has been successfully completed.
          $ref: '#/components/schemas/markdown'
        _postConditions:
          description: Extensions for postConditions
          $ref: '#/components/schemas/Element'
        step:
          description: A significant action that occurs as part of the process.
          items:
            $ref: '#/components/schemas/ExampleScenario_Step'
          type: array
      type: object
      additionalProperties: false
    ExampleScenario_Step:
      description: Example of workflow instance.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        number:
          description: The sequential number of the step, e.g. 1.2.5.
          $ref: '#/components/schemas/string'
        _number:
          description: Extensions for number
          $ref: '#/components/schemas/Element'
        process:
          description: Indicates that the step is a complex sub-process with its own
            steps.
          $ref: '#/components/schemas/ExampleScenario_Process'
        workflow:
          description: Indicates that the step is defined by a seaparate scenario instance.
          $ref: '#/components/schemas/canonical'
        operation:
          description: The step represents a single operation invoked on receiver by
            sender.
          $ref: '#/components/schemas/ExampleScenario_Operation'
        alternative:
          description: Indicates an alternative step that can be taken instead of the
            sub-process, scenario or operation.  E.g. to represent non-happy-path/exceptional/atypical
            circumstances.
          items:
            $ref: '#/components/schemas/ExampleScenario_Alternative'
          type: array
        pause:
          description: If true, indicates that, following this step, there is a pause
            in the flow and the subsequent step will occur at some later time (triggered
            by some event).
          $ref: '#/components/schemas/boolean'
        _pause:
          description: Extensions for pause
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ExampleScenario_Operation:
      description: Example of workflow instance.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The standardized type of action (FHIR or otherwise).
          $ref: '#/components/schemas/Coding'
        title:
          description: A short descriptive label the step to be used in tables or diagrams.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        initiator:
          description: The system that invokes the action/transmits the data.
          $ref: '#/components/schemas/string'
        _initiator:
          description: Extensions for initiator
          $ref: '#/components/schemas/Element'
        receiver:
          description: The system on which the action is invoked/receives the data.
          $ref: '#/components/schemas/string'
        _receiver:
          description: Extensions for receiver
          $ref: '#/components/schemas/Element'
        description:
          description: An explanation of what the operation represents and what it does.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        initiatorActive:
          description: If false, the initiator is deactivated right after the operation.
          $ref: '#/components/schemas/boolean'
        _initiatorActive:
          description: Extensions for initiatorActive
          $ref: '#/components/schemas/Element'
        receiverActive:
          description: If false, the receiver is deactivated right after the operation.
          $ref: '#/components/schemas/boolean'
        _receiverActive:
          description: Extensions for receiverActive
          $ref: '#/components/schemas/Element'
        request:
          description: A reference to the instance that is transmitted from requester
            to receiver as part of the invocation of the operation.
          $ref: '#/components/schemas/ExampleScenario_ContainedInstance'
        response:
          description: A reference to the instance that is transmitted from receiver
            to requester as part of the operation's synchronous response (if any).
          $ref: '#/components/schemas/ExampleScenario_ContainedInstance'
      type: object
      additionalProperties: false
    ExampleScenario_Alternative:
      description: Example of workflow instance.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        title:
          description: The label to display for the alternative that gives a sense of
            the circumstance in which the alternative should be invoked.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        description:
          description: A human-readable description of the alternative explaining when
            the alternative should occur rather than the base step.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        step:
          description: Indicates the operation, sub-process or scenario that happens
            if the alternative option is selected.
          items:
            $ref: '#/components/schemas/ExampleScenario_Step'
          type: array
      type: object
      additionalProperties: false
    ExplanationOfBenefit:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        resourceType:
          description: This is a ExplanationOfBenefit resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A unique identifier assigned to this explanation of benefit.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The status of the resource instance.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        type:
          description: The category of claim, e.g. oral, pharmacy, vision, institutional,
            professional.
          $ref: '#/components/schemas/CodeableConcept'
        subType:
          description: A finer grained suite of claim type codes which may convey additional
            information such as Inpatient vs Outpatient and/or a specialty service.
          $ref: '#/components/schemas/CodeableConcept'
        use:
          description: 'A code to indicate whether the nature of the request is: Claim
            - A request to an Insurer to adjudicate the supplied charges for health
            care goods and services under the identified policy and to pay the determined
            Benefit amount, if any; Preauthorization - A request to an Insurer to adjudicate
            the supplied proposed future charges for health care goods and services
            under the identified policy and to approve the services and provide the
            expected benefit amounts and potentially to reserve funds to pay the benefits
            when Claims for the indicated services are later submitted; or, Pre-determination
            - A request to an Insurer to adjudicate the supplied ''what if'' charges
            for health care goods and services under the identified policy and report
            back what the Benefit payable would be had the services actually been provided.'
          $ref: '#/components/schemas/code'
        _use:
          description: Extensions for use
          $ref: '#/components/schemas/Element'
        patient:
          description: The party to whom the professional services and/or products have
            been supplied or are being considered and for whom actual for forecast reimbursement
            is sought.
          $ref: '#/components/schemas/Reference'
        billablePeriod:
          description: The period for which charges are being submitted.
          $ref: '#/components/schemas/Period'
        created:
          description: The date this resource was created.
          $ref: '#/components/schemas/dateTime'
        _created:
          description: Extensions for created
          $ref: '#/components/schemas/Element'
        enterer:
          description: Individual who created the claim, predetermination or preauthorization.
          $ref: '#/components/schemas/Reference'
        insurer:
          description: The party responsible for authorization, adjudication and reimbursement.
          $ref: '#/components/schemas/Reference'
        provider:
          description: The provider which is responsible for the claim, predetermination
            or preauthorization.
          $ref: '#/components/schemas/Reference'
        priority:
          description: 'The provider-required urgency of processing the request. Typical
            values include: stat, normal deferred.'
          $ref: '#/components/schemas/CodeableConcept'
        fundsReserveRequested:
          description: A code to indicate whether and for whom funds are to be reserved
            for future claims.
          $ref: '#/components/schemas/CodeableConcept'
        fundsReserve:
          description: A code, used only on a response to a preauthorization, to indicate
            whether the benefits payable have been reserved and for whom.
          $ref: '#/components/schemas/CodeableConcept'
        related:
          description: Other claims which are related to this claim such as prior submissions
            or claims for related services or for the same event.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Related'
          type: array
        prescription:
          description: Prescription is the document/authorization given to the claim
            author for them to provide products and services for which consideration
            (reimbursement) is sought. Could be a RX for medications, an 'order' for
            oxygen or wheelchair or physiotherapy treatments.
          $ref: '#/components/schemas/Reference'
        originalPrescription:
          description: Original prescription which has been superseded by this prescription
            to support the dispensing of pharmacy services, medications or products.
          $ref: '#/components/schemas/Reference'
        event:
          description: Information code for an event with a corresponding date or period.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Event'
          type: array
        payee:
          description: The party to be reimbursed for cost of the products and services
            according to the terms of the policy.
          $ref: '#/components/schemas/ExplanationOfBenefit_Payee'
        referral:
          description: The referral information received by the claim author, it is
            not to be used when the author generates a referral for a patient. A copy
            of that referral may be provided as supporting information. Some insurers
            require proof of referral to pay for services or to pay specialist rates
            for services.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: Healthcare encounters related to this claim.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        facility:
          description: Facility where the services were provided.
          $ref: '#/components/schemas/Reference'
        claim:
          description: 'The business identifier for the instance of the adjudication
            request: claim predetermination or preauthorization.'
          $ref: '#/components/schemas/Reference'
        claimResponse:
          description: 'The business identifier for the instance of the adjudication
            response: claim, predetermination or preauthorization response.'
          $ref: '#/components/schemas/Reference'
        outcome:
          description: The outcome of the claim, predetermination, or preauthorization
            processing.
          $ref: '#/components/schemas/code'
        _outcome:
          description: Extensions for outcome
          $ref: '#/components/schemas/Element'
        decision:
          description: The result of the claim, predetermination, or preauthorization
            adjudication.
          $ref: '#/components/schemas/CodeableConcept'
        disposition:
          description: A human readable description of the status of the adjudication.
          $ref: '#/components/schemas/string'
        _disposition:
          description: Extensions for disposition
          $ref: '#/components/schemas/Element'
        preAuthRef:
          description: Reference from the Insurer which is used in later communications
            which refers to this adjudication.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _preAuthRef:
          description: Extensions for preAuthRef
          items:
            $ref: '#/components/schemas/Element'
          type: array
        preAuthRefPeriod:
          description: The timeframe during which the supplied preauthorization reference
            may be quoted on claims to obtain the adjudication as provided.
          items:
            $ref: '#/components/schemas/Period'
          type: array
        diagnosisRelatedGroup:
          description: A package billing code or bundle code used to group products
            and services to a particular health condition (such as heart attack) which
            is based on a predetermined grouping code system.
          $ref: '#/components/schemas/CodeableConcept'
        careTeam:
          description: The members of the team who provided the products and services.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_CareTeam'
          type: array
        supportingInfo:
          description: Additional information codes regarding exceptions, special considerations,
            the condition, situation, prior or concurrent issues.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_SupportingInfo'
          type: array
        diagnosis:
          description: Information about diagnoses relevant to the claim items.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Diagnosis'
          type: array
        procedure:
          description: Procedures performed on the patient relevant to the billing items
            with the claim.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Procedure'
          type: array
        precedence:
          description: This indicates the relative order of a series of EOBs related
            to different coverages for the same suite of services.
          $ref: '#/components/schemas/positiveInt'
        _precedence:
          description: Extensions for precedence
          $ref: '#/components/schemas/Element'
        insurance:
          description: Financial instruments for reimbursement for the health care products
            and services specified on the claim.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Insurance'
          type: array
        accident:
          description: Details of a accident which resulted in injuries which required
            the products and services listed in the claim.
          $ref: '#/components/schemas/ExplanationOfBenefit_Accident'
        patientPaid:
          description: The amount paid by the patient, in total at the claim claim level
            or specifically for the item and detail level, to the provider for goods
            and services.
          $ref: '#/components/schemas/Money'
        item:
          description: A claim line. Either a simple (a product or service) or a 'group'
            of details which can also be a simple items or groups of sub-details.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Item'
          type: array
        addItem:
          description: The first-tier service adjudications for payor added product
            or service lines.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_AddItem'
          type: array
        adjudication:
          description: The adjudication results which are presented at the header level
            rather than at the line-item or add-item levels.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Adjudication'
          type: array
        total:
          description: Categorized monetary totals for the adjudication.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Total'
          type: array
        payment:
          description: Payment details for the adjudication of the claim.
          $ref: '#/components/schemas/ExplanationOfBenefit_Payment'
        formCode:
          description: A code for the form to be used for printing the content.
          $ref: '#/components/schemas/CodeableConcept'
        form:
          description: The actual form, by reference or inclusion, for printing the
            content or an EOB.
          $ref: '#/components/schemas/Attachment'
        processNote:
          description: A note that describes or explains adjudication results in a human
            readable form.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_ProcessNote'
          type: array
        benefitPeriod:
          description: The term of the benefits documented in this response.
          $ref: '#/components/schemas/Period'
        benefitBalance:
          description: Balance by Benefit Category.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_BenefitBalance'
          type: array
      type: object
      additionalProperties: false
      required:
      - patient
      - type
      - resourceType
    ExplanationOfBenefit_Related:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        claim:
          description: Reference to a related claim.
          $ref: '#/components/schemas/Reference'
        relationship:
          description: A code to convey how the claims are related.
          $ref: '#/components/schemas/CodeableConcept'
        reference:
          description: An alternate organizational reference to the case or file to
            which this particular claim pertains.
          $ref: '#/components/schemas/Identifier'
      type: object
      additionalProperties: false
    ExplanationOfBenefit_Event:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: A coded event such as when a service is expected or a card printed.
          $ref: '#/components/schemas/CodeableConcept'
        whenDateTime:
          description: A date or period in the past or future indicating when the event
            occurred or is expectd to occur.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _whenDateTime:
          description: Extensions for whenDateTime
          $ref: '#/components/schemas/Element'
        whenPeriod:
          description: A date or period in the past or future indicating when the event
            occurred or is expectd to occur.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - type
    ExplanationOfBenefit_Payee:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: 'Type of Party to be reimbursed: Subscriber, provider, other.'
          $ref: '#/components/schemas/CodeableConcept'
        party:
          description: Reference to the individual or organization to whom any payment
            will be made.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    ExplanationOfBenefit_CareTeam:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A number to uniquely identify care team entries.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        provider:
          description: Member of the team who provided the product or service.
          $ref: '#/components/schemas/Reference'
        responsible:
          description: The party who is billing and/or responsible for the claimed products
            or services.
          $ref: '#/components/schemas/boolean'
        _responsible:
          description: Extensions for responsible
          $ref: '#/components/schemas/Element'
        role:
          description: The lead, assisting or supervising practitioner and their discipline
            if a multidisciplinary team.
          $ref: '#/components/schemas/CodeableConcept'
        specialty:
          description: The specialization of the practitioner or provider which is applicable
            for this service.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - provider
    ExplanationOfBenefit_SupportingInfo:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A number to uniquely identify supporting information entries.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        category:
          description: 'The general class of the information supplied: information;
            exception; accident, employment; onset, etc.'
          $ref: '#/components/schemas/CodeableConcept'
        code:
          description: System and code pertaining to the specific information regarding
            special conditions relating to the setting, treatment or patient  for which
            care is sought.
          $ref: '#/components/schemas/CodeableConcept'
        timingDate:
          description: The date when or period to which this information refers.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _timingDate:
          description: Extensions for timingDate
          $ref: '#/components/schemas/Element'
        timingPeriod:
          description: The date when or period to which this information refers.
          $ref: '#/components/schemas/Period'
        valueBoolean:
          description: Additional data or information such as resources, documents,
            images etc. including references to the data or the actual inclusion of
            the data.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueString:
          description: Additional data or information such as resources, documents,
            images etc. including references to the data or the actual inclusion of
            the data.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueQuantity:
          description: Additional data or information such as resources, documents,
            images etc. including references to the data or the actual inclusion of
            the data.
          $ref: '#/components/schemas/Quantity'
        valueAttachment:
          description: Additional data or information such as resources, documents,
            images etc. including references to the data or the actual inclusion of
            the data.
          $ref: '#/components/schemas/Attachment'
        valueReference:
          description: Additional data or information such as resources, documents,
            images etc. including references to the data or the actual inclusion of
            the data.
          $ref: '#/components/schemas/Reference'
        valueIdentifier:
          description: Additional data or information such as resources, documents,
            images etc. including references to the data or the actual inclusion of
            the data.
          $ref: '#/components/schemas/Identifier'
        reason:
          description: Provides the reason in the situation where a reason code is required
            in addition to the content.
          $ref: '#/components/schemas/Coding'
      type: object
      additionalProperties: false
      required:
      - category
    ExplanationOfBenefit_Diagnosis:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A number to uniquely identify diagnosis entries.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        diagnosisCodeableConcept:
          description: The nature of illness or problem in a coded form or as a reference
            to an external defined Condition.
          $ref: '#/components/schemas/CodeableConcept'
        diagnosisReference:
          description: The nature of illness or problem in a coded form or as a reference
            to an external defined Condition.
          $ref: '#/components/schemas/Reference'
        type:
          description: When the condition was observed or the relative ranking.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        onAdmission:
          description: Indication of whether the diagnosis was present on admission
            to a facility.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    ExplanationOfBenefit_Procedure:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A number to uniquely identify procedure entries.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        type:
          description: When the condition was observed or the relative ranking.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        date:
          description: Date and optionally time the procedure was performed.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        procedureCodeableConcept:
          description: The code or reference to a Procedure resource which identifies
            the clinical intervention performed.
          $ref: '#/components/schemas/CodeableConcept'
        procedureReference:
          description: The code or reference to a Procedure resource which identifies
            the clinical intervention performed.
          $ref: '#/components/schemas/Reference'
        udi:
          description: Unique Device Identifiers associated with this line item.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    ExplanationOfBenefit_Insurance:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        focal:
          description: A flag to indicate that this Coverage is to be used for adjudication
            of this claim when set to true.
          $ref: '#/components/schemas/boolean'
        _focal:
          description: Extensions for focal
          $ref: '#/components/schemas/Element'
        coverage:
          description: Reference to the insurance card level information contained in
            the Coverage resource. The coverage issuing insurer will use these details
            to locate the patient's actual coverage within the insurer's information
            system.
          $ref: '#/components/schemas/Reference'
        preAuthRef:
          description: Reference numbers previously provided by the insurer to the provider
            to be quoted on subsequent claims containing services or products related
            to the prior authorization.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _preAuthRef:
          description: Extensions for preAuthRef
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
      required:
      - coverage
    ExplanationOfBenefit_Accident:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        date:
          description: Date of an accident event  related to the products and services
            contained in the claim.
          $ref: '#/components/schemas/date'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        type:
          description: The type or context of the accident event for the purposes of
            selection of potential insurance coverages and determination of coordination
            between insurers.
          $ref: '#/components/schemas/CodeableConcept'
        locationAddress:
          description: The physical location of the accident event.
          $ref: '#/components/schemas/Address'
        locationReference:
          description: The physical location of the accident event.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    ExplanationOfBenefit_Item:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A number to uniquely identify item entries.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        careTeamSequence:
          description: Care team members related to this service or product.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _careTeamSequence:
          description: Extensions for careTeamSequence
          items:
            $ref: '#/components/schemas/Element'
          type: array
        diagnosisSequence:
          description: Diagnoses applicable for this service or product.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _diagnosisSequence:
          description: Extensions for diagnosisSequence
          items:
            $ref: '#/components/schemas/Element'
          type: array
        procedureSequence:
          description: Procedures applicable for this service or product.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _procedureSequence:
          description: Extensions for procedureSequence
          items:
            $ref: '#/components/schemas/Element'
          type: array
        informationSequence:
          description: Exceptions, special conditions and supporting information applicable
            for this service or product.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _informationSequence:
          description: Extensions for informationSequence
          items:
            $ref: '#/components/schemas/Element'
          type: array
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        revenue:
          description: The type of revenue or cost center providing the product and/or
            service.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: Code to identify the general type of benefits under which products
            and services are provided.
          $ref: '#/components/schemas/CodeableConcept'
        productOrService:
          description: When the value is a group code then this item collects a set
            of related item details, otherwise this contains the product, service, drug
            or other billing code for the item. This element may be the start of a range
            of .productOrService codes used in conjunction with .productOrServiceEnd
            or it may be a solo element where .productOrServiceEnd is not used.
          $ref: '#/components/schemas/CodeableConcept'
        productOrServiceEnd:
          description: This contains the end of a range of product, service, drug or
            other billing codes for the item. This element is not used when the .productOrService
            is a group code. This value may only be present when a .productOfService
            code has been provided to convey the start of the range. Typically this
            value may be used only with preauthorizations and not with claims.
          $ref: '#/components/schemas/CodeableConcept'
        request:
          description: Request or Referral for Goods or Service to be rendered.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        modifier:
          description: Item typification or modifiers codes to convey additional context
            for the product or service.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        programCode:
          description: Identifies the program under which this may be recovered.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        servicedDate:
          description: The date or dates when the service or product was supplied, performed
            or completed.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _servicedDate:
          description: Extensions for servicedDate
          $ref: '#/components/schemas/Element'
        servicedPeriod:
          description: The date or dates when the service or product was supplied, performed
            or completed.
          $ref: '#/components/schemas/Period'
        locationCodeableConcept:
          description: Where the product or service was provided.
          $ref: '#/components/schemas/CodeableConcept'
        locationAddress:
          description: Where the product or service was provided.
          $ref: '#/components/schemas/Address'
        locationReference:
          description: Where the product or service was provided.
          $ref: '#/components/schemas/Reference'
        patientPaid:
          description: The amount paid by the patient, in total at the claim claim level
            or specifically for the item and detail level, to the provider for goods
            and services.
          $ref: '#/components/schemas/Money'
        quantity:
          description: The number of repetitions of a service or product.
          $ref: '#/components/schemas/Quantity'
        unitPrice:
          description: If the item is not a group then this is the fee for the product
            or service, otherwise this is the total of the fees for the details of the
            group.
          $ref: '#/components/schemas/Money'
        factor:
          description: A real number that represents a multiplier used in determining
            the overall value of services delivered and/or goods received. The concept
            of a Factor allows for a discount or surcharge multiplier to be applied
            to a monetary amount.
          $ref: '#/components/schemas/decimal'
        _factor:
          description: Extensions for factor
          $ref: '#/components/schemas/Element'
        tax:
          description: The total of taxes applicable for this product or service.
          $ref: '#/components/schemas/Money'
        net:
          description: The total amount claimed for the group (if a grouper) or the
            line item. Net = unit price * quantity * factor.
          $ref: '#/components/schemas/Money'
        udi:
          description: Unique Device Identifiers associated with this line item.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        bodySite:
          description: Physical location where the service is performed or applies.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_BodySite'
          type: array
        encounter:
          description: Healthcare encounters related to this claim.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        noteNumber:
          description: The numbers associated with notes below which apply to the adjudication
            of this item.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _noteNumber:
          description: Extensions for noteNumber
          items:
            $ref: '#/components/schemas/Element'
          type: array
        reviewOutcome:
          description: The high-level results of the adjudication if adjudication has
            been performed.
          $ref: '#/components/schemas/ExplanationOfBenefit_ReviewOutcome'
        adjudication:
          description: If this item is a group then the values here are a summary of
            the adjudication of the detail items. If this item is a simple product or
            service then this is the result of the adjudication of this item.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Adjudication'
          type: array
        detail:
          description: Second-tier of goods and services.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Detail'
          type: array
      type: object
      additionalProperties: false
    ExplanationOfBenefit_BodySite:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        site:
          description: Physical service site on the patient (limb, tooth, etc.).
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        subSite:
          description: A region or surface of the bodySite, e.g. limb region or tooth
            surface(s).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
      required:
      - site
    ExplanationOfBenefit_ReviewOutcome:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        decision:
          description: The result of the claim, predetermination, or preauthorization
            adjudication.
          $ref: '#/components/schemas/CodeableConcept'
        reason:
          description: The reasons for the result of the claim, predetermination, or
            preauthorization adjudication.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        preAuthRef:
          description: Reference from the Insurer which is used in later communications
            which refers to this adjudication.
          $ref: '#/components/schemas/string'
        _preAuthRef:
          description: Extensions for preAuthRef
          $ref: '#/components/schemas/Element'
        preAuthPeriod:
          description: The time frame during which this authorization is effective.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
    ExplanationOfBenefit_Adjudication:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        category:
          description: 'A code to indicate the information type of this adjudication
            record. Information types may include: the value submitted, maximum values
            or percentages allowed or payable under the plan, amounts that the patient
            is responsible for in-aggregate or pertaining to this item, amounts paid
            by other coverages, and the benefit payable for this item.'
          $ref: '#/components/schemas/CodeableConcept'
        reason:
          description: A code supporting the understanding of the adjudication result
            and explaining variance from expected amount.
          $ref: '#/components/schemas/CodeableConcept'
        amount:
          description: Monetary amount associated with the category.
          $ref: '#/components/schemas/Money'
        quantity:
          description: A non-monetary value associated with the category. Mutually exclusive
            to the amount element above.
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
      required:
      - category
    ExplanationOfBenefit_Detail:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A claim detail line. Either a simple (a product or service) or
            a 'group' of sub-details which are simple items.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        revenue:
          description: The type of revenue or cost center providing the product and/or
            service.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: Code to identify the general type of benefits under which products
            and services are provided.
          $ref: '#/components/schemas/CodeableConcept'
        productOrService:
          description: When the value is a group code then this item collects a set
            of related item details, otherwise this contains the product, service, drug
            or other billing code for the item. This element may be the start of a range
            of .productOrService codes used in conjunction with .productOrServiceEnd
            or it may be a solo element where .productOrServiceEnd is not used.
          $ref: '#/components/schemas/CodeableConcept'
        productOrServiceEnd:
          description: This contains the end of a range of product, service, drug or
            other billing codes for the item. This element is not used when the .productOrService
            is a group code. This value may only be present when a .productOfService
            code has been provided to convey the start of the range. Typically this
            value may be used only with preauthorizations and not with claims.
          $ref: '#/components/schemas/CodeableConcept'
        modifier:
          description: Item typification or modifiers codes to convey additional context
            for the product or service.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        programCode:
          description: Identifies the program under which this may be recovered.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        patientPaid:
          description: The amount paid by the patient, in total at the claim claim level
            or specifically for the item and detail level, to the provider for goods
            and services.
          $ref: '#/components/schemas/Money'
        quantity:
          description: The number of repetitions of a service or product.
          $ref: '#/components/schemas/Quantity'
        unitPrice:
          description: If the item is not a group then this is the fee for the product
            or service, otherwise this is the total of the fees for the details of the
            group.
          $ref: '#/components/schemas/Money'
        factor:
          description: A real number that represents a multiplier used in determining
            the overall value of services delivered and/or goods received. The concept
            of a Factor allows for a discount or surcharge multiplier to be applied
            to a monetary amount.
          $ref: '#/components/schemas/decimal'
        _factor:
          description: Extensions for factor
          $ref: '#/components/schemas/Element'
        tax:
          description: The total of taxes applicable for this product or service.
          $ref: '#/components/schemas/Money'
        net:
          description: The total amount claimed for the group (if a grouper) or the
            line item.detail. Net = unit price * quantity * factor.
          $ref: '#/components/schemas/Money'
        udi:
          description: Unique Device Identifiers associated with this line item.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        noteNumber:
          description: The numbers associated with notes below which apply to the adjudication
            of this item.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _noteNumber:
          description: Extensions for noteNumber
          items:
            $ref: '#/components/schemas/Element'
          type: array
        reviewOutcome:
          description: The high-level results of the adjudication if adjudication has
            been performed.
          $ref: '#/components/schemas/ExplanationOfBenefit_ReviewOutcome'
        adjudication:
          description: The adjudication results.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Adjudication'
          type: array
        subDetail:
          description: Third-tier of goods and services.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_SubDetail'
          type: array
      type: object
      additionalProperties: false
    ExplanationOfBenefit_SubDetail:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: A claim detail line. Either a simple (a product or service) or
            a 'group' of sub-details which are simple items.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        revenue:
          description: The type of revenue or cost center providing the product and/or
            service.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: Code to identify the general type of benefits under which products
            and services are provided.
          $ref: '#/components/schemas/CodeableConcept'
        productOrService:
          description: When the value is a group code then this item collects a set
            of related item details, otherwise this contains the product, service, drug
            or other billing code for the item. This element may be the start of a range
            of .productOrService codes used in conjunction with .productOrServiceEnd
            or it may be a solo element where .productOrServiceEnd is not used.
          $ref: '#/components/schemas/CodeableConcept'
        productOrServiceEnd:
          description: This contains the end of a range of product, service, drug or
            other billing codes for the item. This element is not used when the .productOrService
            is a group code. This value may only be present when a .productOfService
            code has been provided to convey the start of the range. Typically this
            value may be used only with preauthorizations and not with claims.
          $ref: '#/components/schemas/CodeableConcept'
        modifier:
          description: Item typification or modifiers codes to convey additional context
            for the product or service.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        programCode:
          description: Identifies the program under which this may be recovered.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        patientPaid:
          description: The amount paid by the patient, in total at the claim claim level
            or specifically for the item and detail level, to the provider for goods
            and services.
          $ref: '#/components/schemas/Money'
        quantity:
          description: The number of repetitions of a service or product.
          $ref: '#/components/schemas/Quantity'
        unitPrice:
          description: If the item is not a group then this is the fee for the product
            or service, otherwise this is the total of the fees for the details of the
            group.
          $ref: '#/components/schemas/Money'
        factor:
          description: A real number that represents a multiplier used in determining
            the overall value of services delivered and/or goods received. The concept
            of a Factor allows for a discount or surcharge multiplier to be applied
            to a monetary amount.
          $ref: '#/components/schemas/decimal'
        _factor:
          description: Extensions for factor
          $ref: '#/components/schemas/Element'
        tax:
          description: The total of taxes applicable for this product or service.
          $ref: '#/components/schemas/Money'
        net:
          description: The total amount claimed for the line item.detail.subDetail.
            Net = unit price * quantity * factor.
          $ref: '#/components/schemas/Money'
        udi:
          description: Unique Device Identifiers associated with this line item.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        noteNumber:
          description: The numbers associated with notes below which apply to the adjudication
            of this item.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _noteNumber:
          description: Extensions for noteNumber
          items:
            $ref: '#/components/schemas/Element'
          type: array
        reviewOutcome:
          description: The high-level results of the adjudication if adjudication has
            been performed.
          $ref: '#/components/schemas/ExplanationOfBenefit_ReviewOutcome'
        adjudication:
          description: The adjudication results.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Adjudication'
          type: array
      type: object
      additionalProperties: false
    ExplanationOfBenefit_AddItem:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        itemSequence:
          description: Claim items which this service line is intended to replace.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _itemSequence:
          description: Extensions for itemSequence
          items:
            $ref: '#/components/schemas/Element'
          type: array
        detailSequence:
          description: The sequence number of the details within the claim item which
            this line is intended to replace.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _detailSequence:
          description: Extensions for detailSequence
          items:
            $ref: '#/components/schemas/Element'
          type: array
        subDetailSequence:
          description: The sequence number of the sub-details woithin the details within
            the claim item which this line is intended to replace.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _subDetailSequence:
          description: Extensions for subDetailSequence
          items:
            $ref: '#/components/schemas/Element'
          type: array
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        provider:
          description: The providers who are authorized for the services rendered to
            the patient.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        revenue:
          description: The type of revenue or cost center providing the product and/or
            service.
          $ref: '#/components/schemas/CodeableConcept'
        productOrService:
          description: When the value is a group code then this item collects a set
            of related item details, otherwise this contains the product, service, drug
            or other billing code for the item. This element may be the start of a range
            of .productOrService codes used in conjunction with .productOrServiceEnd
            or it may be a solo element where .productOrServiceEnd is not used.
          $ref: '#/components/schemas/CodeableConcept'
        productOrServiceEnd:
          description: This contains the end of a range of product, service, drug or
            other billing codes for the item. This element is not used when the .productOrService
            is a group code. This value may only be present when a .productOfService
            code has been provided to convey the start of the range. Typically this
            value may be used only with preauthorizations and not with claims.
          $ref: '#/components/schemas/CodeableConcept'
        request:
          description: Request or Referral for Goods or Service to be rendered.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        modifier:
          description: Item typification or modifiers codes to convey additional context
            for the product or service.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        programCode:
          description: Identifies the program under which this may be recovered.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        servicedDate:
          description: The date or dates when the service or product was supplied, performed
            or completed.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _servicedDate:
          description: Extensions for servicedDate
          $ref: '#/components/schemas/Element'
        servicedPeriod:
          description: The date or dates when the service or product was supplied, performed
            or completed.
          $ref: '#/components/schemas/Period'
        locationCodeableConcept:
          description: Where the product or service was provided.
          $ref: '#/components/schemas/CodeableConcept'
        locationAddress:
          description: Where the product or service was provided.
          $ref: '#/components/schemas/Address'
        locationReference:
          description: Where the product or service was provided.
          $ref: '#/components/schemas/Reference'
        patientPaid:
          description: The amount paid by the patient, in total at the claim claim level
            or specifically for the item and detail level, to the provider for goods
            and services.
          $ref: '#/components/schemas/Money'
        quantity:
          description: The number of repetitions of a service or product.
          $ref: '#/components/schemas/Quantity'
        unitPrice:
          description: If the item is not a group then this is the fee for the product
            or service, otherwise this is the total of the fees for the details of the
            group.
          $ref: '#/components/schemas/Money'
        factor:
          description: A real number that represents a multiplier used in determining
            the overall value of services delivered and/or goods received. The concept
            of a Factor allows for a discount or surcharge multiplier to be applied
            to a monetary amount.
          $ref: '#/components/schemas/decimal'
        _factor:
          description: Extensions for factor
          $ref: '#/components/schemas/Element'
        tax:
          description: The total of taxes applicable for this product or service.
          $ref: '#/components/schemas/Money'
        net:
          description: The total amount claimed for the group (if a grouper) or the
            addItem. Net = unit price * quantity * factor.
          $ref: '#/components/schemas/Money'
        bodySite:
          description: Physical location where the service is performed or applies.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_BodySite1'
          type: array
        noteNumber:
          description: The numbers associated with notes below which apply to the adjudication
            of this item.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _noteNumber:
          description: Extensions for noteNumber
          items:
            $ref: '#/components/schemas/Element'
          type: array
        reviewOutcome:
          description: The high-level results of the adjudication if adjudication has
            been performed.
          $ref: '#/components/schemas/ExplanationOfBenefit_ReviewOutcome'
        adjudication:
          description: The adjudication results.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Adjudication'
          type: array
        detail:
          description: The second-tier service adjudications for payor added services.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Detail1'
          type: array
      type: object
      additionalProperties: false
    ExplanationOfBenefit_BodySite1:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        site:
          description: Physical service site on the patient (limb, tooth, etc.).
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        subSite:
          description: A region or surface of the bodySite, e.g. limb region or tooth
            surface(s).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
      required:
      - site
    ExplanationOfBenefit_Detail1:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        revenue:
          description: The type of revenue or cost center providing the product and/or
            service.
          $ref: '#/components/schemas/CodeableConcept'
        productOrService:
          description: When the value is a group code then this item collects a set
            of related item details, otherwise this contains the product, service, drug
            or other billing code for the item. This element may be the start of a range
            of .productOrService codes used in conjunction with .productOrServiceEnd
            or it may be a solo element where .productOrServiceEnd is not used.
          $ref: '#/components/schemas/CodeableConcept'
        productOrServiceEnd:
          description: This contains the end of a range of product, service, drug or
            other billing codes for the item. This element is not used when the .productOrService
            is a group code. This value may only be present when a .productOfService
            code has been provided to convey the start of the range. Typically this
            value may be used only with preauthorizations and not with claims.
          $ref: '#/components/schemas/CodeableConcept'
        modifier:
          description: Item typification or modifiers codes to convey additional context
            for the product or service.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        patientPaid:
          description: The amount paid by the patient, in total at the claim claim level
            or specifically for the item and detail level, to the provider for goods
            and services.
          $ref: '#/components/schemas/Money'
        quantity:
          description: The number of repetitions of a service or product.
          $ref: '#/components/schemas/Quantity'
        unitPrice:
          description: If the item is not a group then this is the fee for the product
            or service, otherwise this is the total of the fees for the details of the
            group.
          $ref: '#/components/schemas/Money'
        factor:
          description: A real number that represents a multiplier used in determining
            the overall value of services delivered and/or goods received. The concept
            of a Factor allows for a discount or surcharge multiplier to be applied
            to a monetary amount.
          $ref: '#/components/schemas/decimal'
        _factor:
          description: Extensions for factor
          $ref: '#/components/schemas/Element'
        tax:
          description: The total of taxes applicable for this product or service.
          $ref: '#/components/schemas/Money'
        net:
          description: The total amount claimed for the group (if a grouper) or the
            addItem.detail. Net = unit price * quantity * factor.
          $ref: '#/components/schemas/Money'
        noteNumber:
          description: The numbers associated with notes below which apply to the adjudication
            of this item.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _noteNumber:
          description: Extensions for noteNumber
          items:
            $ref: '#/components/schemas/Element'
          type: array
        reviewOutcome:
          description: The high-level results of the adjudication if adjudication has
            been performed.
          $ref: '#/components/schemas/ExplanationOfBenefit_ReviewOutcome'
        adjudication:
          description: The adjudication results.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Adjudication'
          type: array
        subDetail:
          description: The third-tier service adjudications for payor added services.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_SubDetail1'
          type: array
      type: object
      additionalProperties: false
    ExplanationOfBenefit_SubDetail1:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        traceNumber:
          description: Trace number for tracking purposes. May be defined at the jurisdiction
            level or between trading partners.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        revenue:
          description: The type of revenue or cost center providing the product and/or
            service.
          $ref: '#/components/schemas/CodeableConcept'
        productOrService:
          description: When the value is a group code then this item collects a set
            of related item details, otherwise this contains the product, service, drug
            or other billing code for the item. This element may be the start of a range
            of .productOrService codes used in conjunction with .productOrServiceEnd
            or it may be a solo element where .productOrServiceEnd is not used.
          $ref: '#/components/schemas/CodeableConcept'
        productOrServiceEnd:
          description: This contains the end of a range of product, service, drug or
            other billing codes for the item. This element is not used when the .productOrService
            is a group code. This value may only be present when a .productOfService
            code has been provided to convey the start of the range. Typically this
            value may be used only with preauthorizations and not with claims.
          $ref: '#/components/schemas/CodeableConcept'
        modifier:
          description: Item typification or modifiers codes to convey additional context
            for the product or service.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        patientPaid:
          description: The amount paid by the patient, in total at the claim claim level
            or specifically for the item and detail level, to the provider for goods
            and services.
          $ref: '#/components/schemas/Money'
        quantity:
          description: The number of repetitions of a service or product.
          $ref: '#/components/schemas/Quantity'
        unitPrice:
          description: If the item is not a group then this is the fee for the product
            or service, otherwise this is the total of the fees for the details of the
            group.
          $ref: '#/components/schemas/Money'
        factor:
          description: A real number that represents a multiplier used in determining
            the overall value of services delivered and/or goods received. The concept
            of a Factor allows for a discount or surcharge multiplier to be applied
            to a monetary amount.
          $ref: '#/components/schemas/decimal'
        _factor:
          description: Extensions for factor
          $ref: '#/components/schemas/Element'
        tax:
          description: The total of taxes applicable for this product or service.
          $ref: '#/components/schemas/Money'
        net:
          description: The total amount claimed for the addItem.detail.subDetail. Net
            = unit price * quantity * factor.
          $ref: '#/components/schemas/Money'
        noteNumber:
          description: The numbers associated with notes below which apply to the adjudication
            of this item.
          items:
            $ref: '#/components/schemas/positiveInt'
          type: array
        _noteNumber:
          description: Extensions for noteNumber
          items:
            $ref: '#/components/schemas/Element'
          type: array
        reviewOutcome:
          description: The high-level results of the adjudication if adjudication has
            been performed.
          $ref: '#/components/schemas/ExplanationOfBenefit_ReviewOutcome'
        adjudication:
          description: The adjudication results.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Adjudication'
          type: array
      type: object
      additionalProperties: false
    ExplanationOfBenefit_Total:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        category:
          description: 'A code to indicate the information type of this adjudication
            record. Information types may include: the value submitted, maximum values
            or percentages allowed or payable under the plan, amounts that the patient
            is responsible for in aggregate or pertaining to this item, amounts paid
            by other coverages, and the benefit payable for this item.'
          $ref: '#/components/schemas/CodeableConcept'
        amount:
          description: Monetary total amount associated with the category.
          $ref: '#/components/schemas/Money'
      type: object
      additionalProperties: false
      required:
      - amount
      - category
    ExplanationOfBenefit_Payment:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Whether this represents partial or complete payment of the benefits
            payable.
          $ref: '#/components/schemas/CodeableConcept'
        adjustment:
          description: Total amount of all adjustments to this payment included in this
            transaction which are not related to this claim's adjudication.
          $ref: '#/components/schemas/Money'
        adjustmentReason:
          description: Reason for the payment adjustment.
          $ref: '#/components/schemas/CodeableConcept'
        date:
          description: Estimated date the payment will be issued or the actual issue
            date of payment.
          $ref: '#/components/schemas/date'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        amount:
          description: Benefits payable less any payment adjustment.
          $ref: '#/components/schemas/Money'
        identifier:
          description: Issuer's unique identifier for the payment instrument.
          $ref: '#/components/schemas/Identifier'
      type: object
      additionalProperties: false
    ExplanationOfBenefit_ProcessNote:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        number:
          description: A number to uniquely identify a note entry.
          $ref: '#/components/schemas/positiveInt'
        _number:
          description: Extensions for number
          $ref: '#/components/schemas/Element'
        type:
          description: The business purpose of the note text.
          $ref: '#/components/schemas/CodeableConcept'
        text:
          description: The explanation or description associated with the processing.
          $ref: '#/components/schemas/string'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
        language:
          description: A code to define the language used in the text of the note.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    ExplanationOfBenefit_BenefitBalance:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        category:
          description: Code to identify the general type of benefits under which products
            and services are provided.
          $ref: '#/components/schemas/CodeableConcept'
        excluded:
          description: True if the indicated class of service is excluded from the plan,
            missing or False indicates the product or service is included in the coverage.
          $ref: '#/components/schemas/boolean'
        _excluded:
          description: Extensions for excluded
          $ref: '#/components/schemas/Element'
        name:
          description: A short name or tag for the benefit.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        description:
          description: A richer description of the benefit or services covered.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        network:
          description: Is a flag to indicate whether the benefits refer to in-network
            providers or out-of-network providers.
          $ref: '#/components/schemas/CodeableConcept'
        unit:
          description: Indicates if the benefits apply to an individual or to the family.
          $ref: '#/components/schemas/CodeableConcept'
        term:
          description: The term or period of the values such as 'maximum lifetime benefit'
            or 'maximum annual visits'.
          $ref: '#/components/schemas/CodeableConcept'
        financial:
          description: Benefits Used to date.
          items:
            $ref: '#/components/schemas/ExplanationOfBenefit_Financial'
          type: array
      type: object
      additionalProperties: false
      required:
      - category
    ExplanationOfBenefit_Financial:
      description: 'This resource provides: the claim details; adjudication details
        from the processing of a Claim; and optionally account balance information,
        for informing the subscriber of the benefits provided.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Classification of benefit being provided.
          $ref: '#/components/schemas/CodeableConcept'
        allowedUnsignedInt:
          description: The quantity of the benefit which is permitted under the coverage.
          pattern: ^[0]|([1-9][0-9]*)$
          type: number
        _allowedUnsignedInt:
          description: Extensions for allowedUnsignedInt
          $ref: '#/components/schemas/Element'
        allowedString:
          description: The quantity of the benefit which is permitted under the coverage.
          pattern: ^^[\s\S]+$$
          type: string
        _allowedString:
          description: Extensions for allowedString
          $ref: '#/components/schemas/Element'
        allowedMoney:
          description: The quantity of the benefit which is permitted under the coverage.
          $ref: '#/components/schemas/Money'
        usedUnsignedInt:
          description: The quantity of the benefit which have been consumed to date.
          pattern: ^[0]|([1-9][0-9]*)$
          type: number
        _usedUnsignedInt:
          description: Extensions for usedUnsignedInt
          $ref: '#/components/schemas/Element'
        usedMoney:
          description: The quantity of the benefit which have been consumed to date.
          $ref: '#/components/schemas/Money'
      type: object
      additionalProperties: false
      required:
      - type
    FamilyMemberHistory:
      description: Significant health conditions for a person related to the patient
        relevant in the context of care for the patient.
      properties:
        resourceType:
          description: This is a FamilyMemberHistory resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this family member history by
            the performer or other systems which remain constant as the resource is
            updated and propagates from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        instantiatesCanonical:
          description: The URL pointing to a FHIR-defined protocol, guideline, orderset
            or other definition that is adhered to in whole or in part by this FamilyMemberHistory.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        instantiatesUri:
          description: The URL pointing to an externally maintained protocol, guideline,
            orderset or other definition that is adhered to in whole or in part by this
            FamilyMemberHistory.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _instantiatesUri:
          description: Extensions for instantiatesUri
          items:
            $ref: '#/components/schemas/Element'
          type: array
        status:
          description: A code specifying the status of the record of the family history
            of a specific family member.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        dataAbsentReason:
          description: Describes why the family member's history is not available.
          $ref: '#/components/schemas/CodeableConcept'
        patient:
          description: The person who this history concerns.
          $ref: '#/components/schemas/Reference'
        date:
          description: The date (and possibly time) when the family member history was
            recorded or last updated.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        participant:
          description: Indicates who or what participated in the activities related
            to the family member history and how they were involved.
          items:
            $ref: '#/components/schemas/FamilyMemberHistory_Participant'
          type: array
        name:
          description: This will either be a name or a description; e.g. "Aunt Susan",
            "my cousin with the red hair".
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        relationship:
          description: The type of relationship this person has to the patient (father,
            mother, brother etc.).
          $ref: '#/components/schemas/CodeableConcept'
        sex:
          description: The birth sex of the family member.
          $ref: '#/components/schemas/CodeableConcept'
        bornPeriod:
          description: The actual or approximate date of birth of the relative.
          $ref: '#/components/schemas/Period'
        bornDate:
          description: The actual or approximate date of birth of the relative.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _bornDate:
          description: Extensions for bornDate
          $ref: '#/components/schemas/Element'
        bornString:
          description: The actual or approximate date of birth of the relative.
          pattern: ^^[\s\S]+$$
          type: string
        _bornString:
          description: Extensions for bornString
          $ref: '#/components/schemas/Element'
        ageAge:
          description: The age of the relative at the time the family member history
            is recorded.
          $ref: '#/components/schemas/Age'
        ageRange:
          description: The age of the relative at the time the family member history
            is recorded.
          $ref: '#/components/schemas/Range'
        ageString:
          description: The age of the relative at the time the family member history
            is recorded.
          pattern: ^^[\s\S]+$$
          type: string
        _ageString:
          description: Extensions for ageString
          $ref: '#/components/schemas/Element'
        estimatedAge:
          description: If true, indicates that the age value specified is an estimated
            value.
          $ref: '#/components/schemas/boolean'
        _estimatedAge:
          description: Extensions for estimatedAge
          $ref: '#/components/schemas/Element'
        deceasedBoolean:
          description: Deceased flag or the actual or approximate age of the relative
            at the time of death for the family member history record.
          pattern: ^true|false$
          type: boolean
        _deceasedBoolean:
          description: Extensions for deceasedBoolean
          $ref: '#/components/schemas/Element'
        deceasedAge:
          description: Deceased flag or the actual or approximate age of the relative
            at the time of death for the family member history record.
          $ref: '#/components/schemas/Age'
        deceasedRange:
          description: Deceased flag or the actual or approximate age of the relative
            at the time of death for the family member history record.
          $ref: '#/components/schemas/Range'
        deceasedDate:
          description: Deceased flag or the actual or approximate age of the relative
            at the time of death for the family member history record.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _deceasedDate:
          description: Extensions for deceasedDate
          $ref: '#/components/schemas/Element'
        deceasedString:
          description: Deceased flag or the actual or approximate age of the relative
            at the time of death for the family member history record.
          pattern: ^^[\s\S]+$$
          type: string
        _deceasedString:
          description: Extensions for deceasedString
          $ref: '#/components/schemas/Element'
        reason:
          description: Describes why the family member history occurred in coded or
            textual form, or Indicates a Condition, Observation, AllergyIntolerance,
            or QuestionnaireResponse that justifies this family member history event.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        note:
          description: This property allows a non condition-specific note to the made
            about the related person. Ideally, the note would be in the condition property,
            but this is not always possible.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        condition:
          description: The significant Conditions (or condition) that the family member
            had. This is a repeating section to allow a system to represent more than
            one condition per resource, though there is nothing stopping multiple resources
            - one per condition.
          items:
            $ref: '#/components/schemas/FamilyMemberHistory_Condition'
          type: array
        procedure:
          description: The significant Procedures (or procedure) that the family member
            had. This is a repeating section to allow a system to represent more than
            one procedure per resource, though there is nothing stopping multiple resources
            - one per procedure.
          items:
            $ref: '#/components/schemas/FamilyMemberHistory_Procedure'
          type: array
      type: object
      additionalProperties: false
      required:
      - patient
      - relationship
      - resourceType
    FamilyMemberHistory_Participant:
      description: Significant health conditions for a person related to the patient
        relevant in the context of care for the patient.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        function:
          description: Distinguishes the type of involvement of the actor in the activities
            related to the family member history.
          $ref: '#/components/schemas/CodeableConcept'
        actor:
          description: Indicates who or what participated in the activities related
            to the family member history.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - actor
    FamilyMemberHistory_Condition:
      description: Significant health conditions for a person related to the patient
        relevant in the context of care for the patient.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: The actual condition specified. Could be a coded condition (like
            MI or Diabetes) or a less specific string like 'cancer' depending on how
            much is known about the condition and the capabilities of the creating system.
          $ref: '#/components/schemas/CodeableConcept'
        outcome:
          description: Indicates what happened following the condition.  If the condition
            resulted in death, deceased date is captured on the relation.
          $ref: '#/components/schemas/CodeableConcept'
        contributedToDeath:
          description: This condition contributed to the cause of death of the related
            person. If contributedToDeath is not populated, then it is unknown.
          $ref: '#/components/schemas/boolean'
        _contributedToDeath:
          description: Extensions for contributedToDeath
          $ref: '#/components/schemas/Element'
        onsetAge:
          description: Either the age of onset, range of approximate age or descriptive
            string can be recorded.  For conditions with multiple occurrences, this
            describes the first known occurrence.
          $ref: '#/components/schemas/Age'
        onsetRange:
          description: Either the age of onset, range of approximate age or descriptive
            string can be recorded.  For conditions with multiple occurrences, this
            describes the first known occurrence.
          $ref: '#/components/schemas/Range'
        onsetPeriod:
          description: Either the age of onset, range of approximate age or descriptive
            string can be recorded.  For conditions with multiple occurrences, this
            describes the first known occurrence.
          $ref: '#/components/schemas/Period'
        onsetString:
          description: Either the age of onset, range of approximate age or descriptive
            string can be recorded.  For conditions with multiple occurrences, this
            describes the first known occurrence.
          pattern: ^^[\s\S]+$$
          type: string
        _onsetString:
          description: Extensions for onsetString
          $ref: '#/components/schemas/Element'
        note:
          description: An area where general notes can be placed about this specific
            condition.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
    FamilyMemberHistory_Procedure:
      description: Significant health conditions for a person related to the patient
        relevant in the context of care for the patient.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: The actual procedure specified. Could be a coded procedure or
            a less specific string depending on how much is known about the procedure
            and the capabilities of the creating system.
          $ref: '#/components/schemas/CodeableConcept'
        outcome:
          description: Indicates what happened following the procedure. If the procedure
            resulted in death, deceased date is captured on the relation.
          $ref: '#/components/schemas/CodeableConcept'
        contributedToDeath:
          description: This procedure contributed to the cause of death of the related
            person. If contributedToDeath is not populated, then it is unknown.
          $ref: '#/components/schemas/boolean'
        _contributedToDeath:
          description: Extensions for contributedToDeath
          $ref: '#/components/schemas/Element'
        performedAge:
          description: Estimated or actual date, date-time, period, or age when the
            procedure was performed. Allows a period to support complex procedures that
            span more than one date, and also allows for the length of the procedure
            to be captured.
          $ref: '#/components/schemas/Age'
        performedRange:
          description: Estimated or actual date, date-time, period, or age when the
            procedure was performed. Allows a period to support complex procedures that
            span more than one date, and also allows for the length of the procedure
            to be captured.
          $ref: '#/components/schemas/Range'
        performedPeriod:
          description: Estimated or actual date, date-time, period, or age when the
            procedure was performed. Allows a period to support complex procedures that
            span more than one date, and also allows for the length of the procedure
            to be captured.
          $ref: '#/components/schemas/Period'
        performedString:
          description: Estimated or actual date, date-time, period, or age when the
            procedure was performed. Allows a period to support complex procedures that
            span more than one date, and also allows for the length of the procedure
            to be captured.
          pattern: ^^[\s\S]+$$
          type: string
        _performedString:
          description: Extensions for performedString
          $ref: '#/components/schemas/Element'
        performedDateTime:
          description: Estimated or actual date, date-time, period, or age when the
            procedure was performed. Allows a period to support complex procedures that
            span more than one date, and also allows for the length of the procedure
            to be captured.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _performedDateTime:
          description: Extensions for performedDateTime
          $ref: '#/components/schemas/Element'
        note:
          description: An area where general notes can be placed about this specific
            procedure.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
    Flag:
      description: Prospective warnings of potential issues when providing care to the
        patient.
      properties:
        resourceType:
          description: This is a Flag resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this flag by the performer or
            other systems which remain constant as the resource is updated and propagates
            from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: Supports basic workflow.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        category:
          description: Allows a flag to be divided into different categories like clinical,
            administrative etc. Intended to be used as a means of filtering which flags
            are displayed to particular user or in a given context.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        code:
          description: The coded value or textual component of the flag to display to
            the user.
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: The patient, related person, location, group, organization, or
            practitioner etc. this is about record this flag is associated with.
          $ref: '#/components/schemas/Reference'
        period:
          description: The period of time from the activation of the flag to inactivation
            of the flag. If the flag is active, the end of the period should be unspecified.
          $ref: '#/components/schemas/Period'
        encounter:
          description: This alert is only relevant during the encounter.
          $ref: '#/components/schemas/Reference'
        author:
          description: The person, organization or device that created the flag.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - code
      - subject
      - resourceType
    FormularyItem:
      description: This resource describes a product or service that is available through
        a program and includes the conditions and constraints of availability.  All
        of the information in this resource is specific to the inclusion of the item
        in the formulary and is not inherent to the item itself.
      properties:
        resourceType:
          description: This is a FormularyItem resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifier for this formulary item.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        code:
          description: A code (or set of codes) that specify the product or service
            that is identified by this formulary item.
          $ref: '#/components/schemas/CodeableConcept'
        status:
          description: The validity about the information of the formulary item and
            not of the underlying product or service itself.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - resourceType
    GenomicStudy:
      description: A GenomicStudy is a set of analyses performed to analyze and generate
        genomic data.
      properties:
        resourceType:
          description: This is a GenomicStudy resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifiers for this genomic study.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The status of the genomic study.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        type:
          description: The type of the study, e.g., Familial variant segregation, Functional
            variation detection, or Gene expression profiling.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        subject:
          description: The primary subject of the genomic study.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The healthcare event with which this genomics study is associated.
          $ref: '#/components/schemas/Reference'
        startDate:
          description: When the genomic study was started.
          $ref: '#/components/schemas/dateTime'
        _startDate:
          description: Extensions for startDate
          $ref: '#/components/schemas/Element'
        basedOn:
          description: Event resources that the genomic study is based on.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        referrer:
          description: Healthcare professional who requested or referred the genomic
            study.
          $ref: '#/components/schemas/Reference'
        interpreter:
          description: Healthcare professionals who interpreted the genomic study.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        reason:
          description: Why the genomic study was performed.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        instantiatesCanonical:
          description: The defined protocol that describes the study.
          $ref: '#/components/schemas/canonical'
        instantiatesUri:
          description: The URL pointing to an externally maintained protocol that describes
            the study.
          $ref: '#/components/schemas/uri'
        _instantiatesUri:
          description: Extensions for instantiatesUri
          $ref: '#/components/schemas/Element'
        note:
          description: Comments related to the genomic study.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        description:
          description: Description of the genomic study.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        analysis:
          description: The details about a specific analysis that was performed in this
            GenomicStudy.
          items:
            $ref: '#/components/schemas/GenomicStudy_Analysis'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - resourceType
    GenomicStudy_Analysis:
      description: A GenomicStudy is a set of analyses performed to analyze and generate
        genomic data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifiers for the analysis event.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        methodType:
          description: Type of the methods used in the analysis, e.g., Fluorescence
            in situ hybridization (FISH), Karyotyping, or Microsatellite instability
            testing (MSI).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        changeType:
          description: Type of the genomic changes studied in the analysis, e.g., DNA,
            RNA, or amino acid change.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        genomeBuild:
          description: The reference genome build that is used in this analysis.
          $ref: '#/components/schemas/CodeableConcept'
        instantiatesCanonical:
          description: The defined protocol that describes the analysis.
          $ref: '#/components/schemas/canonical'
        instantiatesUri:
          description: The URL pointing to an externally maintained protocol that describes
            the analysis.
          $ref: '#/components/schemas/uri'
        _instantiatesUri:
          description: Extensions for instantiatesUri
          $ref: '#/components/schemas/Element'
        title:
          description: Name of the analysis event (human friendly).
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        focus:
          description: The focus of a genomic analysis when it is not the patient of
            record representing something or someone associated with the patient such
            as a spouse, parent, child, or sibling. For example, in trio testing, the
            GenomicStudy.subject would be the child (proband) and the GenomicStudy.analysis.focus
            of a specific analysis would be the parent.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        specimen:
          description: The specimen used in the analysis event.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        date:
          description: The date of the analysis event.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        note:
          description: Any notes capture with the analysis event.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        protocolPerformed:
          description: The protocol that was performed for the analysis event.
          $ref: '#/components/schemas/Reference'
        regionsStudied:
          description: The genomic regions to be studied in the analysis (BED file).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        regionsCalled:
          description: Genomic regions actually called in the analysis event (BED file).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        input:
          description: Inputs for the analysis event.
          items:
            $ref: '#/components/schemas/GenomicStudy_Input'
          type: array
        output:
          description: Outputs for the analysis event.
          items:
            $ref: '#/components/schemas/GenomicStudy_Output'
          type: array
        performer:
          description: Performer for the analysis event.
          items:
            $ref: '#/components/schemas/GenomicStudy_Performer'
          type: array
        device:
          description: Devices used for the analysis (e.g., instruments, software),
            with settings and parameters.
          items:
            $ref: '#/components/schemas/GenomicStudy_Device'
          type: array
      type: object
      additionalProperties: false
    GenomicStudy_Input:
      description: A GenomicStudy is a set of analyses performed to analyze and generate
        genomic data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        file:
          description: File containing input data.
          $ref: '#/components/schemas/Reference'
        type:
          description: Type of input data, e.g., BAM, CRAM, or FASTA.
          $ref: '#/components/schemas/CodeableConcept'
        generatedByIdentifier:
          description: The analysis event or other GenomicStudy that generated this
            input file.
          $ref: '#/components/schemas/Identifier'
        generatedByReference:
          description: The analysis event or other GenomicStudy that generated this
            input file.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    GenomicStudy_Output:
      description: A GenomicStudy is a set of analyses performed to analyze and generate
        genomic data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        file:
          description: File containing output data.
          $ref: '#/components/schemas/Reference'
        type:
          description: Type of output data, e.g., VCF, MAF, or BAM.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    GenomicStudy_Performer:
      description: A GenomicStudy is a set of analyses performed to analyze and generate
        genomic data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        actor:
          description: The organization, healthcare professional, or others who participated
            in performing this analysis.
          $ref: '#/components/schemas/Reference'
        role:
          description: Role of the actor for this analysis.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    GenomicStudy_Device:
      description: A GenomicStudy is a set of analyses performed to analyze and generate
        genomic data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        device:
          description: Device used for the analysis.
          $ref: '#/components/schemas/Reference'
        function:
          description: Specific function for the device used for the analysis.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    Goal:
      description: Describes the intended objective(s) for a patient, group or organization
        care, for example, weight loss, restoring an activity of daily living, obtaining
        herd immunity via immunization, meeting a process improvement objective, etc.
      properties:
        resourceType:
          description: This is a Goal resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this goal by the performer or
            other systems which remain constant as the resource is updated and propagates
            from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        lifecycleStatus:
          description: The state of the goal throughout its lifecycle.
          $ref: '#/components/schemas/code'
        _lifecycleStatus:
          description: Extensions for lifecycleStatus
          $ref: '#/components/schemas/Element'
        achievementStatus:
          description: Describes the progression, or lack thereof, towards the goal
            against the target.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: Indicates a category the goal falls within.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        continuous:
          description: After meeting the goal, ongoing activity is needed to sustain
            the goal objective.
          $ref: '#/components/schemas/boolean'
        _continuous:
          description: Extensions for continuous
          $ref: '#/components/schemas/Element'
        priority:
          description: Identifies the mutually agreed level of importance associated
            with reaching/sustaining the goal.
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: Human-readable and/or coded description of a specific desired
            objective of care, such as "control blood pressure" or "negotiate an obstacle
            course" or "dance with child at wedding".
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: Identifies the patient, group or organization for whom the goal
            is being established.
          $ref: '#/components/schemas/Reference'
        startDate:
          description: The date or event after which the goal should begin being pursued.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _startDate:
          description: Extensions for startDate
          $ref: '#/components/schemas/Element'
        startCodeableConcept:
          description: The date or event after which the goal should begin being pursued.
          $ref: '#/components/schemas/CodeableConcept'
        target:
          description: Indicates what should be done by when.
          items:
            $ref: '#/components/schemas/Goal_Target'
          type: array
        statusDate:
          description: Identifies when the current status.  I.e. When initially created,
            when achieved, when cancelled, etc.
          $ref: '#/components/schemas/date'
        _statusDate:
          description: Extensions for statusDate
          $ref: '#/components/schemas/Element'
        statusReason:
          description: Captures the reason for the current status.
          $ref: '#/components/schemas/string'
        _statusReason:
          description: Extensions for statusReason
          $ref: '#/components/schemas/Element'
        source:
          description: Indicates whose goal this is - patient goal, practitioner goal,
            etc.
          $ref: '#/components/schemas/Reference'
        addresses:
          description: The identified conditions and other health record elements that
            are intended to be addressed by the goal.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        note:
          description: Any comments related to the goal.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        outcome:
          description: Identifies the change (or lack of change) at the point when the
            status of the goal is assessed.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - description
      - resourceType
    Goal_Target:
      description: Describes the intended objective(s) for a patient, group or organization
        care, for example, weight loss, restoring an activity of daily living, obtaining
        herd immunity via immunization, meeting a process improvement objective, etc.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        measure:
          description: The parameter whose value is being tracked, e.g. body weight,
            blood pressure, or hemoglobin A1c level.
          $ref: '#/components/schemas/CodeableConcept'
        detailQuantity:
          description: The target value of the focus to be achieved to signify the fulfillment
            of the goal, e.g. 150 pounds, 7.0%. Either the high or low or both values
            of the range can be specified. When a low value is missing, it indicates
            that the goal is achieved at any focus value at or below the high value.
            Similarly, if the high value is missing, it indicates that the goal is achieved
            at any focus value at or above the low value.
          $ref: '#/components/schemas/Quantity'
        detailRange:
          description: The target value of the focus to be achieved to signify the fulfillment
            of the goal, e.g. 150 pounds, 7.0%. Either the high or low or both values
            of the range can be specified. When a low value is missing, it indicates
            that the goal is achieved at any focus value at or below the high value.
            Similarly, if the high value is missing, it indicates that the goal is achieved
            at any focus value at or above the low value.
          $ref: '#/components/schemas/Range'
        detailCodeableConcept:
          description: The target value of the focus to be achieved to signify the fulfillment
            of the goal, e.g. 150 pounds, 7.0%. Either the high or low or both values
            of the range can be specified. When a low value is missing, it indicates
            that the goal is achieved at any focus value at or below the high value.
            Similarly, if the high value is missing, it indicates that the goal is achieved
            at any focus value at or above the low value.
          $ref: '#/components/schemas/CodeableConcept'
        detailString:
          description: The target value of the focus to be achieved to signify the fulfillment
            of the goal, e.g. 150 pounds, 7.0%. Either the high or low or both values
            of the range can be specified. When a low value is missing, it indicates
            that the goal is achieved at any focus value at or below the high value.
            Similarly, if the high value is missing, it indicates that the goal is achieved
            at any focus value at or above the low value.
          pattern: ^^[\s\S]+$$
          type: string
        _detailString:
          description: Extensions for detailString
          $ref: '#/components/schemas/Element'
        detailBoolean:
          description: The target value of the focus to be achieved to signify the fulfillment
            of the goal, e.g. 150 pounds, 7.0%. Either the high or low or both values
            of the range can be specified. When a low value is missing, it indicates
            that the goal is achieved at any focus value at or below the high value.
            Similarly, if the high value is missing, it indicates that the goal is achieved
            at any focus value at or above the low value.
          pattern: ^true|false$
          type: boolean
        _detailBoolean:
          description: Extensions for detailBoolean
          $ref: '#/components/schemas/Element'
        detailInteger:
          description: The target value of the focus to be achieved to signify the fulfillment
            of the goal, e.g. 150 pounds, 7.0%. Either the high or low or both values
            of the range can be specified. When a low value is missing, it indicates
            that the goal is achieved at any focus value at or below the high value.
            Similarly, if the high value is missing, it indicates that the goal is achieved
            at any focus value at or above the low value.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _detailInteger:
          description: Extensions for detailInteger
          $ref: '#/components/schemas/Element'
        detailRatio:
          description: The target value of the focus to be achieved to signify the fulfillment
            of the goal, e.g. 150 pounds, 7.0%. Either the high or low or both values
            of the range can be specified. When a low value is missing, it indicates
            that the goal is achieved at any focus value at or below the high value.
            Similarly, if the high value is missing, it indicates that the goal is achieved
            at any focus value at or above the low value.
          $ref: '#/components/schemas/Ratio'
        dueDate:
          description: Indicates either the date or the duration after start by which
            the goal should be met.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _dueDate:
          description: Extensions for dueDate
          $ref: '#/components/schemas/Element'
        dueDuration:
          description: Indicates either the date or the duration after start by which
            the goal should be met.
          $ref: '#/components/schemas/Duration'
      type: object
      additionalProperties: false
    GraphDefinition:
      description: A formal computable definition of a graph of resources - that is,
        a coherent set of resources that form a graph by following references. The Graph
        Definition resource defines a set and makes rules about the set.
      properties:
        resourceType:
          description: This is a GraphDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this graph definition
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this graph
            definition is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the graph definition is stored
            on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this GraphDefinition
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the graph
            definition when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the graph definition author and is
            not expected to be globally unique. For example, it might be a timestamp
            (e.g. yyyymmdd) if a managed version is not available. There is also no
            expectation that versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the graph definition. This
            name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the capability
            statement.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this graph definition. Enables tracking the life-cycle
            of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this graph definition is authored
            for testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the graph definition was
            last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the graph definition changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the graph definition.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the graph definition
            from a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            graph definition instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the graph definition is
            intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this graph definition is needed and why it
            has been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the graph definition and/or
            its contents. Copyright statements are generally legal restrictions on the
            use and publishing of the graph definition.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        start:
          description: The Node at which instances of this graph start. If there is
            no nominated start, the graph can start at any of the nodes.
          $ref: '#/components/schemas/id'
        _start:
          description: Extensions for start
          $ref: '#/components/schemas/Element'
        node:
          description: Potential target for the link.
          items:
            $ref: '#/components/schemas/GraphDefinition_Node'
          type: array
        link:
          description: Links this graph makes rules about.
          items:
            $ref: '#/components/schemas/GraphDefinition_Link'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    GraphDefinition_Node:
      description: A formal computable definition of a graph of resources - that is,
        a coherent set of resources that form a graph by following references. The Graph
        Definition resource defines a set and makes rules about the set.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        nodeId:
          description: Internal ID of node - target for link references.
          $ref: '#/components/schemas/id'
        _nodeId:
          description: Extensions for nodeId
          $ref: '#/components/schemas/Element'
        description:
          description: Information about why this node is of interest in this graph
            definition.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        type:
          description: Type of resource this link refers to.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        profile:
          description: Profile for the target resource.
          $ref: '#/components/schemas/canonical'
      type: object
      additionalProperties: false
    GraphDefinition_Link:
      description: A formal computable definition of a graph of resources - that is,
        a coherent set of resources that form a graph by following references. The Graph
        Definition resource defines a set and makes rules about the set.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: Information about why this link is of interest in this graph
            definition.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        min:
          description: Minimum occurrences for this link.
          $ref: '#/components/schemas/integer'
        _min:
          description: Extensions for min
          $ref: '#/components/schemas/Element'
        max:
          description: Maximum occurrences for this link.
          $ref: '#/components/schemas/string'
        _max:
          description: Extensions for max
          $ref: '#/components/schemas/Element'
        sourceId:
          description: The source node for this link.
          $ref: '#/components/schemas/id'
        _sourceId:
          description: Extensions for sourceId
          $ref: '#/components/schemas/Element'
        path:
          description: A FHIRPath expression that identifies one of FHIR References
            to other resources.
          $ref: '#/components/schemas/string'
        _path:
          description: Extensions for path
          $ref: '#/components/schemas/Element'
        sliceName:
          description: Which slice (if profiled).
          $ref: '#/components/schemas/string'
        _sliceName:
          description: Extensions for sliceName
          $ref: '#/components/schemas/Element'
        targetId:
          description: The target node for this link.
          $ref: '#/components/schemas/id'
        _targetId:
          description: Extensions for targetId
          $ref: '#/components/schemas/Element'
        params:
          description: A set of parameters to look up.
          $ref: '#/components/schemas/string'
        _params:
          description: Extensions for params
          $ref: '#/components/schemas/Element'
        compartment:
          description: Compartment Consistency Rules.
          items:
            $ref: '#/components/schemas/GraphDefinition_Compartment'
          type: array
      type: object
      additionalProperties: false
    GraphDefinition_Compartment:
      description: A formal computable definition of a graph of resources - that is,
        a coherent set of resources that form a graph by following references. The Graph
        Definition resource defines a set and makes rules about the set.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        use:
          description: Defines how the compartment rule is used - whether it it is used
            to test whether resources are subject to the rule, or whether it is a rule
            that must be followed.
          $ref: '#/components/schemas/code'
        _use:
          description: Extensions for use
          $ref: '#/components/schemas/Element'
        rule:
          description: identical | matching | different | no-rule | custom.
          $ref: '#/components/schemas/code'
        _rule:
          description: Extensions for rule
          $ref: '#/components/schemas/Element'
        code:
          description: Identifies the compartment.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        expression:
          description: Custom rule, as a FHIRPath expression.
          $ref: '#/components/schemas/string'
        _expression:
          description: Extensions for expression
          $ref: '#/components/schemas/Element'
        description:
          description: Documentation for FHIRPath expression.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Group:
      description: Represents a defined collection of entities that may be discussed
        or acted upon collectively but which are not expected to act collectively, and
        are not formally or legally recognized; i.e. a collection of entities that isn't
        an Organization.
      properties:
        resourceType:
          description: This is a Group resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this participant by one of the
            applications involved.  These identifiers remain constant as the resource
            is updated and propagates from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        active:
          description: Indicates whether the record for the group is available for use
            or is merely being retained for historical purposes.
          $ref: '#/components/schemas/boolean'
        _active:
          description: Extensions for active
          $ref: '#/components/schemas/Element'
        type:
          description: Identifies the broad classification of the kind of resources
            the group includes.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        membership:
          description: 'Basis for membership in the Group:


            * ''definitional'': The Group.characteristics specified are both necessary
            and sufficient to determine membership. All entities that meet the criteria
            are considered to be members of the group, whether referenced by the group
            or not. If members are present, they are individuals that happen to be known
            as meeting the Group.characteristics. The list cannot be presumed to be
            complete.

            * ''enumerated'': The Group.characteristics are necessary but not sufficient
            to determine membership. Membership is determined by being listed as one
            of the Group.member.'
          $ref: '#/components/schemas/code'
        _membership:
          description: Extensions for membership
          $ref: '#/components/schemas/Element'
        code:
          description: Provides a specific type of resource the group includes; e.g.
            "cow", "syringe", etc.
          $ref: '#/components/schemas/CodeableConcept'
        name:
          description: A label assigned to the group for human identification and communication.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        description:
          description: Explanation of what the group represents and how it is intended
            to be used.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        quantity:
          description: A count of the number of resource instances that are part of
            the group.
          $ref: '#/components/schemas/unsignedInt'
        _quantity:
          description: Extensions for quantity
          $ref: '#/components/schemas/Element'
        managingEntity:
          description: Entity responsible for defining and maintaining Group characteristics
            and/or registered members.
          $ref: '#/components/schemas/Reference'
        characteristic:
          description: Identifies traits whose presence r absence is shared by members
            of the group.
          items:
            $ref: '#/components/schemas/Group_Characteristic'
          type: array
        member:
          description: Identifies the resource instances that are members of the group.
          items:
            $ref: '#/components/schemas/Group_Member'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    Group_Characteristic:
      description: Represents a defined collection of entities that may be discussed
        or acted upon collectively but which are not expected to act collectively, and
        are not formally or legally recognized; i.e. a collection of entities that isn't
        an Organization.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A code that identifies the kind of trait being asserted.
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableConcept:
          description: The value of the trait that holds (or does not hold - see 'exclude')
            for members of the group.
          $ref: '#/components/schemas/CodeableConcept'
        valueBoolean:
          description: The value of the trait that holds (or does not hold - see 'exclude')
            for members of the group.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueQuantity:
          description: The value of the trait that holds (or does not hold - see 'exclude')
            for members of the group.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: The value of the trait that holds (or does not hold - see 'exclude')
            for members of the group.
          $ref: '#/components/schemas/Range'
        valueReference:
          description: The value of the trait that holds (or does not hold - see 'exclude')
            for members of the group.
          $ref: '#/components/schemas/Reference'
        exclude:
          description: If true, indicates the characteristic is one that is NOT held
            by members of the group.
          $ref: '#/components/schemas/boolean'
        _exclude:
          description: Extensions for exclude
          $ref: '#/components/schemas/Element'
        period:
          description: The period over which the characteristic is tested; e.g. the
            patient had an operation during the month of June.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - code
    Group_Member:
      description: Represents a defined collection of entities that may be discussed
        or acted upon collectively but which are not expected to act collectively, and
        are not formally or legally recognized; i.e. a collection of entities that isn't
        an Organization.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        entity:
          description: A reference to the entity that is a member of the group. Must
            be consistent with Group.type. If the entity is another group, then the
            type must be the same.
          $ref: '#/components/schemas/Reference'
        period:
          description: The period that the member was in the group, if known.
          $ref: '#/components/schemas/Period'
        inactive:
          description: A flag to indicate that the member is no longer in the group,
            but previously may have been a member.
          $ref: '#/components/schemas/boolean'
        _inactive:
          description: Extensions for inactive
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - entity
    GuidanceResponse:
      description: A guidance response is the formal response to a guidance request,
        including any output parameters returned by the evaluation, as well as the description
        of any proposed actions to be taken.
      properties:
        resourceType:
          description: This is a GuidanceResponse resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        requestIdentifier:
          description: The identifier of the request associated with this response.
            If an identifier was given as part of the request, it will be reproduced
            here to enable the requester to more easily identify the response in a multi-request
            scenario.
          $ref: '#/components/schemas/Identifier'
        identifier:
          description: Allows a service to provide  unique, business identifiers for
            the response.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        moduleUri:
          description: An identifier, CodeableConcept or canonical reference to the
            guidance that was requested.
          pattern: ^\S*$
          type: string
        _moduleUri:
          description: Extensions for moduleUri
          $ref: '#/components/schemas/Element'
        moduleCanonical:
          description: An identifier, CodeableConcept or canonical reference to the
            guidance that was requested.
          pattern: ^\S*$
          type: string
        _moduleCanonical:
          description: Extensions for moduleCanonical
          $ref: '#/components/schemas/Element'
        moduleCodeableConcept:
          description: An identifier, CodeableConcept or canonical reference to the
            guidance that was requested.
          $ref: '#/components/schemas/CodeableConcept'
        status:
          description: The status of the response. If the evaluation is completed successfully,
            the status will indicate success. However, in order to complete the evaluation,
            the engine may require more information. In this case, the status will be
            data-required, and the response will contain a description of the additional
            required information. If the evaluation completed successfully, but the
            engine determines that a potentially more accurate response could be provided
            if more data was available, the status will be data-requested, and the response
            will contain a description of the additional requested information.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        subject:
          description: The patient for which the request was processed.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The encounter during which this response was created or to which
            the creation of this record is tightly associated.
          $ref: '#/components/schemas/Reference'
        occurrenceDateTime:
          description: Indicates when the guidance response was processed.
          $ref: '#/components/schemas/dateTime'
        _occurrenceDateTime:
          description: Extensions for occurrenceDateTime
          $ref: '#/components/schemas/Element'
        performer:
          description: Provides a reference to the device that performed the guidance.
          $ref: '#/components/schemas/Reference'
        reason:
          description: Describes the reason for the guidance response in coded or textual
            form, or Indicates the reason the request was initiated. This is typically
            provided as a parameter to the evaluation and echoed by the service, although
            for some use cases, such as subscription- or event-based scenarios, it may
            provide an indication of the cause for the response.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        note:
          description: Provides a mechanism to communicate additional information about
            the response.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        evaluationMessage:
          description: Messages resulting from the evaluation of the artifact or artifacts.
            As part of evaluating the request, the engine may produce informational
            or warning messages. These messages will be provided by this element.
          $ref: '#/components/schemas/Reference'
        outputParameters:
          description: The output parameters of the evaluation, if any. Many modules
            will result in the return of specific resources such as procedure or communication
            requests that are returned as part of the operation result. However, modules
            may define specific outputs that would be returned as the result of the
            evaluation, and these would be returned in this element.
          $ref: '#/components/schemas/Reference'
        result:
          description: The actions, if any, produced by the evaluation of the artifact.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        dataRequirement:
          description: If the evaluation could not be completed due to lack of information,
            or additional information would potentially result in a more accurate response,
            this element will a description of the data required in order to proceed
            with the evaluation. A subsequent request to the service should include
            this data.
          items:
            $ref: '#/components/schemas/DataRequirement'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    HealthcareService:
      description: The details of a healthcare service available at a location.
      properties:
        resourceType:
          description: This is a HealthcareService resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: External identifiers for this item.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        active:
          description: This flag is used to mark the record to not be used. This is
            not used when a center is closed for maintenance, or for holidays, the notAvailable
            period is to be used for this.
          $ref: '#/components/schemas/boolean'
        _active:
          description: Extensions for active
          $ref: '#/components/schemas/Element'
        providedBy:
          description: The organization that provides this healthcare service.
          $ref: '#/components/schemas/Reference'
        offeredIn:
          description: When the HealthcareService is representing a specific, schedulable
            service, the availableIn property can refer to a generic service.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        category:
          description: Identifies the broad category of service being performed or delivered.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        type:
          description: The specific type of service that may be delivered or performed.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        specialty:
          description: Collection of specialties handled by the Healthcare service.
            This is more of a medical term.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        location:
          description: The location(s) where this healthcare service may be provided.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        name:
          description: Further description of the service as it would be presented to
            a consumer while searching.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        comment:
          description: Any additional description of the service and/or any specific
            issues not covered by the other attributes, which can be displayed as further
            detail under the serviceName.
          $ref: '#/components/schemas/markdown'
        _comment:
          description: Extensions for comment
          $ref: '#/components/schemas/Element'
        extraDetails:
          description: Extra details about the service that can't be placed in the other
            fields.
          $ref: '#/components/schemas/markdown'
        _extraDetails:
          description: Extensions for extraDetails
          $ref: '#/components/schemas/Element'
        photo:
          description: If there is a photo/symbol associated with this HealthcareService,
            it may be included here to facilitate quick identification of the service
            in a list.
          $ref: '#/components/schemas/Attachment'
        contact:
          description: The contact details of communication devices available relevant
            to the specific HealthcareService. This can include addresses, phone numbers,
            fax numbers, mobile numbers, email addresses and web sites.
          items:
            $ref: '#/components/schemas/ExtendedContactDetail'
          type: array
        coverageArea:
          description: The location(s) that this service is available to (not where
            the service is provided).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        serviceProvisionCode:
          description: The code(s) that detail the conditions under which the healthcare
            service is available/offered.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        eligibility:
          description: Does this service have specific eligibility requirements that
            need to be met in order to use the service?
          items:
            $ref: '#/components/schemas/HealthcareService_Eligibility'
          type: array
        program:
          description: Programs that this service is applicable to.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        characteristic:
          description: Collection of characteristics (attributes).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        communication:
          description: Some services are specifically made available in multiple languages,
            this property permits a directory to declare the languages this is offered
            in. Typically this is only provided where a service operates in communities
            with mixed languages used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        referralMethod:
          description: Ways that the service accepts referrals, if this is not provided
            then it is implied that no referral is required.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        appointmentRequired:
          description: Indicates whether or not a prospective consumer will require
            an appointment for a particular service at a site to be provided by the
            Organization. Indicates if an appointment is required for access to this
            service.
          $ref: '#/components/schemas/boolean'
        _appointmentRequired:
          description: Extensions for appointmentRequired
          $ref: '#/components/schemas/Element'
        availability:
          description: A collection of times that the healthcare service is available.
          $ref: '#/components/schemas/Availability'
        endpoint:
          description: Technical endpoints providing access to services operated for
            the specific healthcare services defined at this resource.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    HealthcareService_Eligibility:
      description: The details of a healthcare service available at a location.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Coded value for the eligibility.
          $ref: '#/components/schemas/CodeableConcept'
        comment:
          description: Describes the eligibility conditions for the service.
          $ref: '#/components/schemas/markdown'
        _comment:
          description: Extensions for comment
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ImagingSelection:
      description: A selection of DICOM SOP instances and/or frames within a single
        Study and Series. This might include additional specifics such as an image region,
        an Observation UID or a Segmentation Number, allowing linkage to an Observation
        Resource or transferring this information along with the ImagingStudy Resource.
      properties:
        resourceType:
          description: This is a ImagingSelection resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A unique identifier assigned to this imaging selection.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The current state of the ImagingSelection resource. This is not
            the status of any ImagingStudy, ServiceRequest, or Task resources associated
            with the ImagingSelection.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        subject:
          description: The patient, or group of patients, location, device, organization,
            procedure or practitioner this imaging selection is about and into whose
            or what record the imaging selection is placed.
          $ref: '#/components/schemas/Reference'
        issued:
          description: The date and time this imaging selection was created.
          $ref: '#/components/schemas/instant'
        _issued:
          description: Extensions for issued
          $ref: '#/components/schemas/Element'
        performer:
          description: Selector of the instances – human or machine.
          items:
            $ref: '#/components/schemas/ImagingSelection_Performer'
          type: array
        basedOn:
          description: A list of the diagnostic requests that resulted in this imaging
            selection being performed.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        category:
          description: Classifies the imaging selection.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        code:
          description: Reason for referencing the selected content.
          $ref: '#/components/schemas/CodeableConcept'
        studyUid:
          description: The Study Instance UID for the DICOM Study from which the images
            were selected.
          $ref: '#/components/schemas/id'
        _studyUid:
          description: Extensions for studyUid
          $ref: '#/components/schemas/Element'
        derivedFrom:
          description: The imaging study from which the imaging selection is made.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        endpoint:
          description: The network service providing retrieval access to the selected
            images, frames, etc. See implementation notes for information about using
            DICOM endpoints.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        seriesUid:
          description: The Series Instance UID for the DICOM Series from which the images
            were selected.
          $ref: '#/components/schemas/id'
        _seriesUid:
          description: Extensions for seriesUid
          $ref: '#/components/schemas/Element'
        seriesNumber:
          description: The Series Number for the DICOM Series from which the images
            were selected.
          $ref: '#/components/schemas/unsignedInt'
        _seriesNumber:
          description: Extensions for seriesNumber
          $ref: '#/components/schemas/Element'
        frameOfReferenceUid:
          description: The Frame of Reference UID identifying the coordinate system
            that conveys spatial and/or temporal information for the selected images
            or frames.
          $ref: '#/components/schemas/id'
        _frameOfReferenceUid:
          description: Extensions for frameOfReferenceUid
          $ref: '#/components/schemas/Element'
        bodySite:
          description: The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html)
            for DICOM to SNOMED-CT mappings.
          $ref: '#/components/schemas/CodeableReference'
        focus:
          description: The actual focus of an observation when it is not the patient
            of record representing something or someone associated with the patient
            such as a spouse, parent, fetus, or donor. For example, fetus observations
            in a mother's record.  The focus of an observation could also be an existing
            condition,  an intervention, the subject's diet,  another observation of
            the subject,  or a body structure such as tumor or implanted device.   An
            example use case would be using the Observation resource to capture whether
            the mother is trained to change her child's tracheostomy tube. In this example,
            the child is the patient of record and the mother is the focus.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        instance:
          description: Each imaging selection includes one or more selected DICOM SOP
            instances.
          items:
            $ref: '#/components/schemas/ImagingSelection_Instance'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
      - resourceType
    ImagingSelection_Performer:
      description: A selection of DICOM SOP instances and/or frames within a single
        Study and Series. This might include additional specifics such as an image region,
        an Observation UID or a Segmentation Number, allowing linkage to an Observation
        Resource or transferring this information along with the ImagingStudy Resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        function:
          description: Distinguishes the type of involvement of the performer.
          $ref: '#/components/schemas/CodeableConcept'
        actor:
          description: Author – human or machine.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    ImagingSelection_Instance:
      description: A selection of DICOM SOP instances and/or frames within a single
        Study and Series. This might include additional specifics such as an image region,
        an Observation UID or a Segmentation Number, allowing linkage to an Observation
        Resource or transferring this information along with the ImagingStudy Resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        uid:
          description: The SOP Instance UID for the selected DICOM instance.
          $ref: '#/components/schemas/id'
        _uid:
          description: Extensions for uid
          $ref: '#/components/schemas/Element'
        number:
          description: The Instance Number for the selected DICOM instance.
          $ref: '#/components/schemas/unsignedInt'
        _number:
          description: Extensions for number
          $ref: '#/components/schemas/Element'
        sopClass:
          description: The SOP Class UID for the selected DICOM instance.
          $ref: '#/components/schemas/Coding'
        subset:
          description: "Selected subset of the SOP Instance. The content and format\
            \ of the subset item is determined by the SOP Class of the selected instance.\n\
            \       May be one of:\n       - A list of frame numbers selected from a\
            \ multiframe SOP Instance.\n       - A list of Content Item Observation\
            \ UID values selected from a DICOM SR or other structured document SOP Instance.\n\
            \       - A list of segment numbers selected from a segmentation SOP Instance.\n\
            \       - A list of Region of Interest (ROI) numbers selected from a radiotherapy\
            \ structure set SOP Instance."
          items:
            $ref: '#/components/schemas/string'
          type: array
        _subset:
          description: Extensions for subset
          items:
            $ref: '#/components/schemas/Element'
          type: array
        imageRegion2D:
          description: "Each imaging selection instance or frame list might includes\
            \ an image region, specified by a region type and a set of 2D coordinates.\n\
            \       If the parent imagingSelection.instance contains a subset element\
            \ of type frame, the image region applies to all frames in the subset list."
          items:
            $ref: '#/components/schemas/ImagingSelection_ImageRegion2D'
          type: array
        imageRegion3D:
          description: Each imaging selection might includes a 3D image region, specified
            by a region type and a set of 3D coordinates.
          items:
            $ref: '#/components/schemas/ImagingSelection_ImageRegion3D'
          type: array
      type: object
      additionalProperties: false
    ImagingSelection_ImageRegion2D:
      description: A selection of DICOM SOP instances and/or frames within a single
        Study and Series. This might include additional specifics such as an image region,
        an Observation UID or a Segmentation Number, allowing linkage to an Observation
        Resource or transferring this information along with the ImagingStudy Resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        regionType:
          description: Specifies the type of image region.
          $ref: '#/components/schemas/code'
        _regionType:
          description: Extensions for regionType
          $ref: '#/components/schemas/Element'
        coordinate:
          description: "The coordinates describing the image region. Encoded as a set\
            \ of (column, row) pairs that denote positions in the selected image / frames\
            \ specified with sub-pixel resolution.\n       The origin at the TLHC of\
            \ the TLHC pixel is 0.0\\0.0, the BRHC of the TLHC pixel is 1.0\\1.0, and\
            \ the BRHC of the BRHC pixel is the number of columns\\rows in the image\
            \ / frames. The values must be within the range 0\\0 to the number of columns\\\
            rows in the image / frames."
          items:
            $ref: '#/components/schemas/decimal'
          type: array
        _coordinate:
          description: Extensions for coordinate
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
    ImagingSelection_ImageRegion3D:
      description: A selection of DICOM SOP instances and/or frames within a single
        Study and Series. This might include additional specifics such as an image region,
        an Observation UID or a Segmentation Number, allowing linkage to an Observation
        Resource or transferring this information along with the ImagingStudy Resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        regionType:
          description: Specifies the type of image region.
          $ref: '#/components/schemas/code'
        _regionType:
          description: Extensions for regionType
          $ref: '#/components/schemas/Element'
        coordinate:
          description: The coordinates describing the image region. Encoded as an ordered
            set of (x,y,z) triplets (in mm and may be negative) that define a region
            of interest in the patient-relative Reference Coordinate System defined
            by ImagingSelection.frameOfReferenceUid element.
          items:
            $ref: '#/components/schemas/decimal'
          type: array
        _coordinate:
          description: Extensions for coordinate
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
    ImagingStudy:
      description: Representation of the content produced in a DICOM imaging study.
        A study comprises a set of series, each of which includes a set of Service-Object
        Pair Instances (SOP Instances - images or other data) acquired or produced in
        a common context.  A series is of only one modality (e.g. X-ray, CT, MR, ultrasound),
        but a study may have multiple series of different modalities.
      properties:
        resourceType:
          description: This is a ImagingStudy resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifiers for the ImagingStudy such as DICOM Study Instance
            UID.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The current state of the ImagingStudy resource. This is not the
            status of any ServiceRequest or Task resources associated with the ImagingStudy.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        modality:
          description: A list of all the distinct values of series.modality. This may
            include both acquisition and non-acquisition modalities.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        subject:
          description: The subject, typically a patient, of the imaging study.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The healthcare event (e.g. a patient and healthcare provider
            interaction) during which this ImagingStudy is made.
          $ref: '#/components/schemas/Reference'
        started:
          description: Date and time the study started.
          $ref: '#/components/schemas/dateTime'
        _started:
          description: Extensions for started
          $ref: '#/components/schemas/Element'
        basedOn:
          description: A list of the diagnostic requests that resulted in this imaging
            study being performed.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        partOf:
          description: A larger event of which this particular ImagingStudy is a component
            or step.  For example,  an ImagingStudy as part of a procedure.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        referrer:
          description: The requesting/referring physician.
          $ref: '#/components/schemas/Reference'
        endpoint:
          description: The network service providing access (e.g., query, view, or retrieval)
            for the study. See implementation notes for information about using DICOM
            endpoints. A study-level endpoint applies to each series in the study, unless
            overridden by a series-level endpoint with the same Endpoint.connectionType.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        numberOfSeries:
          description: Number of Series in the Study. This value given may be larger
            than the number of series elements this Resource contains due to resource
            availability, security, or other factors. This element should be present
            if any series elements are present.
          $ref: '#/components/schemas/unsignedInt'
        _numberOfSeries:
          description: Extensions for numberOfSeries
          $ref: '#/components/schemas/Element'
        numberOfInstances:
          description: Number of SOP Instances in Study. This value given may be larger
            than the number of instance elements this resource contains due to resource
            availability, security, or other factors. This element should be present
            if any instance elements are present.
          $ref: '#/components/schemas/unsignedInt'
        _numberOfInstances:
          description: Extensions for numberOfInstances
          $ref: '#/components/schemas/Element'
        procedure:
          description: This field corresponds to the DICOM Procedure Code Sequence (0008,1032).
            This is different from the FHIR Procedure resource that may include the
            ImagingStudy.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        location:
          description: The principal physical location where the ImagingStudy was performed.
          $ref: '#/components/schemas/Reference'
        reason:
          description: Description of clinical condition indicating why the ImagingStudy
            was requested, and/or Indicates another resource whose existence justifies
            this Study.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        note:
          description: Per the recommended DICOM mapping, this element is derived from
            the Study Description attribute (0008,1030). Observations or findings about
            the imaging study should be recorded in another resource, e.g. Observation,
            and not in this element.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        description:
          description: The Imaging Manager description of the study. Institution-generated
            description or classification of the Study (component) performed.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        series:
          description: Each study has one or more series of images or other content.
          items:
            $ref: '#/components/schemas/ImagingStudy_Series'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - resourceType
    ImagingStudy_Series:
      description: Representation of the content produced in a DICOM imaging study.
        A study comprises a set of series, each of which includes a set of Service-Object
        Pair Instances (SOP Instances - images or other data) acquired or produced in
        a common context.  A series is of only one modality (e.g. X-ray, CT, MR, ultrasound),
        but a study may have multiple series of different modalities.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        uid:
          description: The DICOM Series Instance UID for the series.
          $ref: '#/components/schemas/id'
        _uid:
          description: Extensions for uid
          $ref: '#/components/schemas/Element'
        number:
          description: The numeric identifier of this series in the study.
          $ref: '#/components/schemas/unsignedInt'
        _number:
          description: Extensions for number
          $ref: '#/components/schemas/Element'
        modality:
          description: The distinct modality for this series. This may include both
            acquisition and non-acquisition modalities.
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: A description of the series.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        numberOfInstances:
          description: Number of SOP Instances in the Study. The value given may be
            larger than the number of instance elements this resource contains due to
            resource availability, security, or other factors. This element should be
            present if any instance elements are present.
          $ref: '#/components/schemas/unsignedInt'
        _numberOfInstances:
          description: Extensions for numberOfInstances
          $ref: '#/components/schemas/Element'
        endpoint:
          description: The network service providing access (e.g., query, view, or retrieval)
            for this series. See implementation notes for information about using DICOM
            endpoints. A series-level endpoint, if present, has precedence over a study-level
            endpoint with the same Endpoint.connectionType.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        bodySite:
          description: The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html)
            for DICOM to SNOMED-CT mappings. The bodySite may indicate the laterality
            of body part imaged; if so, it shall be consistent with any content of ImagingStudy.series.laterality.
          $ref: '#/components/schemas/CodeableReference'
        laterality:
          description: The laterality of the (possibly paired) anatomic structures examined.
            E.g., the left knee, both lungs, or unpaired abdomen. If present, shall
            be consistent with any laterality information indicated in ImagingStudy.series.bodySite.
          $ref: '#/components/schemas/CodeableConcept'
        specimen:
          description: The specimen imaged, e.g., for whole slide imaging of a biopsy.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        started:
          description: The date and time the series was started.
          $ref: '#/components/schemas/dateTime'
        _started:
          description: Extensions for started
          $ref: '#/components/schemas/Element'
        performer:
          description: Indicates who or what performed the series and how they were
            involved.
          items:
            $ref: '#/components/schemas/ImagingStudy_Performer'
          type: array
        instance:
          description: A single SOP instance within the series, e.g. an image, or presentation
            state.
          items:
            $ref: '#/components/schemas/ImagingStudy_Instance'
          type: array
      type: object
      additionalProperties: false
      required:
      - modality
    ImagingStudy_Performer:
      description: Representation of the content produced in a DICOM imaging study.
        A study comprises a set of series, each of which includes a set of Service-Object
        Pair Instances (SOP Instances - images or other data) acquired or produced in
        a common context.  A series is of only one modality (e.g. X-ray, CT, MR, ultrasound),
        but a study may have multiple series of different modalities.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        function:
          description: Distinguishes the type of involvement of the performer in the
            series.
          $ref: '#/components/schemas/CodeableConcept'
        actor:
          description: Indicates who or what performed the series.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - actor
    ImagingStudy_Instance:
      description: Representation of the content produced in a DICOM imaging study.
        A study comprises a set of series, each of which includes a set of Service-Object
        Pair Instances (SOP Instances - images or other data) acquired or produced in
        a common context.  A series is of only one modality (e.g. X-ray, CT, MR, ultrasound),
        but a study may have multiple series of different modalities.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        uid:
          description: The DICOM SOP Instance UID for this image or other DICOM content.
          $ref: '#/components/schemas/id'
        _uid:
          description: Extensions for uid
          $ref: '#/components/schemas/Element'
        sopClass:
          description: DICOM instance  type.
          $ref: '#/components/schemas/Coding'
        number:
          description: The number of instance in the series.
          $ref: '#/components/schemas/unsignedInt'
        _number:
          description: Extensions for number
          $ref: '#/components/schemas/Element'
        title:
          description: The description of the instance.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - sopClass
    Immunization:
      description: Describes the event of a patient being administered a vaccine or
        a record of an immunization as reported by a patient, a clinician or another
        party.
      properties:
        resourceType:
          description: This is a Immunization resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A unique identifier assigned to this immunization record.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        basedOn:
          description: A plan, order or recommendation fulfilled in whole or in part
            by this immunization.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: Indicates the current status of the immunization event.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        statusReason:
          description: Indicates the reason the immunization event was not performed.
          $ref: '#/components/schemas/CodeableConcept'
        vaccineCode:
          description: Vaccine that was administered or was to be administered.
          $ref: '#/components/schemas/CodeableConcept'
        administeredProduct:
          description: An indication of which product was administered to the patient.
            This is typically a more detailed representation of the concept conveyed
            by the vaccineCode data element. If a Medication resource is referenced,
            it may be to a stand-alone resource or a contained resource within the Immunization
            resource.
          $ref: '#/components/schemas/CodeableReference'
        manufacturer:
          description: Name of vaccine manufacturer.
          $ref: '#/components/schemas/CodeableReference'
        lotNumber:
          description: Lot number of the  vaccine product.
          $ref: '#/components/schemas/string'
        _lotNumber:
          description: Extensions for lotNumber
          $ref: '#/components/schemas/Element'
        expirationDate:
          description: Date vaccine batch expires.
          $ref: '#/components/schemas/date'
        _expirationDate:
          description: Extensions for expirationDate
          $ref: '#/components/schemas/Element'
        patient:
          description: The patient who either received or did not receive the immunization.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The visit or admission or other contact between patient and health
            care provider the immunization was performed as part of.
          $ref: '#/components/schemas/Reference'
        supportingInformation:
          description: Additional information that is relevant to the immunization (e.g.
            for a vaccine recipient who is pregnant, the gestational age of the fetus).
            The reason why a vaccine was given (e.g. occupation, underlying medical
            condition) should be conveyed in Immunization.reason, not as supporting
            information. The reason why a vaccine was not given (e.g. contraindication)
            should be conveyed in Immunization.statusReason, not as supporting information.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        occurrenceDateTime:
          description: Date vaccine administered or was to be administered.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _occurrenceDateTime:
          description: Extensions for occurrenceDateTime
          $ref: '#/components/schemas/Element'
        occurrenceString:
          description: Date vaccine administered or was to be administered.
          pattern: ^^[\s\S]+$$
          type: string
        _occurrenceString:
          description: Extensions for occurrenceString
          $ref: '#/components/schemas/Element'
        primarySource:
          description: Indicates whether the data contained in the resource was captured
            by the individual/organization which was responsible for the administration
            of the vaccine rather than as 'secondary reported' data documented by a
            third party. A value of 'true' means this data originated with the individual/organization
            which was responsible for the administration of the vaccine.
          $ref: '#/components/schemas/boolean'
        _primarySource:
          description: Extensions for primarySource
          $ref: '#/components/schemas/Element'
        informationSource:
          description: Typically the source of the data when the report of the immunization
            event is not based on information from the person who administered the vaccine.
          $ref: '#/components/schemas/CodeableReference'
        location:
          description: The service delivery location where the vaccine administration
            occurred.
          $ref: '#/components/schemas/Reference'
        site:
          description: Body site where vaccine was administered.
          $ref: '#/components/schemas/CodeableConcept'
        route:
          description: The path by which the vaccine product is taken into the body.
          $ref: '#/components/schemas/CodeableConcept'
        doseQuantity:
          description: The quantity of vaccine product that was administered.
          $ref: '#/components/schemas/Quantity'
        performer:
          description: Indicates who performed the immunization event.
          items:
            $ref: '#/components/schemas/Immunization_Performer'
          type: array
        note:
          description: Extra information about the immunization that is not conveyed
            by the other attributes.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        reason:
          description: Describes why the immunization occurred in coded or textual form,
            or Indicates another resource (Condition, Observation or DiagnosticReport)
            whose existence justifies this immunization.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        isSubpotent:
          description: Indication if a dose is considered to be subpotent. By default,
            a dose should be considered to be potent.
          $ref: '#/components/schemas/boolean'
        _isSubpotent:
          description: Extensions for isSubpotent
          $ref: '#/components/schemas/Element'
        subpotentReason:
          description: Reason why a dose is considered to be subpotent.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        programEligibility:
          description: Indicates a patient's eligibility for a funding program.
          items:
            $ref: '#/components/schemas/Immunization_ProgramEligibility'
          type: array
        fundingSource:
          description: Indicates the source of the vaccine actually administered. This
            may be different than the patient eligibility (e.g. the patient may be eligible
            for a publically purchased vaccine but due to inventory issues, vaccine
            purchased with private funds was actually administered).
          $ref: '#/components/schemas/CodeableConcept'
        reaction:
          description: Categorical data indicating that an adverse event is associated
            in time to an immunization.
          items:
            $ref: '#/components/schemas/Immunization_Reaction'
          type: array
        protocolApplied:
          description: The protocol (set of recommendations) being followed by the provider
            who administered the dose.
          items:
            $ref: '#/components/schemas/Immunization_ProtocolApplied'
          type: array
      type: object
      additionalProperties: false
      required:
      - patient
      - vaccineCode
      - resourceType
    Immunization_Performer:
      description: Describes the event of a patient being administered a vaccine or
        a record of an immunization as reported by a patient, a clinician or another
        party.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        function:
          description: Describes the type of performance (e.g. ordering provider, administering
            provider, etc.).
          $ref: '#/components/schemas/CodeableConcept'
        actor:
          description: The practitioner or organization who performed the action.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - actor
    Immunization_ProgramEligibility:
      description: Describes the event of a patient being administered a vaccine or
        a record of an immunization as reported by a patient, a clinician or another
        party.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        program:
          description: Indicates which program the patient had their eligility evaluated
            for.
          $ref: '#/components/schemas/CodeableConcept'
        programStatus:
          description: Indicates the patient's eligility status for for a specific payment
            program.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - program
      - programStatus
    Immunization_Reaction:
      description: Describes the event of a patient being administered a vaccine or
        a record of an immunization as reported by a patient, a clinician or another
        party.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        date:
          description: Date of reaction to the immunization.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        manifestation:
          description: Details of the reaction.
          $ref: '#/components/schemas/CodeableReference'
        reported:
          description: Self-reported indicator.
          $ref: '#/components/schemas/boolean'
        _reported:
          description: Extensions for reported
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Immunization_ProtocolApplied:
      description: Describes the event of a patient being administered a vaccine or
        a record of an immunization as reported by a patient, a clinician or another
        party.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        series:
          description: One possible path to achieve presumed immunity against a disease
            - within the context of an authority.
          $ref: '#/components/schemas/string'
        _series:
          description: Extensions for series
          $ref: '#/components/schemas/Element'
        authority:
          description: Indicates the authority who published the protocol (e.g. ACIP)
            that is being followed.
          $ref: '#/components/schemas/Reference'
        targetDisease:
          description: The vaccine preventable disease the dose is being administered
            against.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        doseNumber:
          description: Nominal position in a series as intended by the practitioner
            administering the dose.
          $ref: '#/components/schemas/string'
        _doseNumber:
          description: Extensions for doseNumber
          $ref: '#/components/schemas/Element'
        seriesDoses:
          description: The recommended number of doses to achieve immunity as intended
            by the practitioner administering the dose.
          $ref: '#/components/schemas/string'
        _seriesDoses:
          description: Extensions for seriesDoses
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ImmunizationEvaluation:
      description: Describes a comparison of an immunization event against published
        recommendations to determine if the administration is "valid" in relation to
        those  recommendations.
      properties:
        resourceType:
          description: This is a ImmunizationEvaluation resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A unique identifier assigned to this immunization evaluation
            record.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: Indicates the current status of the evaluation of the vaccination
            administration event.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        patient:
          description: The individual for whom the evaluation is being done.
          $ref: '#/components/schemas/Reference'
        date:
          description: The date the evaluation of the vaccine administration event was
            performed.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        authority:
          description: Indicates the authority who published the protocol (e.g. ACIP).
          $ref: '#/components/schemas/Reference'
        targetDisease:
          description: The vaccine preventable disease the dose is being evaluated against.
          $ref: '#/components/schemas/CodeableConcept'
        immunizationEvent:
          description: The vaccine administration event being evaluated.
          $ref: '#/components/schemas/Reference'
        doseStatus:
          description: Indicates if the dose is valid or not valid with respect to the
            published recommendations.
          $ref: '#/components/schemas/CodeableConcept'
        doseStatusReason:
          description: Provides an explanation as to why the vaccine administration
            event is valid or not relative to the published recommendations.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        description:
          description: Additional information about the evaluation.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        series:
          description: One possible path to achieve presumed immunity against a disease
            - within the context of an authority.
          $ref: '#/components/schemas/string'
        _series:
          description: Extensions for series
          $ref: '#/components/schemas/Element'
        doseNumber:
          description: Nominal position in a series as determined by the outcome of
            the evaluation process.
          $ref: '#/components/schemas/string'
        _doseNumber:
          description: Extensions for doseNumber
          $ref: '#/components/schemas/Element'
        seriesDoses:
          description: The recommended number of doses to achieve immunity as determined
            by the outcome of the evaluation process.
          $ref: '#/components/schemas/string'
        _seriesDoses:
          description: Extensions for seriesDoses
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - doseStatus
      - patient
      - targetDisease
      - immunizationEvent
      - resourceType
    ImmunizationRecommendation:
      description: A patient's point-in-time set of recommendations (i.e. forecasting)
        according to a published schedule with optional supporting justification.
      properties:
        resourceType:
          description: This is a ImmunizationRecommendation resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A unique identifier assigned to this particular recommendation
            record.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        patient:
          description: The patient the recommendation(s) are for.
          $ref: '#/components/schemas/Reference'
        date:
          description: The date the immunization recommendation(s) were created.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        authority:
          description: Indicates the authority who published the protocol (e.g. ACIP).
          $ref: '#/components/schemas/Reference'
        recommendation:
          description: Vaccine administration recommendations.
          items:
            $ref: '#/components/schemas/ImmunizationRecommendation_Recommendation'
          type: array
      type: object
      additionalProperties: false
      required:
      - patient
      - recommendation
      - resourceType
    ImmunizationRecommendation_Recommendation:
      description: A patient's point-in-time set of recommendations (i.e. forecasting)
        according to a published schedule with optional supporting justification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        vaccineCode:
          description: Vaccine(s) or vaccine group that pertain to the recommendation.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        targetDisease:
          description: The targeted disease for the recommendation.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        contraindicatedVaccineCode:
          description: Vaccine(s) which should not be used to fulfill the recommendation.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        forecastStatus:
          description: Indicates the patient status with respect to the path to immunity
            for the target disease.
          $ref: '#/components/schemas/CodeableConcept'
        forecastReason:
          description: The reason for the assigned forecast status.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        dateCriterion:
          description: Vaccine date recommendations.  For example, earliest date to
            administer, latest date to administer, etc.
          items:
            $ref: '#/components/schemas/ImmunizationRecommendation_DateCriterion'
          type: array
        description:
          description: Contains the description about the protocol under which the vaccine
            was administered.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        series:
          description: One possible path to achieve presumed immunity against a disease
            - within the context of an authority.
          $ref: '#/components/schemas/string'
        _series:
          description: Extensions for series
          $ref: '#/components/schemas/Element'
        doseNumber:
          description: Nominal position of the recommended dose in a series as determined
            by the evaluation and forecasting process (e.g. dose 2 is the next recommended
            dose).
          $ref: '#/components/schemas/string'
        _doseNumber:
          description: Extensions for doseNumber
          $ref: '#/components/schemas/Element'
        seriesDoses:
          description: The recommended number of doses to achieve immunity as determined
            by the evaluation and forecasting process.
          $ref: '#/components/schemas/string'
        _seriesDoses:
          description: Extensions for seriesDoses
          $ref: '#/components/schemas/Element'
        supportingImmunization:
          description: Immunization event history and/or evaluation that supports the
            status and recommendation.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        supportingPatientInformation:
          description: Patient Information that supports the status and recommendation.  This
            includes patient observations, adverse reactions and allergy/intolerance
            information.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - forecastStatus
    ImmunizationRecommendation_DateCriterion:
      description: A patient's point-in-time set of recommendations (i.e. forecasting)
        according to a published schedule with optional supporting justification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Date classification of recommendation.  For example, earliest
            date to give, latest date to give, etc.
          $ref: '#/components/schemas/CodeableConcept'
        value:
          description: The date whose meaning is specified by dateCriterion.code.
          $ref: '#/components/schemas/dateTime'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - code
    ImplementationGuide:
      description: A set of rules of how a particular interoperability or standards
        problem is solved - typically through the use of FHIR resources. This resource
        is used to gather all the parts of an implementation guide into a logical whole
        and to publish a computable definition of all the parts.
      properties:
        resourceType:
          description: This is a ImplementationGuide resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this implementation
            guide when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this implementation
            guide is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the implementation guide is stored
            on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this implementation
            guide when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the implementation
            guide when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the implementation guide author and
            is not expected to be globally unique. For example, it might be a timestamp
            (e.g. yyyymmdd) if a managed version is not available. There is also no
            expectation that versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the implementation guide.
            This name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the implementation
            guide.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this implementation guide. Enables tracking the
            life-cycle of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this implementation guide is
            authored for testing purposes (or education/evaluation/marketing) and is
            not intended to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the implementation guide
            was last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the implementation guide changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the implementation guide.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the implementation
            guide from a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            implementation guide instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the implementation guide
            is intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this implementation guide is needed and why
            it has been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the implementation guide and/or
            its contents. Copyright statements are generally legal restrictions on the
            use and publishing of the implementation guide.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        packageId:
          description: The NPM package name for this Implementation Guide, used in the
            NPM package distribution, which is the primary mechanism by which FHIR based
            tooling manages IG dependencies. This value must be globally unique, and
            should be assigned with care.
          $ref: '#/components/schemas/id'
        _packageId:
          description: Extensions for packageId
          $ref: '#/components/schemas/Element'
        license:
          description: The license that applies to this Implementation Guide, using
            an SPDX license code, or 'not-open-source'.
          $ref: '#/components/schemas/code'
        _license:
          description: Extensions for license
          $ref: '#/components/schemas/Element'
        fhirVersion:
          description: The version(s) of the FHIR specification that this ImplementationGuide
            targets - e.g. describes how to use. The value of this element is the formal
            version of the specification, without the revision number, e.g. [publication].[major].[minor],
            which is 4.6.0. for this version.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _fhirVersion:
          description: Extensions for fhirVersion
          items:
            $ref: '#/components/schemas/Element'
          type: array
        dependsOn:
          description: Another implementation guide that this implementation depends
            on. Typically, an implementation guide uses value sets, profiles etc.defined
            in other implementation guides.
          items:
            $ref: '#/components/schemas/ImplementationGuide_DependsOn'
          type: array
        global:
          description: A set of profiles that all resources covered by this implementation
            guide must conform to.
          items:
            $ref: '#/components/schemas/ImplementationGuide_Global'
          type: array
        definition:
          description: The information needed by an IG publisher tool to publish the
            whole implementation guide.
          $ref: '#/components/schemas/ImplementationGuide_Definition'
        manifest:
          description: Information about an assembled implementation guide, created
            by the publication tooling.
          $ref: '#/components/schemas/ImplementationGuide_Manifest'
      type: object
      additionalProperties: false
      required:
      - resourceType
    ImplementationGuide_DependsOn:
      description: A set of rules of how a particular interoperability or standards
        problem is solved - typically through the use of FHIR resources. This resource
        is used to gather all the parts of an implementation guide into a logical whole
        and to publish a computable definition of all the parts.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        uri:
          description: A canonical reference to the Implementation guide for the dependency.
          $ref: '#/components/schemas/canonical'
        packageId:
          description: The NPM package name for the Implementation Guide that this IG
            depends on.
          $ref: '#/components/schemas/id'
        _packageId:
          description: Extensions for packageId
          $ref: '#/components/schemas/Element'
        version:
          description: The version of the IG that is depended on, when the correct version
            is required to understand the IG correctly.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        reason:
          description: A description explaining the nature of the dependency on the
            listed IG.
          $ref: '#/components/schemas/markdown'
        _reason:
          description: Extensions for reason
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - uri
    ImplementationGuide_Global:
      description: A set of rules of how a particular interoperability or standards
        problem is solved - typically through the use of FHIR resources. This resource
        is used to gather all the parts of an implementation guide into a logical whole
        and to publish a computable definition of all the parts.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of resource that all instances must conform to.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        profile:
          description: A reference to the profile that all instances must conform to.
          $ref: '#/components/schemas/canonical'
      type: object
      additionalProperties: false
      required:
      - profile
    ImplementationGuide_Definition:
      description: A set of rules of how a particular interoperability or standards
        problem is solved - typically through the use of FHIR resources. This resource
        is used to gather all the parts of an implementation guide into a logical whole
        and to publish a computable definition of all the parts.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        grouping:
          description: A logical group of resources. Logical groups can be used when
            building pages.
          items:
            $ref: '#/components/schemas/ImplementationGuide_Grouping'
          type: array
        resource:
          description: A resource that is part of the implementation guide. Conformance
            resources (value set, structure definition, capability statements etc.)
            are obvious candidates for inclusion, but any kind of resource can be included
            as an example resource.
          items:
            $ref: '#/components/schemas/ImplementationGuide_Resource'
          type: array
        page:
          description: A page / section in the implementation guide. The root page is
            the implementation guide home page.
          $ref: '#/components/schemas/ImplementationGuide_Page'
        parameter:
          description: A set of parameters that defines how the implementation guide
            is built. The parameters are defined by the relevant tools that build the
            implementation guides.
          items:
            $ref: '#/components/schemas/ImplementationGuide_Parameter'
          type: array
        template:
          description: A template for building resources.
          items:
            $ref: '#/components/schemas/ImplementationGuide_Template'
          type: array
      type: object
      additionalProperties: false
    ImplementationGuide_Grouping:
      description: A set of rules of how a particular interoperability or standards
        problem is solved - typically through the use of FHIR resources. This resource
        is used to gather all the parts of an implementation guide into a logical whole
        and to publish a computable definition of all the parts.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: The human-readable title to display for the package of resources
            when rendering the implementation guide.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        description:
          description: Human readable text describing the package.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ImplementationGuide_Resource:
      description: A set of rules of how a particular interoperability or standards
        problem is solved - typically through the use of FHIR resources. This resource
        is used to gather all the parts of an implementation guide into a logical whole
        and to publish a computable definition of all the parts.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        reference:
          description: Where this resource is found.
          $ref: '#/components/schemas/Reference'
        fhirVersion:
          description: Indicates the FHIR Version(s) this artifact is intended to apply
            to. If no versions are specified, the resource is assumed to apply to all
            the versions stated in ImplementationGuide.fhirVersion.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _fhirVersion:
          description: Extensions for fhirVersion
          items:
            $ref: '#/components/schemas/Element'
          type: array
        name:
          description: A human assigned name for the resource. All resources SHOULD
            have a name, but the name may be extracted from the resource (e.g. ValueSet.name).
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        description:
          description: A description of the reason that a resource has been included
            in the implementation guide.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        isExample:
          description: If true, indicates the resource is an example instance.
          $ref: '#/components/schemas/boolean'
        _isExample:
          description: Extensions for isExample
          $ref: '#/components/schemas/Element'
        profile:
          description: If present, indicates profile(s) the instance is valid against.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        groupingId:
          description: Reference to the id of the grouping this resource appears in.
          $ref: '#/components/schemas/id'
        _groupingId:
          description: Extensions for groupingId
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - reference
    ImplementationGuide_Page:
      description: A set of rules of how a particular interoperability or standards
        problem is solved - typically through the use of FHIR resources. This resource
        is used to gather all the parts of an implementation guide into a logical whole
        and to publish a computable definition of all the parts.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sourceUrl:
          description: Indicates the URL or the actual content to provide for the page.
          pattern: ^\S*$
          type: string
        _sourceUrl:
          description: Extensions for sourceUrl
          $ref: '#/components/schemas/Element'
        sourceString:
          description: Indicates the URL or the actual content to provide for the page.
          pattern: ^^[\s\S]+$$
          type: string
        _sourceString:
          description: Extensions for sourceString
          $ref: '#/components/schemas/Element'
        sourceMarkdown:
          description: Indicates the URL or the actual content to provide for the page.
          pattern: ^^[\s\S]+$$
          type: string
        _sourceMarkdown:
          description: Extensions for sourceMarkdown
          $ref: '#/components/schemas/Element'
        name:
          description: The url by which the page should be known when published.
          $ref: '#/components/schemas/url'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short title used to represent this page in navigational structures
            such as table of contents, bread crumbs, etc.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        generation:
          description: A code that indicates how the page is generated.
          $ref: '#/components/schemas/code'
        _generation:
          description: Extensions for generation
          $ref: '#/components/schemas/Element'
        page:
          description: Nested Pages/Sections under this page.
          items:
            $ref: '#/components/schemas/ImplementationGuide_Page'
          type: array
      type: object
      additionalProperties: false
    ImplementationGuide_Parameter:
      description: A set of rules of how a particular interoperability or standards
        problem is solved - typically through the use of FHIR resources. This resource
        is used to gather all the parts of an implementation guide into a logical whole
        and to publish a computable definition of all the parts.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A tool-specific code that defines the parameter.
          $ref: '#/components/schemas/Coding'
        value:
          description: Value for named type.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - code
    ImplementationGuide_Template:
      description: A set of rules of how a particular interoperability or standards
        problem is solved - typically through the use of FHIR resources. This resource
        is used to gather all the parts of an implementation guide into a logical whole
        and to publish a computable definition of all the parts.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Type of template specified.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        source:
          description: The source location for the template.
          $ref: '#/components/schemas/string'
        _source:
          description: Extensions for source
          $ref: '#/components/schemas/Element'
        scope:
          description: The scope in which the template applies.
          $ref: '#/components/schemas/string'
        _scope:
          description: Extensions for scope
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ImplementationGuide_Manifest:
      description: A set of rules of how a particular interoperability or standards
        problem is solved - typically through the use of FHIR resources. This resource
        is used to gather all the parts of an implementation guide into a logical whole
        and to publish a computable definition of all the parts.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        rendering:
          description: A pointer to official web page, PDF or other rendering of the
            implementation guide.
          $ref: '#/components/schemas/url'
        _rendering:
          description: Extensions for rendering
          $ref: '#/components/schemas/Element'
        resource:
          description: A resource that is part of the implementation guide. Conformance
            resources (value set, structure definition, capability statements etc.)
            are obvious candidates for inclusion, but any kind of resource can be included
            as an example resource.
          items:
            $ref: '#/components/schemas/ImplementationGuide_Resource1'
          type: array
        page:
          description: Information about a page within the IG.
          items:
            $ref: '#/components/schemas/ImplementationGuide_Page1'
          type: array
        image:
          description: Indicates a relative path to an image that exists within the
            IG.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _image:
          description: Extensions for image
          items:
            $ref: '#/components/schemas/Element'
          type: array
        other:
          description: Indicates the relative path of an additional non-page, non-image
            file that is part of the IG - e.g. zip, jar and similar files that could
            be the target of a hyperlink in a derived IG.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _other:
          description: Extensions for other
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
      required:
      - resource
    ImplementationGuide_Resource1:
      description: A set of rules of how a particular interoperability or standards
        problem is solved - typically through the use of FHIR resources. This resource
        is used to gather all the parts of an implementation guide into a logical whole
        and to publish a computable definition of all the parts.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        reference:
          description: Where this resource is found.
          $ref: '#/components/schemas/Reference'
        isExample:
          description: If true, indicates the resource is an example instance.
          $ref: '#/components/schemas/boolean'
        _isExample:
          description: Extensions for isExample
          $ref: '#/components/schemas/Element'
        profile:
          description: If present, indicates profile(s) the instance is valid against.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        relativePath:
          description: The relative path for primary page for this resource within the
            IG.
          $ref: '#/components/schemas/url'
        _relativePath:
          description: Extensions for relativePath
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - reference
    ImplementationGuide_Page1:
      description: A set of rules of how a particular interoperability or standards
        problem is solved - typically through the use of FHIR resources. This resource
        is used to gather all the parts of an implementation guide into a logical whole
        and to publish a computable definition of all the parts.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: Relative path to the page.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: Label for the page intended for human display.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        anchor:
          description: The name of an anchor available on the page.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _anchor:
          description: Extensions for anchor
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
    Ingredient:
      description: An ingredient of a manufactured item or pharmaceutical product.
      properties:
        resourceType:
          description: This is a Ingredient resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: The identifier(s) of this Ingredient that are assigned by business
            processes and/or used to refer to it when a direct URL reference to the
            resource itself is not appropriate.
          $ref: '#/components/schemas/Identifier'
        status:
          description: The status of this ingredient. Enables tracking the life-cycle
            of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        for:
          description: The product which this ingredient is a constituent part of.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        role:
          description: A classification of the ingredient identifying its purpose within
            the product, e.g. active, inactive.
          $ref: '#/components/schemas/CodeableConcept'
        function:
          description: 'A classification of the ingredient identifying its precise purpose(s)
            in the drug product. This extends the Ingredient.role to add more detail.
            Example: antioxidant, alkalizing agent.'
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        group:
          description: A classification of the ingredient according to where in the
            physical item it tends to be used, such the outer shell of a tablet, inner
            body or ink.
          $ref: '#/components/schemas/CodeableConcept'
        allergenicIndicator:
          description: If the ingredient is a known or suspected allergen. Note that
            this is a property of the substance, so if a reference to a SubstanceDefinition
            is used to decribe that (rather than just a code), the allergen information
            should go there, not here.
          $ref: '#/components/schemas/boolean'
        _allergenicIndicator:
          description: Extensions for allergenicIndicator
          $ref: '#/components/schemas/Element'
        comment:
          description: A place for providing any notes that are relevant to the component,
            e.g. removed during process, adjusted for loss on drying.
          $ref: '#/components/schemas/markdown'
        _comment:
          description: Extensions for comment
          $ref: '#/components/schemas/Element'
        manufacturer:
          description: 'The organization(s) that manufacture this ingredient. Can be
            used to indicate:         1) Organizations we are aware of that manufacture
            this ingredient         2) Specific Manufacturer(s) currently being used         3)
            Set of organisations allowed to manufacture this ingredient for this product         Users
            must be clear on the application of context relevant to their use case.'
          items:
            $ref: '#/components/schemas/Ingredient_Manufacturer'
          type: array
        substance:
          description: The substance that comprises this ingredient.
          $ref: '#/components/schemas/Ingredient_Substance'
      type: object
      additionalProperties: false
      required:
      - role
      - substance
      - resourceType
    Ingredient_Manufacturer:
      description: An ingredient of a manufactured item or pharmaceutical product.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        role:
          description: The way in which this manufacturer is associated with the ingredient.
            For example whether it is a possible one (others allowed), or an exclusive
            authorized one for this ingredient. Note that this is not the manufacturing
            process role.
          $ref: '#/components/schemas/code'
        _role:
          description: Extensions for role
          $ref: '#/components/schemas/Element'
        manufacturer:
          description: An organization that manufactures this ingredient.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - manufacturer
    Ingredient_Substance:
      description: An ingredient of a manufactured item or pharmaceutical product.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A code or full resource that represents the ingredient's substance.
          $ref: '#/components/schemas/CodeableReference'
        strength:
          description: The quantity of substance in the unit of presentation, or in
            the volume (or mass) of the single pharmaceutical product or manufactured
            item. The allowed repetitions do not represent different strengths, but
            are different representations - mathematically equivalent - of a single
            strength.
          items:
            $ref: '#/components/schemas/Ingredient_Strength'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
    Ingredient_Strength:
      description: An ingredient of a manufactured item or pharmaceutical product.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        presentationRatio:
          description: The quantity of substance in the unit of presentation, or in
            the volume (or mass) of the single pharmaceutical product or manufactured
            item. Unit of presentation refers to the quantity that the item occurs in
            e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet).
            It is not generally normalized as a unitary unit, which would be 'per mg').
          $ref: '#/components/schemas/Ratio'
        presentationRatioRange:
          description: The quantity of substance in the unit of presentation, or in
            the volume (or mass) of the single pharmaceutical product or manufactured
            item. Unit of presentation refers to the quantity that the item occurs in
            e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet).
            It is not generally normalized as a unitary unit, which would be 'per mg').
          $ref: '#/components/schemas/RatioRange'
        presentationCodeableConcept:
          description: The quantity of substance in the unit of presentation, or in
            the volume (or mass) of the single pharmaceutical product or manufactured
            item. Unit of presentation refers to the quantity that the item occurs in
            e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet).
            It is not generally normalized as a unitary unit, which would be 'per mg').
          $ref: '#/components/schemas/CodeableConcept'
        presentationQuantity:
          description: The quantity of substance in the unit of presentation, or in
            the volume (or mass) of the single pharmaceutical product or manufactured
            item. Unit of presentation refers to the quantity that the item occurs in
            e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet).
            It is not generally normalized as a unitary unit, which would be 'per mg').
          $ref: '#/components/schemas/Quantity'
        textPresentation:
          description: A textual represention of either the whole of the presentation
            strength or a part of it - with the rest being in Strength.presentation
            as a ratio.
          $ref: '#/components/schemas/string'
        _textPresentation:
          description: Extensions for textPresentation
          $ref: '#/components/schemas/Element'
        concentrationRatio:
          description: The strength per unitary volume (or mass).
          $ref: '#/components/schemas/Ratio'
        concentrationRatioRange:
          description: The strength per unitary volume (or mass).
          $ref: '#/components/schemas/RatioRange'
        concentrationCodeableConcept:
          description: The strength per unitary volume (or mass).
          $ref: '#/components/schemas/CodeableConcept'
        concentrationQuantity:
          description: The strength per unitary volume (or mass).
          $ref: '#/components/schemas/Quantity'
        textConcentration:
          description: A textual represention of either the whole of the concentration
            strength or a part of it - with the rest being in Strength.concentration
            as a ratio.
          $ref: '#/components/schemas/string'
        _textConcentration:
          description: Extensions for textConcentration
          $ref: '#/components/schemas/Element'
        basis:
          description: A code that indicates if the strength is, for example, based
            on the ingredient substance as stated or on the substance base (when the
            ingredient is a salt).
          $ref: '#/components/schemas/CodeableConcept'
        measurementPoint:
          description: For when strength is measured at a particular point or distance.
            There are products where strength is measured at a particular point. For
            example, the strength of the ingredient in some inhalers is measured at
            a particular position relative to the point of aerosolization.
          $ref: '#/components/schemas/string'
        _measurementPoint:
          description: Extensions for measurementPoint
          $ref: '#/components/schemas/Element'
        country:
          description: The country or countries for which the strength range applies.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        referenceStrength:
          description: Strength expressed in terms of a reference substance. For when
            the ingredient strength is additionally expressed as equivalent to the strength
            of some other closely related substance (e.g. salt vs. base). Reference
            strength represents the strength (quantitative composition) of the active
            moiety of the active substance. There are situations when the active substance
            and active moiety are different, therefore both a strength and a reference
            strength are needed.
          items:
            $ref: '#/components/schemas/Ingredient_ReferenceStrength'
          type: array
      type: object
      additionalProperties: false
    Ingredient_ReferenceStrength:
      description: An ingredient of a manufactured item or pharmaceutical product.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        substance:
          description: Relevant reference substance.
          $ref: '#/components/schemas/CodeableReference'
        strengthRatio:
          description: Strength expressed in terms of a reference substance.
          $ref: '#/components/schemas/Ratio'
        strengthRatioRange:
          description: Strength expressed in terms of a reference substance.
          $ref: '#/components/schemas/RatioRange'
        strengthQuantity:
          description: Strength expressed in terms of a reference substance.
          $ref: '#/components/schemas/Quantity'
        measurementPoint:
          description: For when strength is measured at a particular point or distance.
          $ref: '#/components/schemas/string'
        _measurementPoint:
          description: Extensions for measurementPoint
          $ref: '#/components/schemas/Element'
        country:
          description: The country or countries for which the strength range applies.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
      required:
      - substance
    InsurancePlan:
      description: Details of a Health Insurance product/plan provided by an organization.
      properties:
        resourceType:
          description: This is a InsurancePlan resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this health insurance product
            which remain constant as the resource is updated and propagates from server
            to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The current state of the health insurance product.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        type:
          description: The kind of health insurance product.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        name:
          description: Official name of the health insurance product as designated by
            the owner.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        alias:
          description: A list of alternate names that the product is known as, or was
            known as in the past.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _alias:
          description: Extensions for alias
          items:
            $ref: '#/components/schemas/Element'
          type: array
        period:
          description: The period of time that the health insurance product is available.
          $ref: '#/components/schemas/Period'
        ownedBy:
          description: The entity that is providing  the health insurance product and
            underwriting the risk.  This is typically an insurance carriers, other third-party
            payers, or health plan sponsors comonly referred to as 'payers'.
          $ref: '#/components/schemas/Reference'
        administeredBy:
          description: An organization which administer other services such as underwriting,
            customer service and/or claims processing on behalf of the health insurance
            product owner.
          $ref: '#/components/schemas/Reference'
        coverageArea:
          description: The geographic region in which a health insurance product's benefits
            apply.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        contact:
          description: The contact details of communication devices available relevant
            to the specific Insurance Plan/Product. This can include addresses, phone
            numbers, fax numbers, mobile numbers, email addresses and web sites.
          items:
            $ref: '#/components/schemas/ExtendedContactDetail'
          type: array
        endpoint:
          description: The technical endpoints providing access to services operated
            for the health insurance product.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        network:
          description: Reference to the network included in the health insurance product.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        coverage:
          description: Details about the coverage offered by the insurance product.
          items:
            $ref: '#/components/schemas/InsurancePlan_Coverage'
          type: array
        plan:
          description: Details about an insurance plan.
          items:
            $ref: '#/components/schemas/InsurancePlan_Plan'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    InsurancePlan_Coverage:
      description: Details of a Health Insurance product/plan provided by an organization.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Type of coverage  (Medical; Dental; Mental Health; Substance
            Abuse; Vision; Drug; Short Term; Long Term Care; Hospice; Home Health).
          $ref: '#/components/schemas/CodeableConcept'
        network:
          description: Reference to the network that providing the type of coverage.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        benefit:
          description: Specific benefits under this type of coverage.
          items:
            $ref: '#/components/schemas/InsurancePlan_Benefit'
          type: array
      type: object
      additionalProperties: false
      required:
      - type
      - benefit
    InsurancePlan_Benefit:
      description: Details of a Health Insurance product/plan provided by an organization.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Type of benefit (primary care; speciality care; inpatient; outpatient).
          $ref: '#/components/schemas/CodeableConcept'
        requirement:
          description: The referral requirements to have access/coverage for this benefit.
          $ref: '#/components/schemas/string'
        _requirement:
          description: Extensions for requirement
          $ref: '#/components/schemas/Element'
        limit:
          description: The specific limits on the benefit.
          items:
            $ref: '#/components/schemas/InsurancePlan_Limit'
          type: array
      type: object
      additionalProperties: false
      required:
      - type
    InsurancePlan_Limit:
      description: Details of a Health Insurance product/plan provided by an organization.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        value:
          description: The maximum amount of a service item a plan will pay for a covered
            benefit.  For examples. wellness visits, or eyeglasses.
          $ref: '#/components/schemas/Quantity'
        code:
          description: The specific limit on the benefit.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    InsurancePlan_Plan:
      description: Details of a Health Insurance product/plan provided by an organization.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this health insurance plan which
            remain constant as the resource is updated and propagates from server to
            server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        type:
          description: Type of plan. For example, "Platinum" or "High Deductable".
          $ref: '#/components/schemas/CodeableConcept'
        coverageArea:
          description: The geographic region in which a health insurance plan's benefits
            apply.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        network:
          description: Reference to the network that providing the type of coverage.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        generalCost:
          description: Overall costs associated with the plan.
          items:
            $ref: '#/components/schemas/InsurancePlan_GeneralCost'
          type: array
        specificCost:
          description: Costs associated with the coverage provided by the product.
          items:
            $ref: '#/components/schemas/InsurancePlan_SpecificCost'
          type: array
      type: object
      additionalProperties: false
    InsurancePlan_GeneralCost:
      description: Details of a Health Insurance product/plan provided by an organization.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Type of cost.
          $ref: '#/components/schemas/CodeableConcept'
        groupSize:
          description: Number of participants enrolled in the plan.
          $ref: '#/components/schemas/positiveInt'
        _groupSize:
          description: Extensions for groupSize
          $ref: '#/components/schemas/Element'
        cost:
          description: Value of the cost.
          $ref: '#/components/schemas/Money'
        comment:
          description: Additional information about the general costs associated with
            this plan.
          $ref: '#/components/schemas/string'
        _comment:
          description: Extensions for comment
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    InsurancePlan_SpecificCost:
      description: Details of a Health Insurance product/plan provided by an organization.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        category:
          description: General category of benefit (Medical; Dental; Vision; Drug; Mental
            Health; Substance Abuse; Hospice, Home Health).
          $ref: '#/components/schemas/CodeableConcept'
        benefit:
          description: List of the specific benefits under this category of benefit.
          items:
            $ref: '#/components/schemas/InsurancePlan_Benefit1'
          type: array
      type: object
      additionalProperties: false
      required:
      - category
    InsurancePlan_Benefit1:
      description: Details of a Health Insurance product/plan provided by an organization.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Type of specific benefit (preventative; primary care office visit;
            speciality office visit; hospitalization; emergency room; urgent care).
          $ref: '#/components/schemas/CodeableConcept'
        cost:
          description: List of the costs associated with a specific benefit.
          items:
            $ref: '#/components/schemas/InsurancePlan_Cost'
          type: array
      type: object
      additionalProperties: false
      required:
      - type
    InsurancePlan_Cost:
      description: Details of a Health Insurance product/plan provided by an organization.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Type of cost (copay; individual cap; family cap; coinsurance;
            deductible).
          $ref: '#/components/schemas/CodeableConcept'
        applicability:
          description: Whether the cost applies to in-network or out-of-network providers
            (in-network; out-of-network; other).
          $ref: '#/components/schemas/CodeableConcept'
        qualifiers:
          description: Additional information about the cost, such as information about
            funding sources (e.g. HSA, HRA, FSA, RRA).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        value:
          description: The actual cost value. (some of the costs may be represented
            as percentages rather than currency, e.g. 10% coinsurance).
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
      required:
      - type
    InventoryItem:
      description: A functional description of an inventory item used in inventory and
        supply-related workflows.
      properties:
        resourceType:
          description: This is a InventoryItem resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifier for the inventory item.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: Status of the item entry.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        category:
          description: Category or class of the item.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        code:
          description: Code designating the specific type of item.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        name:
          description: The item name(s) - the brand name, or common name, functional
            name, generic name.
          items:
            $ref: '#/components/schemas/InventoryItem_Name'
          type: array
        responsibleOrganization:
          description: Organization(s) responsible for the product.
          items:
            $ref: '#/components/schemas/InventoryItem_ResponsibleOrganization'
          type: array
        description:
          description: The descriptive characteristics of the inventory item.
          $ref: '#/components/schemas/InventoryItem_Description'
        inventoryStatus:
          description: The usage status e.g. recalled, in use, discarded... This can
            be used to indicate that the items have been taken out of inventory, or
            are in use, etc.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        baseUnit:
          description: The base unit of measure - the unit in which the product is used
            or counted.
          $ref: '#/components/schemas/CodeableConcept'
        netContent:
          description: Net content or amount present in the item.
          $ref: '#/components/schemas/Quantity'
        association:
          description: Association with other items or products.
          items:
            $ref: '#/components/schemas/InventoryItem_Association'
          type: array
        characteristic:
          description: The descriptive or identifying characteristics of the item.
          items:
            $ref: '#/components/schemas/InventoryItem_Characteristic'
          type: array
        instance:
          description: Instances or occurrences of the product.
          $ref: '#/components/schemas/InventoryItem_Instance'
        productReference:
          description: Link to a product resource used in clinical workflows.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - resourceType
    InventoryItem_Name:
      description: A functional description of an inventory item used in inventory and
        supply-related workflows.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        nameType:
          description: The type of name e.g. 'brand-name', 'functional-name', 'common-name'.
          $ref: '#/components/schemas/Coding'
        language:
          description: The language that the item name is expressed in.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        name:
          description: The name or designation that the item is given.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - nameType
    InventoryItem_ResponsibleOrganization:
      description: A functional description of an inventory item used in inventory and
        supply-related workflows.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        role:
          description: The role of the organization e.g. manufacturer, distributor,
            etc.
          $ref: '#/components/schemas/CodeableConcept'
        organization:
          description: An organization that has an association with the item, e.g. manufacturer,
            distributor, responsible, etc.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - role
      - organization
    InventoryItem_Description:
      description: A functional description of an inventory item used in inventory and
        supply-related workflows.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        language:
          description: The language for the item description, when an item must be described
            in different languages and those languages may be authoritative and not
            translations of a 'main' language.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        description:
          description: Textual description of the item.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    InventoryItem_Association:
      description: A functional description of an inventory item used in inventory and
        supply-related workflows.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        associationType:
          description: This attribute defined the type of association when establishing
            associations or relations between items, e.g. 'packaged within' or 'used
            with' or 'to be mixed with.
          $ref: '#/components/schemas/CodeableConcept'
        relatedItem:
          description: The related item or product.
          $ref: '#/components/schemas/Reference'
        quantity:
          description: The quantity of the related product in this product - Numerator
            is the quantity of the related product. Denominator is the quantity of the
            present product. For example a value of 20 means that this product contains
            20 units of the related product; a value of 1:20 means the inverse - that
            the contained product contains 20 units of the present product.
          $ref: '#/components/schemas/Ratio'
      type: object
      additionalProperties: false
      required:
      - quantity
      - associationType
      - relatedItem
    InventoryItem_Characteristic:
      description: A functional description of an inventory item used in inventory and
        supply-related workflows.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        characteristicType:
          description: The type of characteristic that is being defined.
          $ref: '#/components/schemas/CodeableConcept'
        valueString:
          description: The value of the attribute.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The value of the attribute.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: The value of the attribute.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: The value of the attribute.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueUrl:
          description: The value of the attribute.
          pattern: ^\S*$
          type: string
        _valueUrl:
          description: Extensions for valueUrl
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The value of the attribute.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valueQuantity:
          description: The value of the attribute.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: The value of the attribute.
          $ref: '#/components/schemas/Range'
        valueRatio:
          description: The value of the attribute.
          $ref: '#/components/schemas/Ratio'
        valueAnnotation:
          description: The value of the attribute.
          $ref: '#/components/schemas/Annotation'
        valueAddress:
          description: The value of the attribute.
          $ref: '#/components/schemas/Address'
        valueDuration:
          description: The value of the attribute.
          $ref: '#/components/schemas/Duration'
        valueCodeableConcept:
          description: The value of the attribute.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - characteristicType
    InventoryItem_Instance:
      description: A functional description of an inventory item used in inventory and
        supply-related workflows.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: The identifier for the physical instance, typically a serial
            number.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        lotNumber:
          description: The lot or batch number of the item.
          $ref: '#/components/schemas/string'
        _lotNumber:
          description: Extensions for lotNumber
          $ref: '#/components/schemas/Element'
        expiry:
          description: The expiry date or date and time for the product.
          $ref: '#/components/schemas/dateTime'
        _expiry:
          description: Extensions for expiry
          $ref: '#/components/schemas/Element'
        subject:
          description: The subject that the item is associated with.
          $ref: '#/components/schemas/Reference'
        location:
          description: The location that the item is associated with.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    InventoryReport:
      description: A report of inventory or stock items.
      properties:
        resourceType:
          description: This is a InventoryReport resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifier for the InventoryReport.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The status of the inventory check or notification - whether this
            is draft (e.g. the report is still pending some updates) or active.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        countType:
          description: Whether the report is about the current inventory count (snapshot)
            or a differential change in inventory (change).
          $ref: '#/components/schemas/code'
        _countType:
          description: Extensions for countType
          $ref: '#/components/schemas/Element'
        operationType:
          description: What type of operation is being performed - addition or subtraction.
          $ref: '#/components/schemas/CodeableConcept'
        operationTypeReason:
          description: The reason for this count - regular count, ad-hoc count, new
            arrivals, etc.
          $ref: '#/components/schemas/CodeableConcept'
        reportedDateTime:
          description: When the report has been submitted.
          $ref: '#/components/schemas/dateTime'
        _reportedDateTime:
          description: Extensions for reportedDateTime
          $ref: '#/components/schemas/Element'
        reporter:
          description: Who submits the report.
          $ref: '#/components/schemas/Reference'
        reportingPeriod:
          description: The period the report refers to.
          $ref: '#/components/schemas/Period'
        inventoryListing:
          description: An inventory listing section (grouped by any of the attributes).
          items:
            $ref: '#/components/schemas/InventoryReport_InventoryListing'
          type: array
        note:
          description: A note associated with the InventoryReport.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    InventoryReport_InventoryListing:
      description: A report of inventory or stock items.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        location:
          description: Location of the inventory items.
          $ref: '#/components/schemas/Reference'
        itemStatus:
          description: The status of the items.
          $ref: '#/components/schemas/CodeableConcept'
        countingDateTime:
          description: The date and time when the items were counted.
          $ref: '#/components/schemas/dateTime'
        _countingDateTime:
          description: Extensions for countingDateTime
          $ref: '#/components/schemas/Element'
        item:
          description: The item or items in this listing.
          items:
            $ref: '#/components/schemas/InventoryReport_Item'
          type: array
      type: object
      additionalProperties: false
    InventoryReport_Item:
      description: A report of inventory or stock items.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        category:
          description: The inventory category or classification of the items being reported.
            This is meant not for defining the product, but for inventory categories
            e.g. 'pending recount' or 'damaged'.
          $ref: '#/components/schemas/CodeableConcept'
        quantity:
          description: The quantity of the item or items being reported.
          $ref: '#/components/schemas/Quantity'
        item:
          description: The code or reference to the item type.
          $ref: '#/components/schemas/CodeableReference'
      type: object
      additionalProperties: false
      required:
      - item
      - quantity
    Invoice:
      description: Invoice containing collected ChargeItems from an Account with calculated
        individual and total price for Billing purpose.
      properties:
        resourceType:
          description: This is a Invoice resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifier of this Invoice, often used for reference in correspondence
            about this invoice or for tracking of payments.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The current state of the Invoice.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        cancelledReason:
          description: In case of Invoice cancellation a reason must be given (entered
            in error, superseded by corrected invoice etc.).
          $ref: '#/components/schemas/string'
        _cancelledReason:
          description: Extensions for cancelledReason
          $ref: '#/components/schemas/Element'
        type:
          description: Type of Invoice depending on domain, realm an usage (e.g. internal/external,
            dental, preliminary).
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: The individual or set of individuals receiving the goods and
            services billed in this invoice.
          $ref: '#/components/schemas/Reference'
        recipient:
          description: The individual or Organization responsible for balancing of this
            invoice.
          $ref: '#/components/schemas/Reference'
        date:
          description: Depricared by the element below.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        creation:
          description: Date/time(s) of when this Invoice was posted.
          $ref: '#/components/schemas/dateTime'
        _creation:
          description: Extensions for creation
          $ref: '#/components/schemas/Element'
        periodDate:
          description: Date/time(s) range of services included in this invoice.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _periodDate:
          description: Extensions for periodDate
          $ref: '#/components/schemas/Element'
        periodPeriod:
          description: Date/time(s) range of services included in this invoice.
          $ref: '#/components/schemas/Period'
        participant:
          description: Indicates who or what performed or participated in the charged
            service.
          items:
            $ref: '#/components/schemas/Invoice_Participant'
          type: array
        issuer:
          description: The organizationissuing the Invoice.
          $ref: '#/components/schemas/Reference'
        account:
          description: Account which is supposed to be balanced with this Invoice.
          $ref: '#/components/schemas/Reference'
        lineItem:
          description: Each line item represents one charge for goods and services rendered.
            Details such.ofType(date), code and amount are found in the referenced ChargeItem
            resource.
          items:
            $ref: '#/components/schemas/Invoice_LineItem'
          type: array
        totalPriceComponent:
          description: The total amount for the Invoice may be calculated as the sum
            of the line items with surcharges/deductions that apply in certain conditions.  The
            priceComponent element can be used to offer transparency to the recipient
            of the Invoice of how the total price was calculated.
          items:
            $ref: '#/components/schemas/MonetaryComponent'
          type: array
        totalNet:
          description: Invoice total , taxes excluded.
          $ref: '#/components/schemas/Money'
        totalGross:
          description: Invoice total, tax included.
          $ref: '#/components/schemas/Money'
        paymentTerms:
          description: Payment details such as banking details, period of payment, deductibles,
            methods of payment.
          $ref: '#/components/schemas/markdown'
        _paymentTerms:
          description: Extensions for paymentTerms
          $ref: '#/components/schemas/Element'
        note:
          description: Comments made about the invoice by the issuer, subject, or other
            participants.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    Invoice_Participant:
      description: Invoice containing collected ChargeItems from an Account with calculated
        individual and total price for Billing purpose.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        role:
          description: Describes the type of involvement (e.g. transcriptionist, creator
            etc.). If the invoice has been created automatically, the Participant may
            be a billing engine or another kind of device.
          $ref: '#/components/schemas/CodeableConcept'
        actor:
          description: The device, practitioner, etc. who performed or participated
            in the service.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - actor
    Invoice_LineItem:
      description: Invoice containing collected ChargeItems from an Account with calculated
        individual and total price for Billing purpose.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: Sequence in which the items appear on the invoice.
          $ref: '#/components/schemas/positiveInt'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        servicedDate:
          description: Date/time(s) range when this service was delivered or completed.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _servicedDate:
          description: Extensions for servicedDate
          $ref: '#/components/schemas/Element'
        servicedPeriod:
          description: Date/time(s) range when this service was delivered or completed.
          $ref: '#/components/schemas/Period'
        chargeItemReference:
          description: The ChargeItem contains information such as the billing code,
            date, amount etc. If no further details are required for the lineItem, inline
            billing codes can be added using the CodeableConcept data type instead of
            the Reference.
          $ref: '#/components/schemas/Reference'
        chargeItemCodeableConcept:
          description: The ChargeItem contains information such as the billing code,
            date, amount etc. If no further details are required for the lineItem, inline
            billing codes can be added using the CodeableConcept data type instead of
            the Reference.
          $ref: '#/components/schemas/CodeableConcept'
        priceComponent:
          description: The price for a ChargeItem may be calculated as a base price
            with surcharges/deductions that apply in certain conditions. A ChargeItemDefinition
            resource that defines the prices, factors and conditions that apply to a
            billing code is currently under development. The priceComponent element
            can be used to offer transparency to the recipient of the Invoice as to
            how the prices have been calculated.
          items:
            $ref: '#/components/schemas/MonetaryComponent'
          type: array
      type: object
      additionalProperties: false
    Library:
      description: The Library resource is a general-purpose container for knowledge
        asset definitions. It can be used to describe and expose existing knowledge
        assets such as logic libraries and information model descriptions, as well as
        to describe a collection of knowledge assets.
      properties:
        resourceType:
          description: This is a Library resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this library when it
            is referenced in a specification, model, design or an instance; also called
            its canonical identifier. This SHOULD be globally unique and SHOULD be a
            literal address at which an authoritative instance of this library is (or
            will be) published. This URL can be the target of a canonical reference.
            It SHALL remain the same when the library is stored on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this library when
            it is represented in other formats, or referenced in a specification, model,
            design or an instance. e.g. CMS or NQF identifiers for a measure artifact.
            Note that at least one identifier is required for non-experimental active
            artifacts.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the library
            when it is referenced in a specification, model, design or instance. This
            is an arbitrary value managed by the library author and is not expected
            to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd)
            if a managed version is not available. There is also no expectation that
            versions can be placed in a lexicographical sequence. To provide a version
            consistent with the Decision Support Service specification, use the format
            Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge
            assets, refer to the Decision Support Service specification. Note that a
            version is required for non-experimental active artifacts.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the library. This name should
            be usable as an identifier for the module by machine processing applications
            such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the library.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this library. Enables tracking the life-cycle of
            the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this library is authored for
            testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the library was last significantly
            changed. The date must change when the business version changes and it must
            change if the status code changes. In addition, it should change when the
            substantive content of the library changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the library.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the library from
            a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            library instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the library is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this library is needed and why it has been
            designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the library and/or its contents.
            Copyright statements are generally legal restrictions on the use and publishing
            of the library.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the library content was or is planned
            to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptive topics related to the content of the library. Topics
            provide a high-level categorization of the library that can be useful for
            filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual or organization primarily involved in the creation
            and maintenance of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individual or organization primarily responsible for internal
            coherence of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individual or organization asserted by the publisher to be
            primarily responsible for review of some aspect of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individual or organization asserted by the publisher to be
            responsible for officially endorsing the content for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Related artifacts such as additional documentation, justification,
            or bibliographic references.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        subtitle:
          description: An explanatory or alternate title for the library giving additional
            information about its content.
          $ref: '#/components/schemas/string'
        _subtitle:
          description: Extensions for subtitle
          $ref: '#/components/schemas/Element'
        type:
          description: Identifies the type of library such as a Logic Library, Model
            Definition, Asset Collection, or Module Definition.
          $ref: '#/components/schemas/CodeableConcept'
        subjectCodeableConcept:
          description: A code or group definition that describes the intended subject
            of the contents of the library.
          $ref: '#/components/schemas/CodeableConcept'
        subjectReference:
          description: A code or group definition that describes the intended subject
            of the contents of the library.
          $ref: '#/components/schemas/Reference'
        usage:
          description: A detailed description of how the library is used from a clinical
            perspective.
          $ref: '#/components/schemas/markdown'
        _usage:
          description: Extensions for usage
          $ref: '#/components/schemas/Element'
        parameter:
          description: The parameter element defines parameters used by the library.
          items:
            $ref: '#/components/schemas/ParameterDefinition'
          type: array
        dataRequirement:
          description: Describes a set of data that must be provided in order to be
            able to successfully perform the computations defined by the library.
          items:
            $ref: '#/components/schemas/DataRequirement'
          type: array
        content:
          description: The content of the library as an Attachment. The content may
            be a reference to a url, or may be directly embedded as a base-64 string.
            Either way, the contentType of the attachment determines how to interpret
            the content.
          items:
            $ref: '#/components/schemas/Attachment'
          type: array
      type: object
      additionalProperties: false
      required:
      - type
      - resourceType
    Linkage:
      description: Identifies two or more records (resource instances) that refer to
        the same real-world "occurrence".
      properties:
        resourceType:
          description: This is a Linkage resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        active:
          description: Indicates whether the asserted set of linkages are considered
            to be "in effect".
          $ref: '#/components/schemas/boolean'
        _active:
          description: Extensions for active
          $ref: '#/components/schemas/Element'
        author:
          description: Identifies the user or organization responsible for asserting
            the linkages as well as the user or organization who establishes the context
            in which the nature of each linkage is evaluated.
          $ref: '#/components/schemas/Reference'
        item:
          description: Identifies which record considered as the reference to the same
            real-world occurrence as well as how the items should be evaluated within
            the collection of linked items.
          items:
            $ref: '#/components/schemas/Linkage_Item'
          type: array
      type: object
      additionalProperties: false
      required:
      - item
      - resourceType
    Linkage_Item:
      description: Identifies two or more records (resource instances) that refer to
        the same real-world "occurrence".
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Distinguishes which item is "source of truth" (if any) and which
            items are no longer considered to be current representations.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        resource:
          description: The resource instance being linked as part of the group.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - resource
    List:
      description: A List is a curated collection of resources, for things such as problem
        lists, allergy lists, facility list, organization list, etc.
      properties:
        resourceType:
          description: This is a List resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifier for the List assigned for business purposes outside
            the context of FHIR.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: Indicates the current state of this list.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        mode:
          description: How this list was prepared - whether it is a working list that
            is suitable for being maintained on an ongoing basis, or if it represents
            a snapshot of a list of items from another source, or whether it is a prepared
            list where items may be marked as added, modified or deleted.
          $ref: '#/components/schemas/code'
        _mode:
          description: Extensions for mode
          $ref: '#/components/schemas/Element'
        title:
          description: A label for the list assigned by the author.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        code:
          description: This code defines the purpose of the list - why it was created.
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: The common subject(s) (or patient(s)) of the resources that are
            in the list if there is one (or a set of subjects).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        encounter:
          description: The encounter that is the context in which this list was created.
          $ref: '#/components/schemas/Reference'
        date:
          description: Date list was last reviewed/revised and determined to be 'current'.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        source:
          description: The entity responsible for deciding what the contents of the
            list were. Where the list was created by a human, this is the same as the
            author of the list.
          $ref: '#/components/schemas/Reference'
        orderedBy:
          description: What order applies to the items in the list.
          $ref: '#/components/schemas/CodeableConcept'
        note:
          description: Comments that apply to the overall list.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        entry:
          description: Entries in this list.
          items:
            $ref: '#/components/schemas/List_Entry'
          type: array
        emptyReason:
          description: If the list is empty, why the list is empty.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - resourceType
    List_Entry:
      description: A List is a curated collection of resources, for things such as problem
        lists, allergy lists, facility list, organization list, etc.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        flag:
          description: The flag allows the system constructing the list to indicate
            the role and significance of the item in the list.
          $ref: '#/components/schemas/CodeableConcept'
        deleted:
          description: True if this item is marked as deleted in the list.
          $ref: '#/components/schemas/boolean'
        _deleted:
          description: Extensions for deleted
          $ref: '#/components/schemas/Element'
        date:
          description: When this item was added to the list.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        item:
          description: A reference to the actual resource from which data was derived.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - item
    Location:
      description: Details and position information for a place where services are provided
        and resources and participants may be stored, found, contained, or accommodated.
      properties:
        resourceType:
          description: This is a Location resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Unique code or number identifying the location to its users.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The status property covers the general availability of the resource,
            not the current value which may be covered by the operationStatus, or by
            a schedule/slots if they are configured for the location.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        operationalStatus:
          description: The operational status covers operation values most relevant
            to beds (but can also apply to rooms/units/chairs/etc. such as an isolation
            unit/dialysis chair). This typically covers concepts such as contamination,
            housekeeping, and other activities like maintenance.
          $ref: '#/components/schemas/Coding'
        name:
          description: Name of the location as used by humans. Does not need to be unique.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        alias:
          description: A list of alternate names that the location is known as, or was
            known as, in the past.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _alias:
          description: Extensions for alias
          items:
            $ref: '#/components/schemas/Element'
          type: array
        description:
          description: Description of the Location, which helps in finding or referencing
            the place.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        mode:
          description: Indicates whether a resource instance represents a specific location
            or a class of locations.
          $ref: '#/components/schemas/code'
        _mode:
          description: Extensions for mode
          $ref: '#/components/schemas/Element'
        type:
          description: Indicates the type of function performed at the location.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        contact:
          description: The contact details of communication devices available at the
            location. This can include addresses, phone numbers, fax numbers, mobile
            numbers, email addresses and web sites.
          items:
            $ref: '#/components/schemas/ExtendedContactDetail'
          type: array
        address:
          description: Physical location.
          $ref: '#/components/schemas/Address'
        form:
          description: Physical form of the location, e.g. building, room, vehicle,
            road, virtual.
          $ref: '#/components/schemas/CodeableConcept'
        position:
          description: The absolute geographic location of the Location, expressed using
            the WGS84 datum (This is the same co-ordinate system used in KML).
          $ref: '#/components/schemas/Location_Position'
        managingOrganization:
          description: The organization responsible for the provisioning and upkeep
            of the location.
          $ref: '#/components/schemas/Reference'
        partOf:
          description: Another Location of which this Location is physically a part
            of.
          $ref: '#/components/schemas/Reference'
        characteristic:
          description: Collection of characteristics (attributes).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        hoursOfOperation:
          description: What days/times during a week is this location usually open,
            and any exceptions where the location is not available.
          $ref: '#/components/schemas/Availability'
        virtualService:
          description: Connection details of a virtual service (e.g. shared conference
            call facility with dedicated number/details).
          items:
            $ref: '#/components/schemas/VirtualServiceDetail'
          type: array
        endpoint:
          description: Technical endpoints providing access to services operated for
            the location.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    Location_Position:
      description: Details and position information for a place where services are provided
        and resources and participants may be stored, found, contained, or accommodated.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        longitude:
          description: Longitude. The value domain and the interpretation are the same
            as for the text of the longitude element in KML (see notes on Location main
            page).
          $ref: '#/components/schemas/decimal'
        _longitude:
          description: Extensions for longitude
          $ref: '#/components/schemas/Element'
        latitude:
          description: Latitude. The value domain and the interpretation are the same
            as for the text of the latitude element in KML (see notes on Location main
            page).
          $ref: '#/components/schemas/decimal'
        _latitude:
          description: Extensions for latitude
          $ref: '#/components/schemas/Element'
        altitude:
          description: Altitude. The value domain and the interpretation are the same
            as for the text of the altitude element in KML (see notes on Location main
            page).
          $ref: '#/components/schemas/decimal'
        _altitude:
          description: Extensions for altitude
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ManufacturedItemDefinition:
      description: The definition and characteristics of a medicinal manufactured item,
        such as a tablet or capsule, as contained in a packaged medicinal product.
      properties:
        resourceType:
          description: This is a ManufacturedItemDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Unique identifier.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The status of this item. Enables tracking the life-cycle of the
            content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        name:
          description: A descriptive name applied to this item.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        manufacturedDoseForm:
          description: Dose form as manufactured and before any transformation into
            the pharmaceutical product.
          $ref: '#/components/schemas/CodeableConcept'
        unitOfPresentation:
          description: The “real-world” units in which the quantity of the manufactured
            item is described.
          $ref: '#/components/schemas/CodeableConcept'
        manufacturer:
          description: Manufacturer of the item, one of several possible.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        marketingStatus:
          description: Allows specifying that an item is on the market for sale, or
            that it is not available, and the dates and locations associated.
          items:
            $ref: '#/components/schemas/MarketingStatus'
          type: array
        ingredient:
          description: The ingredients of this manufactured item. This is only needed
            if the ingredients are not specified by incoming references from the Ingredient
            resource.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        property:
          description: General characteristics of this item.
          items:
            $ref: '#/components/schemas/ManufacturedItemDefinition_Property'
          type: array
        component:
          description: Physical parts of the manufactured item, that it is intrisically
            made from. This is distinct from the ingredients that are part of its chemical
            makeup.
          items:
            $ref: '#/components/schemas/ManufacturedItemDefinition_Component'
          type: array
      type: object
      additionalProperties: false
      required:
      - manufacturedDoseForm
      - resourceType
    ManufacturedItemDefinition_Property:
      description: The definition and characteristics of a medicinal manufactured item,
        such as a tablet or capsule, as contained in a packaged medicinal product.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: A code expressing the type of characteristic.
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableConcept:
          description: A value for the characteristic.
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: A value for the characteristic.
          $ref: '#/components/schemas/Quantity'
        valueDate:
          description: A value for the characteristic.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: A value for the characteristic.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueMarkdown:
          description: A value for the characteristic.
          pattern: ^^[\s\S]+$$
          type: string
        _valueMarkdown:
          description: Extensions for valueMarkdown
          $ref: '#/components/schemas/Element'
        valueAttachment:
          description: A value for the characteristic.
          $ref: '#/components/schemas/Attachment'
        valueReference:
          description: A value for the characteristic.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - type
    ManufacturedItemDefinition_Component:
      description: The definition and characteristics of a medicinal manufactured item,
        such as a tablet or capsule, as contained in a packaged medicinal product.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Defining type of the component e.g. shell, layer, ink.
          $ref: '#/components/schemas/CodeableConcept'
        function:
          description: The function of this component within the item e.g. delivers
            active ingredient, masks taste.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        amount:
          description: The measurable amount of total quantity of all substances in
            the component, expressable in different ways (e.g. by mass or volume).
          items:
            $ref: '#/components/schemas/Quantity'
          type: array
        constituent:
          description: A reference to a constituent of the manufactured item as a whole,
            linked here so that its component location within the item can be indicated.
            This not where the item's ingredient are primarily stated (for which see
            Ingredient.for or ManufacturedItemDefinition.ingredient).
          items:
            $ref: '#/components/schemas/ManufacturedItemDefinition_Constituent'
          type: array
        property:
          description: General characteristics of this component.
          items:
            $ref: '#/components/schemas/ManufacturedItemDefinition_Property'
          type: array
        component:
          description: A component that this component contains or is made from.
          items:
            $ref: '#/components/schemas/ManufacturedItemDefinition_Component'
          type: array
      type: object
      additionalProperties: false
      required:
      - type
    ManufacturedItemDefinition_Constituent:
      description: The definition and characteristics of a medicinal manufactured item,
        such as a tablet or capsule, as contained in a packaged medicinal product.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        amount:
          description: The measurable amount of the substance, expressable in different
            ways (e.g. by mass or volume).
          items:
            $ref: '#/components/schemas/Quantity'
          type: array
        location:
          description: The physical location of the constituent/ingredient within the
            component. Example – if the component is the bead in the capsule, then the
            location would be where the ingredient resides within the product part –
            intragranular, extra-granular, etc.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        function:
          description: The function of this constituent within the component e.g. binder.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        hasIngredient:
          description: The ingredient that is the constituent of the given component.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
      type: object
      additionalProperties: false
    Measure:
      description: The Measure resource provides the definition of a quality measure.
      properties:
        resourceType:
          description: This is a Measure resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this measure when it
            is referenced in a specification, model, design or an instance; also called
            its canonical identifier. This SHOULD be globally unique and SHOULD be a
            literal address at which an authoritative instance of this measure is (or
            will be) published. This URL can be the target of a canonical reference.
            It SHALL remain the same when the measure is stored on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this measure when
            it is represented in other formats, or referenced in a specification, model,
            design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the measure
            when it is referenced in a specification, model, design or instance. This
            is an arbitrary value managed by the measure author and is not expected
            to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd)
            if a managed version is not available. There is also no expectation that
            versions can be placed in a lexicographical sequence. To provide a version
            consistent with the Decision Support Service specification, use the format
            Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge
            assets, refer to the Decision Support Service specification. Note that a
            version is required for non-experimental active artifacts.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the measure. This name should
            be usable as an identifier for the module by machine processing applications
            such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the measure.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this measure. Enables tracking the life-cycle of
            the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this measure is authored for
            testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the measure was last significantly
            changed. The date must change when the business version changes and it must
            change if the status code changes. In addition, it should change when the
            substantive content of the measure changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the measure.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the measure from
            a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            measure instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the measure is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this measure is needed and why it has been
            designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the measure and/or its contents.
            Copyright statements are generally legal restrictions on the use and publishing
            of the measure.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the measure content was or is planned
            to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptive topics related to the content of the measure. Topics
            provide a high-level categorization grouping types of measures that can
            be useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual or organization primarily involved in the creation
            and maintenance of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individual or organization primarily responsible for internal
            coherence of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individual or organization asserted by the publisher to be
            primarily responsible for review of some aspect of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individual or organization asserted by the publisher to be
            responsible for officially endorsing the content for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Related artifacts such as additional documentation, justification,
            or bibliographic references.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        subtitle:
          description: An explanatory or alternate title for the measure giving additional
            information about its content.
          $ref: '#/components/schemas/string'
        _subtitle:
          description: Extensions for subtitle
          $ref: '#/components/schemas/Element'
        subjectCodeableConcept:
          description: The intended subjects for the measure. If this element is not
            provided, a Patient subject is assumed, but the subject of the measure can
            be anything.
          $ref: '#/components/schemas/CodeableConcept'
        subjectReference:
          description: The intended subjects for the measure. If this element is not
            provided, a Patient subject is assumed, but the subject of the measure can
            be anything.
          $ref: '#/components/schemas/Reference'
        basis:
          description: The population basis specifies the type of elements in the population.
            For a subject-based measure, this is boolean (because the subject and the
            population basis are the same, and the population criteria define yes/no
            values for each individual in the population). For measures that have a
            population basis that is different than the subject, this element specifies
            the type of the population basis. For example, an encounter-based measure
            has a subject of Patient and a population basis of Encounter, and the population
            criteria all return lists of Encounters.
          $ref: '#/components/schemas/code'
        _basis:
          description: Extensions for basis
          $ref: '#/components/schemas/Element'
        usage:
          description: A detailed description, from a clinical perspective, of how the
            measure is used.
          $ref: '#/components/schemas/markdown'
        _usage:
          description: Extensions for usage
          $ref: '#/components/schemas/Element'
        library:
          description: A reference to a Library resource containing the formal logic
            used by the measure.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        disclaimer:
          description: Notices and disclaimers regarding the use of the measure or related
            to intellectual property (such as code systems) referenced by the measure.
          $ref: '#/components/schemas/markdown'
        _disclaimer:
          description: Extensions for disclaimer
          $ref: '#/components/schemas/Element'
        scoring:
          description: Indicates how the calculation is performed for the measure, including
            proportion, ratio, continuous-variable, and cohort. The value set is extensible,
            allowing additional measure scoring types to be represented.
          $ref: '#/components/schemas/CodeableConcept'
        scoringUnit:
          description: Defines the expected units of measure for the measure score.
            This element SHOULD be specified as a UCUM unit.
          $ref: '#/components/schemas/CodeableConcept'
        compositeScoring:
          description: If this is a composite measure, the scoring method used to combine
            the component measures to determine the composite score.
          $ref: '#/components/schemas/CodeableConcept'
        type:
          description: Indicates whether the measure is used to examine a process, an
            outcome over time, a patient-reported outcome, or a structure measure such
            as utilization.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        riskAdjustment:
          description: A description of the risk adjustment factors that may impact
            the resulting score for the measure and how they may be accounted for when
            computing and reporting measure results.
          $ref: '#/components/schemas/markdown'
        _riskAdjustment:
          description: Extensions for riskAdjustment
          $ref: '#/components/schemas/Element'
        rateAggregation:
          description: Describes how to combine the information calculated, based on
            logic in each of several populations, into one summarized result.
          $ref: '#/components/schemas/markdown'
        _rateAggregation:
          description: Extensions for rateAggregation
          $ref: '#/components/schemas/Element'
        rationale:
          description: 'Provides a succinct statement of the need for the measure. Usually
            includes statements pertaining to importance criterion: impact, gap in care,
            and evidence.'
          $ref: '#/components/schemas/markdown'
        _rationale:
          description: Extensions for rationale
          $ref: '#/components/schemas/Element'
        clinicalRecommendationStatement:
          description: Provides a summary of relevant clinical guidelines or other clinical
            recommendations supporting the measure.
          $ref: '#/components/schemas/markdown'
        _clinicalRecommendationStatement:
          description: Extensions for clinicalRecommendationStatement
          $ref: '#/components/schemas/Element'
        improvementNotation:
          description: Information on whether an increase or decrease in score is the
            preferred result (e.g., a higher score indicates better quality OR a lower
            score indicates better quality OR quality is within a range).
          $ref: '#/components/schemas/CodeableConcept'
        term:
          description: Provides a description of an individual term used within the
            measure.
          items:
            $ref: '#/components/schemas/Measure_Term'
          type: array
        guidance:
          description: Additional guidance for the measure including how it can be used
            in a clinical context, and the intent of the measure.
          $ref: '#/components/schemas/markdown'
        _guidance:
          description: Extensions for guidance
          $ref: '#/components/schemas/Element'
        group:
          description: A group of population criteria for the measure.
          items:
            $ref: '#/components/schemas/Measure_Group'
          type: array
        supplementalData:
          description: The supplemental data criteria for the measure report, specified
            as either the name of a valid CQL expression within a referenced library,
            or a valid FHIR Resource Path.
          items:
            $ref: '#/components/schemas/Measure_SupplementalData'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    Measure_Term:
      description: The Measure resource provides the definition of a quality measure.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A codeable representation of the defined term.
          $ref: '#/components/schemas/CodeableConcept'
        definition:
          description: Provides a definition for the term as used within the measure.
          $ref: '#/components/schemas/markdown'
        _definition:
          description: Extensions for definition
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Measure_Group:
      description: The Measure resource provides the definition of a quality measure.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkId:
          description: An identifier that is unique within the Measure allowing linkage
            to the equivalent item in a MeasureReport resource.
          $ref: '#/components/schemas/string'
        _linkId:
          description: Extensions for linkId
          $ref: '#/components/schemas/Element'
        code:
          description: Indicates a meaning for the group. This can be as simple as a
            unique identifier, or it can establish meaning in a broader context by drawing
            from a terminology, allowing groups to be correlated across measures.
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: The human readable description of this population group.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        type:
          description: Indicates whether the measure is used to examine a process, an
            outcome over time, a patient-reported outcome, or a structure measure such
            as utilization.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        subjectCodeableConcept:
          description: The intended subjects for the measure. If this element is not
            provided, a Patient subject is assumed, but the subject of the measure can
            be anything.
          $ref: '#/components/schemas/CodeableConcept'
        subjectReference:
          description: The intended subjects for the measure. If this element is not
            provided, a Patient subject is assumed, but the subject of the measure can
            be anything.
          $ref: '#/components/schemas/Reference'
        basis:
          description: The population basis specifies the type of elements in the population.
            For a subject-based measure, this is boolean (because the subject and the
            population basis are the same, and the population criteria define yes/no
            values for each individual in the population). For measures that have a
            population basis that is different than the subject, this element specifies
            the type of the population basis. For example, an encounter-based measure
            has a subject of Patient and a population basis of Encounter, and the population
            criteria all return lists of Encounters.
          $ref: '#/components/schemas/code'
        _basis:
          description: Extensions for basis
          $ref: '#/components/schemas/Element'
        scoring:
          description: Indicates how the calculation is performed for the measure, including
            proportion, ratio, continuous-variable, and cohort. The value set is extensible,
            allowing additional measure scoring types to be represented.
          $ref: '#/components/schemas/CodeableConcept'
        scoringUnit:
          description: Defines the expected units of measure for the measure score.
            This element SHOULD be specified as a UCUM unit.
          $ref: '#/components/schemas/CodeableConcept'
        rateAggregation:
          description: Describes how to combine the information calculated, based on
            logic in each of several populations, into one summarized result.
          $ref: '#/components/schemas/markdown'
        _rateAggregation:
          description: Extensions for rateAggregation
          $ref: '#/components/schemas/Element'
        improvementNotation:
          description: Information on whether an increase or decrease in score is the
            preferred result (e.g., a higher score indicates better quality OR a lower
            score indicates better quality OR quality is within a range).
          $ref: '#/components/schemas/CodeableConcept'
        library:
          description: A reference to a Library resource containing the formal logic
            used by the measure group.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        population:
          description: A population criteria for the measure.
          items:
            $ref: '#/components/schemas/Measure_Population'
          type: array
        stratifier:
          description: The stratifier criteria for the measure report, specified as
            either the name of a valid CQL expression defined within a referenced library
            or a valid FHIR Resource Path.
          items:
            $ref: '#/components/schemas/Measure_Stratifier'
          type: array
      type: object
      additionalProperties: false
    Measure_Population:
      description: The Measure resource provides the definition of a quality measure.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkId:
          description: An identifier that is unique within the Measure allowing linkage
            to the equivalent population in a MeasureReport resource.
          $ref: '#/components/schemas/string'
        _linkId:
          description: Extensions for linkId
          $ref: '#/components/schemas/Element'
        code:
          description: The type of population criteria.
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: The human readable description of this population criteria.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        criteria:
          description: An expression that specifies the criteria for the population,
            typically the name of an expression in a library.
          $ref: '#/components/schemas/Expression'
        groupDefinition:
          description: A Group resource that defines this population as a set of characteristics.
          $ref: '#/components/schemas/Reference'
        inputPopulationId:
          description: The id of a population element in this measure that provides
            the input for this population criteria. In most cases, the scoring structure
            of the measure implies specific relationships (e.g. the Numerator uses the
            Denominator as the source in a proportion scoring). In some cases, however,
            multiple possible choices exist and must be resolved explicitly. For example
            in a ratio measure with multiple initial populations, the denominator must
            specify which population should be used as the starting point.
          $ref: '#/components/schemas/string'
        _inputPopulationId:
          description: Extensions for inputPopulationId
          $ref: '#/components/schemas/Element'
        aggregateMethod:
          description: Specifies which method should be used to aggregate measure observation
            values. For most scoring types, this is implied by scoring (e.g. a proportion
            measure counts members of the populations). For continuous variables, however,
            this information must be specified to ensure correct calculation.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    Measure_Stratifier:
      description: The Measure resource provides the definition of a quality measure.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkId:
          description: An identifier that is unique within the Measure allowing linkage
            to the equivalent item in a MeasureReport resource.
          $ref: '#/components/schemas/string'
        _linkId:
          description: Extensions for linkId
          $ref: '#/components/schemas/Element'
        code:
          description: Indicates a meaning for the stratifier. This can be as simple
            as a unique identifier, or it can establish meaning in a broader context
            by drawing from a terminology, allowing stratifiers to be correlated across
            measures.
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: The human readable description of this stratifier criteria.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        criteria:
          description: An expression that specifies the criteria for the stratifier.
            This is typically the name of an expression defined within a referenced
            library, but it may also be a path to a stratifier element.
          $ref: '#/components/schemas/Expression'
        groupDefinition:
          description: A Group resource that defines this population as a set of characteristics.
          $ref: '#/components/schemas/Reference'
        component:
          description: A component of the stratifier criteria for the measure report,
            specified as either the name of a valid CQL expression defined within a
            referenced library or a valid FHIR Resource Path.
          items:
            $ref: '#/components/schemas/Measure_Component'
          type: array
      type: object
      additionalProperties: false
    Measure_Component:
      description: The Measure resource provides the definition of a quality measure.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkId:
          description: An identifier that is unique within the Measure allowing linkage
            to the equivalent item in a MeasureReport resource.
          $ref: '#/components/schemas/string'
        _linkId:
          description: Extensions for linkId
          $ref: '#/components/schemas/Element'
        code:
          description: Indicates a meaning for the stratifier component. This can be
            as simple as a unique identifier, or it can establish meaning in a broader
            context by drawing from a terminology, allowing stratifiers to be correlated
            across measures.
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: The human readable description of this stratifier criteria component.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        criteria:
          description: An expression that specifies the criteria for this component
            of the stratifier. This is typically the name of an expression defined within
            a referenced library, but it may also be a path to a stratifier element.
          $ref: '#/components/schemas/Expression'
        groupDefinition:
          description: A Group resource that defines this population as a set of characteristics.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    Measure_SupplementalData:
      description: The Measure resource provides the definition of a quality measure.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkId:
          description: An identifier that is unique within the Measure allowing linkage
            to the equivalent item in a MeasureReport resource.
          $ref: '#/components/schemas/string'
        _linkId:
          description: Extensions for linkId
          $ref: '#/components/schemas/Element'
        code:
          description: Indicates a meaning for the supplemental data. This can be as
            simple as a unique identifier, or it can establish meaning in a broader
            context by drawing from a terminology, allowing supplemental data to be
            correlated across measures.
          $ref: '#/components/schemas/CodeableConcept'
        usage:
          description: An indicator of the intended usage for the supplemental data
            element. Supplemental data indicates the data is additional information
            requested to augment the measure information. Risk adjustment factor indicates
            the data is additional information used to calculate risk adjustment factors
            when applying a risk model to the measure calculation.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        description:
          description: The human readable description of this supplemental data.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        criteria:
          description: The criteria for the supplemental data. This is typically the
            name of a valid expression defined within a referenced library, but it may
            also be a path to a specific data element. The criteria defines the data
            to be returned for this element.
          $ref: '#/components/schemas/Expression'
      type: object
      additionalProperties: false
      required:
      - criteria
    MeasureReport:
      description: The MeasureReport resource contains the results of the calculation
        of a measure; and optionally a reference to the resources involved in that calculation.
      properties:
        resourceType:
          description: This is a MeasureReport resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A formal identifier that is used to identify this MeasureReport
            when it is represented in other formats or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The MeasureReport status. No data will be available until the
            MeasureReport status is complete.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        type:
          description: The type of measure report. This may be an individual report,
            which provides the score for the measure for an individual member of the
            population; a subject-listing, which returns the list of members that meet
            the various criteria in the measure; a summary report, which returns a population
            count for each of the criteria in the measure; or a data-collection, which
            enables the MeasureReport to be used to exchange the data-of-interest for
            a quality measure.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        dataUpdateType:
          description: Indicates whether the data submitted in a data-exchange report
            represents a snapshot or incremental update. A snapshot update replaces
            all previously submitted data for the receiver, whereas an incremental update
            represents only updated and/or changed data and should be applied as a differential
            update to the existing submitted data for the receiver.
          $ref: '#/components/schemas/code'
        _dataUpdateType:
          description: Extensions for dataUpdateType
          $ref: '#/components/schemas/Element'
        measure:
          description: A reference to the Measure that was calculated to produce this
            report.
          $ref: '#/components/schemas/canonical'
        subject:
          description: Optional subject identifying the individual or individuals the
            report is for.
          $ref: '#/components/schemas/Reference'
        date:
          description: The date this measure was calculated.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        reporter:
          description: The individual or organization that is reporting the data.
          $ref: '#/components/schemas/Reference'
        reportingVendor:
          description: A reference to the vendor who queried the data, calculated results
            and/or generated the report. The ‘reporting vendor’ is intended to represent
            the submitting entity when it is not the same as the reporting entity. This
            extension is used when the Receiver is interested in getting vendor information
            in the report.
          $ref: '#/components/schemas/Reference'
        location:
          description: A reference to the location for which the data is being reported.
          $ref: '#/components/schemas/Reference'
        period:
          description: The reporting period for which the report was calculated.
          $ref: '#/components/schemas/Period'
        inputParameters:
          description: A reference to a Parameters resource (typically represented using
            a contained resource) that represents any input parameters that were provided
            to the operation that generated the report.
          $ref: '#/components/schemas/Reference'
        scoring:
          description: Indicates how the calculation is performed for the measure, including
            proportion, ratio, continuous-variable, and cohort. The value set is extensible,
            allowing additional measure scoring types to be represented. It is expected
            to be the same as the scoring element on the referenced Measure.
          $ref: '#/components/schemas/CodeableConcept'
        improvementNotation:
          description: Whether improvement in the measure is noted by an increase or
            decrease in the measure score.
          $ref: '#/components/schemas/CodeableConcept'
        group:
          description: The results of the calculation, one for each population group
            in the measure.
          items:
            $ref: '#/components/schemas/MeasureReport_Group'
          type: array
        supplementalData:
          description: A reference to a Resource that represents additional information
            collected for the report. If the value of the supplemental data is not a
            Resource (i.e. evaluating the supplementalData expression for this case
            in the measure results in a value that is not a FHIR Resource), it is reported
            as a reference to a contained Observation resource.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        evaluatedResource:
          description: Evaluated resources are used to capture what data was involved
            in the calculation of a measure. This usage is only allowed for individual
            reports to ensure that the size of the MeasureReport resource is bounded.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - period
      - resourceType
    MeasureReport_Group:
      description: The MeasureReport resource contains the results of the calculation
        of a measure; and optionally a reference to the resources involved in that calculation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkId:
          description: The group from the Measure that corresponds to this group in
            the MeasureReport resource.
          $ref: '#/components/schemas/string'
        _linkId:
          description: Extensions for linkId
          $ref: '#/components/schemas/Element'
        code:
          description: The meaning of the population group as defined in the measure
            definition.
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: Optional subject identifying the individual or individuals the
            report is for.
          $ref: '#/components/schemas/Reference'
        population:
          description: The populations that make up the population group, one for each
            type of population appropriate for the measure.
          items:
            $ref: '#/components/schemas/MeasureReport_Population'
          type: array
        measureScoreQuantity:
          description: The measure score for this population group, calculated as appropriate
            for the measure type and scoring method, and based on the contents of the
            populations defined in the group.
          $ref: '#/components/schemas/Quantity'
        measureScoreDateTime:
          description: The measure score for this population group, calculated as appropriate
            for the measure type and scoring method, and based on the contents of the
            populations defined in the group.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _measureScoreDateTime:
          description: Extensions for measureScoreDateTime
          $ref: '#/components/schemas/Element'
        measureScoreCodeableConcept:
          description: The measure score for this population group, calculated as appropriate
            for the measure type and scoring method, and based on the contents of the
            populations defined in the group.
          $ref: '#/components/schemas/CodeableConcept'
        measureScorePeriod:
          description: The measure score for this population group, calculated as appropriate
            for the measure type and scoring method, and based on the contents of the
            populations defined in the group.
          $ref: '#/components/schemas/Period'
        measureScoreRange:
          description: The measure score for this population group, calculated as appropriate
            for the measure type and scoring method, and based on the contents of the
            populations defined in the group.
          $ref: '#/components/schemas/Range'
        measureScoreDuration:
          description: The measure score for this population group, calculated as appropriate
            for the measure type and scoring method, and based on the contents of the
            populations defined in the group.
          $ref: '#/components/schemas/Duration'
        stratifier:
          description: When a measure includes multiple stratifiers, there will be a
            stratifier group for each stratifier defined by the measure.
          items:
            $ref: '#/components/schemas/MeasureReport_Stratifier'
          type: array
      type: object
      additionalProperties: false
    MeasureReport_Population:
      description: The MeasureReport resource contains the results of the calculation
        of a measure; and optionally a reference to the resources involved in that calculation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkId:
          description: The population from the Measure that corresponds to this population
            in the MeasureReport resource.
          $ref: '#/components/schemas/string'
        _linkId:
          description: Extensions for linkId
          $ref: '#/components/schemas/Element'
        code:
          description: The type of the population.
          $ref: '#/components/schemas/CodeableConcept'
        count:
          description: The number of members of the population.
          $ref: '#/components/schemas/integer'
        _count:
          description: Extensions for count
          $ref: '#/components/schemas/Element'
        subjectResults:
          description: This element refers to a List of individual level MeasureReport
            resources, one for each subject in this population.
          $ref: '#/components/schemas/Reference'
        subjectReport:
          description: A reference to an individual level MeasureReport resource for
            a member of the population.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        subjects:
          description: Optional Group identifying the individuals that make up the population.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    MeasureReport_Stratifier:
      description: The MeasureReport resource contains the results of the calculation
        of a measure; and optionally a reference to the resources involved in that calculation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkId:
          description: The stratifier from the Measure that corresponds to this stratifier
            in the MeasureReport resource.
          $ref: '#/components/schemas/string'
        _linkId:
          description: Extensions for linkId
          $ref: '#/components/schemas/Element'
        code:
          description: The meaning of this stratifier, as defined in the measure definition.
          $ref: '#/components/schemas/CodeableConcept'
        stratum:
          description: This element contains the results for a single stratum within
            the stratifier. For example, when stratifying on administrative gender,
            there will be four strata, one for each possible gender value.
          items:
            $ref: '#/components/schemas/MeasureReport_Stratum'
          type: array
      type: object
      additionalProperties: false
    MeasureReport_Stratum:
      description: The MeasureReport resource contains the results of the calculation
        of a measure; and optionally a reference to the resources involved in that calculation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        valueCodeableConcept:
          description: The value for this stratum, expressed as a CodeableConcept. When
            defining stratifiers on complex values, the value must be rendered such
            that the value for each stratum within the stratifier is unique.
          $ref: '#/components/schemas/CodeableConcept'
        valueBoolean:
          description: The value for this stratum, expressed as a CodeableConcept. When
            defining stratifiers on complex values, the value must be rendered such
            that the value for each stratum within the stratifier is unique.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueQuantity:
          description: The value for this stratum, expressed as a CodeableConcept. When
            defining stratifiers on complex values, the value must be rendered such
            that the value for each stratum within the stratifier is unique.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: The value for this stratum, expressed as a CodeableConcept. When
            defining stratifiers on complex values, the value must be rendered such
            that the value for each stratum within the stratifier is unique.
          $ref: '#/components/schemas/Range'
        valueReference:
          description: The value for this stratum, expressed as a CodeableConcept. When
            defining stratifiers on complex values, the value must be rendered such
            that the value for each stratum within the stratifier is unique.
          $ref: '#/components/schemas/Reference'
        component:
          description: A stratifier component value.
          items:
            $ref: '#/components/schemas/MeasureReport_Component'
          type: array
        population:
          description: The populations that make up the stratum, one for each type of
            population appropriate to the measure.
          items:
            $ref: '#/components/schemas/MeasureReport_Population1'
          type: array
        measureScoreQuantity:
          description: The measure score for this stratum, calculated as appropriate
            for the measure type and scoring method, and based on only the members of
            this stratum.
          $ref: '#/components/schemas/Quantity'
        measureScoreDateTime:
          description: The measure score for this stratum, calculated as appropriate
            for the measure type and scoring method, and based on only the members of
            this stratum.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _measureScoreDateTime:
          description: Extensions for measureScoreDateTime
          $ref: '#/components/schemas/Element'
        measureScoreCodeableConcept:
          description: The measure score for this stratum, calculated as appropriate
            for the measure type and scoring method, and based on only the members of
            this stratum.
          $ref: '#/components/schemas/CodeableConcept'
        measureScorePeriod:
          description: The measure score for this stratum, calculated as appropriate
            for the measure type and scoring method, and based on only the members of
            this stratum.
          $ref: '#/components/schemas/Period'
        measureScoreRange:
          description: The measure score for this stratum, calculated as appropriate
            for the measure type and scoring method, and based on only the members of
            this stratum.
          $ref: '#/components/schemas/Range'
        measureScoreDuration:
          description: The measure score for this stratum, calculated as appropriate
            for the measure type and scoring method, and based on only the members of
            this stratum.
          $ref: '#/components/schemas/Duration'
      type: object
      additionalProperties: false
    MeasureReport_Component:
      description: The MeasureReport resource contains the results of the calculation
        of a measure; and optionally a reference to the resources involved in that calculation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkId:
          description: The stratifier component from the Measure that corresponds to
            this stratifier component in the MeasureReport resource.
          $ref: '#/components/schemas/string'
        _linkId:
          description: Extensions for linkId
          $ref: '#/components/schemas/Element'
        code:
          description: The code for the stratum component value.
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableConcept:
          description: The stratum component value.
          $ref: '#/components/schemas/CodeableConcept'
        valueBoolean:
          description: The stratum component value.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueQuantity:
          description: The stratum component value.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: The stratum component value.
          $ref: '#/components/schemas/Range'
        valueReference:
          description: The stratum component value.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - code
    MeasureReport_Population1:
      description: The MeasureReport resource contains the results of the calculation
        of a measure; and optionally a reference to the resources involved in that calculation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkId:
          description: The population from the Measure that corresponds to this population
            in the MeasureReport resource.
          $ref: '#/components/schemas/string'
        _linkId:
          description: Extensions for linkId
          $ref: '#/components/schemas/Element'
        code:
          description: The type of the population.
          $ref: '#/components/schemas/CodeableConcept'
        count:
          description: The number of members of the population in this stratum.
          $ref: '#/components/schemas/integer'
        _count:
          description: Extensions for count
          $ref: '#/components/schemas/Element'
        subjectResults:
          description: This element refers to a List of individual level MeasureReport
            resources, one for each subject in this population in this stratum.
          $ref: '#/components/schemas/Reference'
        subjectReport:
          description: A reference to an individual level MeasureReport resource for
            a member of the population.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        subjects:
          description: Optional Group identifying the individuals that make up the population.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    Medication:
      description: This resource is primarily used for the identification and definition
        of a medication, including ingredients, for the purposes of prescribing, dispensing,
        and administering a medication as well as for making statements about medication
        use.
      properties:
        resourceType:
          description: This is a Medication resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifier for this medication.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        code:
          description: 'A code (or set of codes) that specify this medication, or a
            textual description if no code is available. Usage note: This could be a
            standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc.
            It could also be a national or local formulary code, optionally with translations
            to other code systems.'
          $ref: '#/components/schemas/CodeableConcept'
        status:
          description: A code to indicate if the medication is in active use.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        marketingAuthorizationHolder:
          description: 'The company or other legal entity that has authorization, from
            the appropriate drug regulatory authority,  to market a medicine in one
            or more jurisdictions.  Typically abbreviated MAH.Note:  The MAH may manufacture
            the product and may also contract the manufacturing of the product to one
            or more companies (organizations).'
          $ref: '#/components/schemas/Reference'
        doseForm:
          description: Describes the form of the item.  Powder; tablets; capsule.
          $ref: '#/components/schemas/CodeableConcept'
        totalVolume:
          description: When the specified product code does not infer a package size,
            this is the specific amount of drug in the product.  For example, when specifying
            a product that has the same strength (For example, Insulin glargine 100
            unit per mL solution for injection), this attribute provides additional
            clarification of the package amount (For example, 3 mL, 10mL, etc.).
          $ref: '#/components/schemas/Quantity'
        ingredient:
          description: Identifies a particular constituent of interest in the product.
          items:
            $ref: '#/components/schemas/Medication_Ingredient'
          type: array
        batch:
          description: Information that only applies to packages (not products).
          $ref: '#/components/schemas/Medication_Batch'
        definition:
          description: A reference to a knowledge resource that provides more information
            about this medication.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - resourceType
    Medication_Ingredient:
      description: This resource is primarily used for the identification and definition
        of a medication, including ingredients, for the purposes of prescribing, dispensing,
        and administering a medication as well as for making statements about medication
        use.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        item:
          description: The ingredient (substance or medication) that the ingredient.strength
            relates to.  This is represented as a concept from a code system or described
            in another resource (Substance or Medication).
          $ref: '#/components/schemas/CodeableReference'
        isActive:
          description: Indication of whether this ingredient affects the therapeutic
            action of the drug.
          $ref: '#/components/schemas/boolean'
        _isActive:
          description: Extensions for isActive
          $ref: '#/components/schemas/Element'
        strengthRatio:
          description: Specifies how many (or how much) of the items there are in this
            Medication.  For example, 250 mg per tablet.  This is expressed as a ratio
            where the numerator is 250mg and the denominator is 1 tablet but can also
            be expressed a quantity when the denominator is assumed to be 1 tablet.
          $ref: '#/components/schemas/Ratio'
        strengthCodeableConcept:
          description: Specifies how many (or how much) of the items there are in this
            Medication.  For example, 250 mg per tablet.  This is expressed as a ratio
            where the numerator is 250mg and the denominator is 1 tablet but can also
            be expressed a quantity when the denominator is assumed to be 1 tablet.
          $ref: '#/components/schemas/CodeableConcept'
        strengthQuantity:
          description: Specifies how many (or how much) of the items there are in this
            Medication.  For example, 250 mg per tablet.  This is expressed as a ratio
            where the numerator is 250mg and the denominator is 1 tablet but can also
            be expressed a quantity when the denominator is assumed to be 1 tablet.
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
      required:
      - item
    Medication_Batch:
      description: This resource is primarily used for the identification and definition
        of a medication, including ingredients, for the purposes of prescribing, dispensing,
        and administering a medication as well as for making statements about medication
        use.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        lotNumber:
          description: The assigned lot number of a batch of the specified product.
          $ref: '#/components/schemas/string'
        _lotNumber:
          description: Extensions for lotNumber
          $ref: '#/components/schemas/Element'
        expirationDate:
          description: When this specific batch of product will expire.
          $ref: '#/components/schemas/dateTime'
        _expirationDate:
          description: Extensions for expirationDate
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    MedicationAdministration:
      description: Describes the event of a patient consuming or otherwise being administered
        a medication.  This may be as simple as swallowing a tablet or it may be a long
        running infusion.  Related resources tie this event to the authorizing prescription,
        and the specific encounter between patient and health care practitioner.
      properties:
        resourceType:
          description: This is a MedicationAdministration resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifiers associated with this Medication Administration that
            are defined by business processes and/or used to refer to it when a direct
            URL reference to the resource itself is not appropriate. They are business
            identifiers assigned to this resource by the performer or other systems
            and remain constant as the resource is updated and propagates from server
            to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        basedOn:
          description: A plan that is fulfilled in whole or in part by this MedicationAdministration.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        partOf:
          description: A larger event of which this particular event is a component
            or step.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: Will generally be set to show that the administration has been
            completed.  For some long running administrations such as infusions, it
            is possible for an administration to be started but not completed or it
            may be paused while some other process is under way.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        statusReason:
          description: A code indicating why the administration was not performed.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        category:
          description: The type of medication administration (for example, drug classification
            like ATC, where meds would be administered, legal category of the medication).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        medication:
          description: Identifies the medication that was administered. This is either
            a link to a resource representing the details of the medication or a simple
            attribute carrying a code that identifies the medication from a known list
            of medications.
          $ref: '#/components/schemas/CodeableReference'
        subject:
          description: The person or animal or group receiving the medication.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The visit, admission, or other contact between patient and health
            care provider during which the medication administration was performed.
          $ref: '#/components/schemas/Reference'
        supportingInformation:
          description: Additional information (for example, patient height and weight)
            that supports the administration of the medication.  This attribute can
            be used to provide documentation of specific characteristics of the patient
            present at the time of administration.  For example, if the dose says "give
            "x" if the heartrate exceeds "y"", then the heart rate can be included using
            this attribute.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        occurenceDateTime:
          description: A specific date/time or interval of time during which the administration
            took place (or did not take place). For many administrations, such as swallowing
            a tablet the use of dateTime is more appropriate.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _occurenceDateTime:
          description: Extensions for occurenceDateTime
          $ref: '#/components/schemas/Element'
        occurencePeriod:
          description: A specific date/time or interval of time during which the administration
            took place (or did not take place). For many administrations, such as swallowing
            a tablet the use of dateTime is more appropriate.
          $ref: '#/components/schemas/Period'
        occurenceTiming:
          description: A specific date/time or interval of time during which the administration
            took place (or did not take place). For many administrations, such as swallowing
            a tablet the use of dateTime is more appropriate.
          $ref: '#/components/schemas/Timing'
        recorded:
          description: The date the occurrence of the  MedicationAdministration was
            first captured in the record - potentially significantly after the occurrence
            of the event.
          $ref: '#/components/schemas/dateTime'
        _recorded:
          description: Extensions for recorded
          $ref: '#/components/schemas/Element'
        isSubPotent:
          description: An indication that the full dose was not administered.
          $ref: '#/components/schemas/boolean'
        _isSubPotent:
          description: Extensions for isSubPotent
          $ref: '#/components/schemas/Element'
        subPotentReason:
          description: The reason or reasons why the full dose was not administered.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        performer:
          description: The performer of the medication treatment.  For devices this
            is the device that performed the administration of the medication.  An IV
            Pump would be an example of a device that is performing the administration.
            Both the IV Pump and the practitioner that set the rate or bolus on the
            pump can be listed as performers.
          items:
            $ref: '#/components/schemas/MedicationAdministration_Performer'
          type: array
        reason:
          description: A code, Condition or observation that supports why the medication
            was administered.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        request:
          description: The original request, instruction or authority to perform the
            administration.
          $ref: '#/components/schemas/Reference'
        device:
          description: The device that is to be used for the administration of the medication
            (for example, PCA Pump).
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        note:
          description: Extra information about the medication administration that is
            not conveyed by the other attributes.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        dosage:
          description: Describes the medication dosage information details e.g. dose,
            rate, site, route, etc.
          $ref: '#/components/schemas/MedicationAdministration_Dosage'
        eventHistory:
          description: A summary of the events of interest that have occurred, such
            as when the administration was verified.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - medication
      - resourceType
    MedicationAdministration_Performer:
      description: Describes the event of a patient consuming or otherwise being administered
        a medication.  This may be as simple as swallowing a tablet or it may be a long
        running infusion.  Related resources tie this event to the authorizing prescription,
        and the specific encounter between patient and health care practitioner.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        function:
          description: Distinguishes the type of involvement of the performer in the
            medication administration.
          $ref: '#/components/schemas/CodeableConcept'
        actor:
          description: Indicates who or what performed the medication administration.
          $ref: '#/components/schemas/CodeableReference'
      type: object
      additionalProperties: false
      required:
      - actor
    MedicationAdministration_Dosage:
      description: Describes the event of a patient consuming or otherwise being administered
        a medication.  This may be as simple as swallowing a tablet or it may be a long
        running infusion.  Related resources tie this event to the authorizing prescription,
        and the specific encounter between patient and health care practitioner.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        text:
          description: "Free text dosage can be used for cases where the dosage administered\
            \ is too complex to code. When coded dosage is present, the free text dosage\
            \ may still be present for display to humans.\r\rThe dosage instructions\
            \ should reflect the dosage of the medication that was administered."
          $ref: '#/components/schemas/string'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
        site:
          description: A coded specification of the anatomic site where the medication
            first entered the body.  For example, "left arm".
          $ref: '#/components/schemas/CodeableConcept'
        route:
          description: A code specifying the route or physiological path of administration
            of a therapeutic agent into or onto the patient.  For example, topical,
            intravenous, etc.
          $ref: '#/components/schemas/CodeableConcept'
        method:
          description: A coded value indicating the method by which the medication is
            intended to be or was introduced into or on the body.  This attribute will
            most often NOT be populated.  It is most commonly used for injections.  For
            example, Slow Push, Deep IV.
          $ref: '#/components/schemas/CodeableConcept'
        dose:
          description: The amount of the medication given at one administration event.   Use
            this value when the administration is essentially an instantaneous event
            such as a swallowing a tablet or giving an injection.
          $ref: '#/components/schemas/Quantity'
        rateRatio:
          description: 'Identifies the speed with which the medication was or will be
            introduced into the patient.  Typically, the rate for an infusion e.g. 100
            ml per 1 hour or 100 ml/hr.  May also be expressed as a rate per unit of
            time, e.g. 500 ml per 2 hours.  Other examples:  200 mcg/min or 200 mcg/1
            minute; 1 liter/8 hours.'
          $ref: '#/components/schemas/Ratio'
        rateQuantity:
          description: 'Identifies the speed with which the medication was or will be
            introduced into the patient.  Typically, the rate for an infusion e.g. 100
            ml per 1 hour or 100 ml/hr.  May also be expressed as a rate per unit of
            time, e.g. 500 ml per 2 hours.  Other examples:  200 mcg/min or 200 mcg/1
            minute; 1 liter/8 hours.'
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
    MedicationDispense:
      description: Indicates that a medication product is to be or has been dispensed
        for a named person/patient.  This includes a description of the medication product
        (supply) provided and the instructions for administering the medication.  The
        medication dispense is the result of a pharmacy system responding to a medication
        order.
      properties:
        resourceType:
          description: This is a MedicationDispense resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifiers associated with this Medication Dispense that are
            defined by business processes and/or used to refer to it when a direct URL
            reference to the resource itself is not appropriate. They are business identifiers
            assigned to this resource by the performer or other systems and remain constant
            as the resource is updated and propagates from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        basedOn:
          description: A plan that is fulfilled in whole or in part by this MedicationDispense.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        partOf:
          description: The procedure or medication administration that triggered the
            dispense.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: A code specifying the state of the set of dispense events.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        notPerformedReason:
          description: Indicates the reason why a dispense was not performed.
          $ref: '#/components/schemas/CodeableReference'
        statusChanged:
          description: The date (and maybe time) when the status of the dispense record
            changed.
          $ref: '#/components/schemas/dateTime'
        _statusChanged:
          description: Extensions for statusChanged
          $ref: '#/components/schemas/Element'
        category:
          description: Indicates the type of medication dispense (for example, drug
            classification like ATC, where meds would be administered, legal category
            of the medication.).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        medication:
          description: Identifies the medication supplied. This is either a link to
            a resource representing the details of the medication or a simple attribute
            carrying a code that identifies the medication from a known list of medications.
          $ref: '#/components/schemas/CodeableReference'
        subject:
          description: A link to a resource representing the person or the group to
            whom the medication will be given.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The encounter that establishes the context for this event.
          $ref: '#/components/schemas/Reference'
        supportingInformation:
          description: Additional information that supports the medication being dispensed.  For
            example, there may be requirements that a specific lab test has been completed
            prior to dispensing or the patient's weight at the time of dispensing is
            documented.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        performer:
          description: Indicates who or what performed the event.
          items:
            $ref: '#/components/schemas/MedicationDispense_Performer'
          type: array
        location:
          description: The principal physical location where the dispense was performed.
          $ref: '#/components/schemas/Reference'
        authorizingPrescription:
          description: Indicates the medication order that is being dispensed against.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        type:
          description: Indicates the type of dispensing event that is performed. For
            example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill,
            Samples, etc.
          $ref: '#/components/schemas/CodeableConcept'
        quantity:
          description: The amount of medication that has been dispensed. Includes unit
            of measure.
          $ref: '#/components/schemas/Quantity'
        daysSupply:
          description: The amount of medication expressed as a timing amount.
          $ref: '#/components/schemas/Quantity'
        recorded:
          description: The date (and maybe time) when the dispense activity started
            if whenPrepared or whenHandedOver is not populated.
          $ref: '#/components/schemas/dateTime'
        _recorded:
          description: Extensions for recorded
          $ref: '#/components/schemas/Element'
        whenPrepared:
          description: The time when the dispensed product was packaged and reviewed.
          $ref: '#/components/schemas/dateTime'
        _whenPrepared:
          description: Extensions for whenPrepared
          $ref: '#/components/schemas/Element'
        whenHandedOver:
          description: The time the dispensed product was provided to the patient or
            their representative.
          $ref: '#/components/schemas/dateTime'
        _whenHandedOver:
          description: Extensions for whenHandedOver
          $ref: '#/components/schemas/Element'
        destination:
          description: Identification of the facility/location where the medication
            was/will be shipped to, as part of the dispense event.
          $ref: '#/components/schemas/Reference'
        receiver:
          description: Identifies the person who picked up the medication or the location
            of where the medication was delivered.  This will usually be a patient or
            their caregiver, but some cases exist where it can be a healthcare professional
            or a location.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        note:
          description: Extra information about the dispense that could not be conveyed
            in the other attributes.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        renderedDosageInstruction:
          description: The full representation of the dose of the medication included
            in all dosage instructions.  To be used when multiple dosage instructions
            are included to represent complex dosing such as increasing or tapering
            doses.
          $ref: '#/components/schemas/markdown'
        _renderedDosageInstruction:
          description: Extensions for renderedDosageInstruction
          $ref: '#/components/schemas/Element'
        dosageInstruction:
          description: Indicates how the medication is to be used by the patient.
          items:
            $ref: '#/components/schemas/Dosage'
          type: array
        substitution:
          description: Indicates whether or not substitution was made as part of the
            dispense.  In some cases, substitution will be expected but does not happen,
            in other cases substitution is not expected but does happen.  This block
            explains what substitution did or did not happen and why.  If nothing is
            specified, substitution was not done.
          $ref: '#/components/schemas/MedicationDispense_Substitution'
        eventHistory:
          description: A summary of the events of interest that have occurred, such
            as when the dispense was verified.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - medication
      - resourceType
    MedicationDispense_Performer:
      description: Indicates that a medication product is to be or has been dispensed
        for a named person/patient.  This includes a description of the medication product
        (supply) provided and the instructions for administering the medication.  The
        medication dispense is the result of a pharmacy system responding to a medication
        order.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        function:
          description: Distinguishes the type of performer in the dispense.  For example,
            date enterer, packager, final checker.
          $ref: '#/components/schemas/CodeableConcept'
        actor:
          description: The device, practitioner, etc. who performed the action.  It
            should be assumed that the actor is the dispenser of the medication.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - actor
    MedicationDispense_Substitution:
      description: Indicates that a medication product is to be or has been dispensed
        for a named person/patient.  This includes a description of the medication product
        (supply) provided and the instructions for administering the medication.  The
        medication dispense is the result of a pharmacy system responding to a medication
        order.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        wasSubstituted:
          description: True if the dispenser dispensed a different drug or product from
            what was prescribed.
          $ref: '#/components/schemas/boolean'
        _wasSubstituted:
          description: Extensions for wasSubstituted
          $ref: '#/components/schemas/Element'
        type:
          description: A code signifying whether a different drug was dispensed from
            what was prescribed.
          $ref: '#/components/schemas/CodeableConcept'
        reason:
          description: Indicates the reason for the substitution (or lack of substitution)
            from what was prescribed.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        responsibleParty:
          description: The person or organization that has primary responsibility for
            the substitution.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    MedicationKnowledge:
      description: Information about a medication that is used to support knowledge.
      properties:
        resourceType:
          description: This is a MedicationKnowledge resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this {{title}} when
            it is referenced in a specification, model, design or an instance; also
            called its canonical identifier. This SHOULD be globally unique and SHOULD
            be a literal address at which an authoritative instance of this {{title}}
            is (or will be) published. This URL can be the target of a canonical reference.
            It SHALL remain the same when the {{title}} is stored on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: Business identifier for this medication.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the {{title}}
            when it is referenced in a specification, model, design or instance. This
            is an arbitrary value managed by the {{title}} author and is not expected
            to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd)
            if a managed version is not available. There is also no expectation that
            versions can be placed in a lexicographical sequence without additional
            knowledge.  (See the versionAlgorithm element.)
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: All of the names for a medication, for example, the name(s) given
            to a medication in different countries.  For example, acetaminophen and
            paracetamol or salbutamol and albuterol.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _name:
          description: Extensions for name
          items:
            $ref: '#/components/schemas/Element'
          type: array
        title:
          description: A short, descriptive, user-friendly title for the {{title}}.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: A code to indicate if the medication referred to by this MedicationKnowledge
            is in active use within the drug database or inventory system. The status
            refers to the validity about the information of the medication and not to
            its medicinal properties.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this {{title}} is authored for
            testing purposes (or education/evaluation/marketing) and is not intended
            for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date (and optionally time) when the {{title}} was last significantly
            changed. The date must change when the business version changes and it must
            change if the status code changes. In addition, it should change when the
            substantive content of the {{title}} changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the {{title}}.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the {{title}} from
            a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            {{title}}s.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the {{title}} is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this {{title}} is needed and why it has been
            designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the {{title}} and/or its contents.
            Copyright statements are generally legal restrictions on the use and publishing
            of the {{title}}.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the {{title}} content was or is planned
            to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptive topics related to the content of the {{title}}. Topics
            provide a high-level categorization as well as keywords for the {{title}}
            that can be useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: The creator or owner of the knowledge or information about the
            medication.
          $ref: '#/components/schemas/Reference'
        editor:
          description: An individual or organization primarily responsible for internal
            coherence of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individual or organization asserted by the publisher to be
            primarily responsible for review of some aspect of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individual or organization asserted by the publisher to be
            responsible for officially endorsing the {{title}} for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Related artifacts such as additional documentation, justification,
            dependencies, bibliographic references, and predecessor and successor artifacts.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        code:
          description: 'A code that specifies this medication, or a textual description
            if no code is available. Usage note: This could be a standard medication
            code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a
            national or local formulary code, optionally with translations to other
            code systems.'
          $ref: '#/components/schemas/CodeableConcept'
        intendedJurisdiction:
          description: Lists the jurisdictions that this medication knowledge was written
            for.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        relatedMedicationKnowledge:
          description: Associated or related medications. For example, if the medication
            is a branded product (e.g. Crestor), this is the Therapeutic Moeity (e.g.
            Rosuvastatin) or if this is a generic medication (e.g. Rosuvastatin), this
            would link to a branded product (e.g. Crestor.
          items:
            $ref: '#/components/schemas/MedicationKnowledge_RelatedMedicationKnowledge'
          type: array
        associatedMedication:
          description: Links to associated medications that could be prescribed, dispensed
            or administered.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        productType:
          description: Category of the medication or product (e.g. branded product,
            therapeutic moeity, generic product, innovator product, etc.).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        monograph:
          description: Associated documentation about the medication.
          items:
            $ref: '#/components/schemas/MedicationKnowledge_Monograph'
          type: array
        preparationInstruction:
          description: The instructions for preparing the medication.
          $ref: '#/components/schemas/markdown'
        _preparationInstruction:
          description: Extensions for preparationInstruction
          $ref: '#/components/schemas/Element'
        cost:
          description: The price of the medication.
          items:
            $ref: '#/components/schemas/MedicationKnowledge_Cost'
          type: array
        monitoringProgram:
          description: The program under which the medication is reviewed.
          items:
            $ref: '#/components/schemas/MedicationKnowledge_MonitoringProgram'
          type: array
        indicationGuideline:
          description: Guidelines or protocols that are applicable for the administration
            of the medication based on indication.
          items:
            $ref: '#/components/schemas/MedicationKnowledge_IndicationGuideline'
          type: array
        medicineClassification:
          description: Categorization of the medication within a formulary or classification
            system.
          items:
            $ref: '#/components/schemas/MedicationKnowledge_MedicineClassification'
          type: array
        packaging:
          description: Information that only applies to packages (not products).
          items:
            $ref: '#/components/schemas/MedicationKnowledge_Packaging'
          type: array
        clinicalUseIssue:
          description: Potential clinical issue with or between medication(s) (for example,
            drug-drug interaction, drug-disease contraindication, drug-allergy interaction,
            etc.).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        storageGuideline:
          description: Information on how the medication should be stored, for example,
            refrigeration temperatures and length of stability at a given temperature.
          items:
            $ref: '#/components/schemas/MedicationKnowledge_StorageGuideline'
          type: array
        regulatory:
          description: Regulatory information about a medication.
          items:
            $ref: '#/components/schemas/MedicationKnowledge_Regulatory'
          type: array
        definitional:
          description: Along with the link to a Medicinal Product Definition resource,
            this information provides common definitional elements that are needed to
            understand the specific medication that is being described.
          $ref: '#/components/schemas/MedicationKnowledge_Definitional'
      type: object
      additionalProperties: false
      required:
      - resourceType
    MedicationKnowledge_RelatedMedicationKnowledge:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The category of the associated medication knowledge reference.
          $ref: '#/components/schemas/CodeableConcept'
        reference:
          description: Associated documentation about the associated medication knowledge.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - reference
      - type
    MedicationKnowledge_Monograph:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The category of documentation about the medication. (e.g. professional
            monograph, patient education monograph).
          $ref: '#/components/schemas/CodeableConcept'
        source:
          description: Associated documentation about the medication.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    MedicationKnowledge_Cost:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        effectiveDate:
          description: The date range for which the cost information of the medication
            is effective.
          items:
            $ref: '#/components/schemas/Period'
          type: array
        type:
          description: The category of the cost information.  For example, manufacturers'
            cost, patient cost, claim reimbursement cost, actual acquisition cost.
          $ref: '#/components/schemas/CodeableConcept'
        source:
          description: The source or owner that assigns the price to the medication.
          $ref: '#/components/schemas/string'
        _source:
          description: Extensions for source
          $ref: '#/components/schemas/Element'
        costMoney:
          description: The price or representation of the cost (for example, Band A,
            Band B or $, $$) of the medication.
          $ref: '#/components/schemas/Money'
        costCodeableConcept:
          description: The price or representation of the cost (for example, Band A,
            Band B or $, $$) of the medication.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - type
    MedicationKnowledge_MonitoringProgram:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Type of program under which the medication is monitored.
          $ref: '#/components/schemas/CodeableConcept'
        name:
          description: Name of the reviewing program.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    MedicationKnowledge_IndicationGuideline:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        indication:
          description: Indication or reason for use of the medication that applies to
            the specific administration guideline.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        dosingGuideline:
          description: The guidelines for the dosage of the medication for the indication.
          items:
            $ref: '#/components/schemas/MedicationKnowledge_DosingGuideline'
          type: array
      type: object
      additionalProperties: false
    MedicationKnowledge_DosingGuideline:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        treatmentIntent:
          description: The overall intention of the treatment, for example, prophylactic,
            supporative, curative, etc.
          $ref: '#/components/schemas/CodeableConcept'
        dosage:
          description: Dosage for the medication for the specific guidelines.
          items:
            $ref: '#/components/schemas/MedicationKnowledge_Dosage'
          type: array
        administrationTreatment:
          description: The type of the treatment that the guideline applies to, for
            example, long term therapy, first line treatment, etc.
          $ref: '#/components/schemas/CodeableConcept'
        patientCharacteristic:
          description: Characteristics of the patient that are relevant to the administration
            guidelines (for example, height, weight, gender, etc.).
          items:
            $ref: '#/components/schemas/MedicationKnowledge_PatientCharacteristic'
          type: array
      type: object
      additionalProperties: false
    MedicationKnowledge_Dosage:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type or category of dosage for a given medication (for example,
            prophylaxis, maintenance, therapeutic, etc.).
          $ref: '#/components/schemas/CodeableConcept'
        dosage:
          description: Dosage for the medication for the specific guidelines.
          items:
            $ref: '#/components/schemas/Dosage'
          type: array
      type: object
      additionalProperties: false
      required:
      - dosage
      - type
    MedicationKnowledge_PatientCharacteristic:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The categorization of the specific characteristic that is relevant
            to the administration guideline (e.g. height, weight, gender).
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableConcept:
          description: The specific characteristic (e.g. height, weight, gender, etc.).
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: The specific characteristic (e.g. height, weight, gender, etc.).
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: The specific characteristic (e.g. height, weight, gender, etc.).
          $ref: '#/components/schemas/Range'
      type: object
      additionalProperties: false
      required:
      - type
    MedicationKnowledge_MedicineClassification:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of category for the medication (for example, therapeutic
            classification, therapeutic sub-classification).
          $ref: '#/components/schemas/CodeableConcept'
        sourceString:
          description: Either a textual source of the classification or a reference
            to an online source.
          pattern: ^^[\s\S]+$$
          type: string
        _sourceString:
          description: Extensions for sourceString
          $ref: '#/components/schemas/Element'
        sourceUri:
          description: Either a textual source of the classification or a reference
            to an online source.
          pattern: ^\S*$
          type: string
        _sourceUri:
          description: Extensions for sourceUri
          $ref: '#/components/schemas/Element'
        classification:
          description: Specific category assigned to the medication (e.g. anti-infective,
            anti-hypertensive, antibiotic, etc.).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
      required:
      - type
    MedicationKnowledge_Packaging:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        cost:
          description: The cost of the packaged medication.
          items:
            $ref: '#/components/schemas/MedicationKnowledge_Cost'
          type: array
        packagedProduct:
          description: A reference to a PackagedProductDefinition that provides the
            details of the product that is in the packaging and is being priced.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    MedicationKnowledge_StorageGuideline:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        reference:
          description: Reference to additional information about the storage guidelines.
          $ref: '#/components/schemas/uri'
        _reference:
          description: Extensions for reference
          $ref: '#/components/schemas/Element'
        note:
          description: Additional notes about the storage.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        stabilityDuration:
          description: Duration that the medication remains stable if the environmentalSetting
            is respected.
          $ref: '#/components/schemas/Duration'
        environmentalSetting:
          description: Describes a setting/value on the environment for the adequate
            storage of the medication and other substances.  Environment settings may
            involve temperature, humidity, or exposure to light.
          items:
            $ref: '#/components/schemas/MedicationKnowledge_EnvironmentalSetting'
          type: array
      type: object
      additionalProperties: false
    MedicationKnowledge_EnvironmentalSetting:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Identifies the category or type of setting (e.g., type of location,
            temperature, humidity).
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: Value associated to the setting. E.g., 40° – 50°F for temperature.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: Value associated to the setting. E.g., 40° – 50°F for temperature.
          $ref: '#/components/schemas/Range'
        valueCodeableConcept:
          description: Value associated to the setting. E.g., 40° – 50°F for temperature.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - type
    MedicationKnowledge_Regulatory:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        regulatoryAuthority:
          description: The authority that is specifying the regulations.
          $ref: '#/components/schemas/Reference'
        substitution:
          description: Specifies if changes are allowed when dispensing a medication
            from a regulatory perspective.
          items:
            $ref: '#/components/schemas/MedicationKnowledge_Substitution'
          type: array
        schedule:
          description: Specifies the schedule of a medication in jurisdiction.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        maxDispense:
          description: The maximum number of units of the medication that can be dispensed
            in a period.
          $ref: '#/components/schemas/MedicationKnowledge_MaxDispense'
      type: object
      additionalProperties: false
      required:
      - regulatoryAuthority
    MedicationKnowledge_Substitution:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Specifies the type of substitution allowed.
          $ref: '#/components/schemas/CodeableConcept'
        allowed:
          description: Specifies if regulation allows for changes in the medication
            when dispensing.
          $ref: '#/components/schemas/boolean'
        _allowed:
          description: Extensions for allowed
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - type
    MedicationKnowledge_MaxDispense:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        quantity:
          description: The maximum number of units of the medication that can be dispensed.
          $ref: '#/components/schemas/Quantity'
        period:
          description: The period that applies to the maximum number of units.
          $ref: '#/components/schemas/Duration'
      type: object
      additionalProperties: false
      required:
      - quantity
    MedicationKnowledge_Definitional:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        definition:
          description: Associated definitions for this medication.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        doseForm:
          description: Describes the form of the item.  Powder; tablets; capsule.
          $ref: '#/components/schemas/CodeableConcept'
        intendedRoute:
          description: The intended or approved route of administration.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        ingredient:
          description: Identifies a particular constituent of interest in the product.
          items:
            $ref: '#/components/schemas/MedicationKnowledge_Ingredient'
          type: array
        drugCharacteristic:
          description: Specifies descriptive properties of the medicine, such as color,
            shape, imprints, etc.
          items:
            $ref: '#/components/schemas/MedicationKnowledge_DrugCharacteristic'
          type: array
      type: object
      additionalProperties: false
    MedicationKnowledge_Ingredient:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        item:
          description: A reference to the resource that provides information about the
            ingredient.
          $ref: '#/components/schemas/CodeableReference'
        type:
          description: Indication of whether this ingredient affects the therapeutic
            action of the drug.
          $ref: '#/components/schemas/CodeableConcept'
        strengthRatio:
          description: Specifies how many (or how much) of the items there are in this
            Medication.  For example, 250 mg per tablet.  This is expressed as a ratio
            where the numerator is 250mg and the denominator is 1 tablet but can also
            be expressed a quantity when the denominator is assumed to be 1 tablet.
          $ref: '#/components/schemas/Ratio'
        strengthCodeableConcept:
          description: Specifies how many (or how much) of the items there are in this
            Medication.  For example, 250 mg per tablet.  This is expressed as a ratio
            where the numerator is 250mg and the denominator is 1 tablet but can also
            be expressed a quantity when the denominator is assumed to be 1 tablet.
          $ref: '#/components/schemas/CodeableConcept'
        strengthQuantity:
          description: Specifies how many (or how much) of the items there are in this
            Medication.  For example, 250 mg per tablet.  This is expressed as a ratio
            where the numerator is 250mg and the denominator is 1 tablet but can also
            be expressed a quantity when the denominator is assumed to be 1 tablet.
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
      required:
      - item
    MedicationKnowledge_DrugCharacteristic:
      description: Information about a medication that is used to support knowledge.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: A code specifying which characteristic of the medicine is being
            described (for example, colour, shape, imprint).
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableConcept:
          description: Description of the characteristic.
          $ref: '#/components/schemas/CodeableConcept'
        valueString:
          description: Description of the characteristic.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueQuantity:
          description: Description of the characteristic.
          $ref: '#/components/schemas/Quantity'
        valueBase64Binary:
          description: Description of the characteristic.
          pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
          type: string
        _valueBase64Binary:
          description: Extensions for valueBase64Binary
          $ref: '#/components/schemas/Element'
        valueAttachment:
          description: Description of the characteristic.
          $ref: '#/components/schemas/Attachment'
      type: object
      additionalProperties: false
    MedicationRequest:
      description: An order or request for both supply of the medication and the instructions
        for administration of the medication to a patient. The resource is called "MedicationRequest"
        rather than "MedicationPrescription" or "MedicationOrder" to generalize the
        use across inpatient and outpatient settings, including care plans, etc., and
        to harmonize with workflow patterns.
      properties:
        resourceType:
          description: This is a MedicationRequest resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifiers associated with this medication request that are
            defined by business processes and/or used to refer to it when a direct URL
            reference to the resource itself is not appropriate. They are business identifiers
            assigned to this resource by the performer or other systems and remain constant
            as the resource is updated and propagates from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        basedOn:
          description: A plan or request that is fulfilled in whole or in part by this
            medication request.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        priorPrescription:
          description: Reference to an order/prescription that is being replaced by
            this MedicationRequest.
          $ref: '#/components/schemas/Reference'
        groupIdentifier:
          description: A shared identifier common to multiple independent Request instances
            that were activated/authorized more or less simultaneously by a single author.  The
            presence of the same identifier on each request ties those requests together
            and may have business ramifications in terms of reporting of results, billing,
            etc.  E.g. a requisition number shared by a set of lab tests ordered together,
            or a prescription number shared by all meds ordered at one time.
          $ref: '#/components/schemas/Identifier'
        status:
          description: A code specifying the current state of the order.  Generally,
            this will be active or completed state.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        statusReason:
          description: Captures the reason for the current state of the MedicationRequest.
          $ref: '#/components/schemas/CodeableConcept'
        statusChanged:
          description: The date (and perhaps time) when the status was changed.
          $ref: '#/components/schemas/dateTime'
        _statusChanged:
          description: Extensions for statusChanged
          $ref: '#/components/schemas/Element'
        intent:
          description: Whether the request is a proposal, plan, or an original order.
          $ref: '#/components/schemas/code'
        _intent:
          description: Extensions for intent
          $ref: '#/components/schemas/Element'
        category:
          description: An arbitrary categorization or grouping of the medication request.  It
            could be used for indicating where meds are intended to be administered,
            eg. in an inpatient setting or in a patient's home, or a legal category
            of the medication.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        priority:
          description: Indicates how quickly the Medication Request should be addressed
            with respect to other requests.
          $ref: '#/components/schemas/code'
        _priority:
          description: Extensions for priority
          $ref: '#/components/schemas/Element'
        doNotPerform:
          description: 'If true, indicates that the provider is asking for the patient
            to either stop taking or to not start taking the specified medication. For
            example, the patient is taking an existing medication and the provider is
            changing their medication. They want to create two seperate requests: one
            to stop using the current medication and another to start the new medication.'
          $ref: '#/components/schemas/boolean'
        _doNotPerform:
          description: Extensions for doNotPerform
          $ref: '#/components/schemas/Element'
        medication:
          description: Identifies the medication being requested. This is a link to
            a resource that represents the medication which may be the details of the
            medication or simply an attribute carrying a code that identifies the medication
            from a known list of medications.
          $ref: '#/components/schemas/CodeableReference'
        subject:
          description: The individual or group for whom the medication has been requested.
          $ref: '#/components/schemas/Reference'
        informationSource:
          description: The person or organization who provided the information about
            this request, if the source is someone other than the requestor.  This is
            often used when the MedicationRequest is reported by another person.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        encounter:
          description: The Encounter during which this [x] was created or to which the
            creation of this record is tightly associated.
          $ref: '#/components/schemas/Reference'
        supportingInformation:
          description: Information to support fulfilling (i.e. dispensing or administering)
            of the medication, for example, patient height and weight, a MedicationStatement
            for the patient).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        authoredOn:
          description: The date (and perhaps time) when the prescription was initially
            written or authored on.
          $ref: '#/components/schemas/dateTime'
        _authoredOn:
          description: Extensions for authoredOn
          $ref: '#/components/schemas/Element'
        requester:
          description: The individual, organization, or device that initiated the request
            and has responsibility for its activation.
          $ref: '#/components/schemas/Reference'
        reported:
          description: Indicates if this record was captured as a secondary 'reported'
            record rather than as an original primary source-of-truth record.  It may
            also indicate the source of the report.
          $ref: '#/components/schemas/boolean'
        _reported:
          description: Extensions for reported
          $ref: '#/components/schemas/Element'
        performerType:
          description: Indicates the type of performer of the administration of the
            medication.
          $ref: '#/components/schemas/CodeableConcept'
        performer:
          description: The specified desired performer of the medication treatment (e.g.
            the performer of the medication administration).  For devices, this is the
            device that is intended to perform the administration of the medication.  An
            IV Pump would be an example of a device that is performing the administration.  Both
            the IV Pump and the practitioner that set the rate or bolus on the pump
            can be listed as performers.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        device:
          description: The intended type of device that is to be used for the administration
            of the medication (for example, PCA Pump).
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        recorder:
          description: The person who entered the order on behalf of another individual
            for example in the case of a verbal or a telephone order.
          $ref: '#/components/schemas/Reference'
        reason:
          description: The reason or the indication for ordering or not ordering the
            medication.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        courseOfTherapyType:
          description: The description of the overall pattern of the administration
            of the medication to the patient.
          $ref: '#/components/schemas/CodeableConcept'
        insurance:
          description: Insurance plans, coverage extensions, pre-authorizations and/or
            pre-determinations that may be required for delivering the requested service.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        note:
          description: Extra information about the prescription that could not be conveyed
            by the other attributes.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        renderedDosageInstruction:
          description: The full representation of the dose of the medication included
            in all dosage instructions.  To be used when multiple dosage instructions
            are included to represent complex dosing such as increasing or tapering
            doses.
          $ref: '#/components/schemas/markdown'
        _renderedDosageInstruction:
          description: Extensions for renderedDosageInstruction
          $ref: '#/components/schemas/Element'
        effectiveDosePeriod:
          description: The period over which the medication is to be taken.  Where there
            are multiple dosageInstruction lines (for example, tapering doses), this
            is the earliest date and the latest end date of the dosageInstructions.
          $ref: '#/components/schemas/Period'
        dosageInstruction:
          description: Specific instructions for how the medication is to be used by
            the patient.
          items:
            $ref: '#/components/schemas/Dosage'
          type: array
        dispenseRequest:
          description: Indicates the specific details for the dispense or medication
            supply part of a medication request (also known as a Medication Prescription
            or Medication Order).  Note that this information is not always sent with
            the order.  There may be in some settings (e.g. hospitals) institutional
            or system support for completing the dispense details in the pharmacy department.
          $ref: '#/components/schemas/MedicationRequest_DispenseRequest'
        substitution:
          description: Indicates whether or not substitution can or should be part of
            the dispense. In some cases, substitution must happen, in other cases substitution
            must not happen. This block explains the prescriber's intent. If nothing
            is specified substitution may be done.
          $ref: '#/components/schemas/MedicationRequest_Substitution'
        eventHistory:
          description: Links to Provenance records for past versions of this resource
            or fulfilling request or event resources that identify key state transitions
            or updates that are likely to be relevant to a user looking at the current
            version of the resource.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - medication
      - resourceType
    MedicationRequest_DispenseRequest:
      description: An order or request for both supply of the medication and the instructions
        for administration of the medication to a patient. The resource is called "MedicationRequest"
        rather than "MedicationPrescription" or "MedicationOrder" to generalize the
        use across inpatient and outpatient settings, including care plans, etc., and
        to harmonize with workflow patterns.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        initialFill:
          description: Indicates the quantity or duration for the first dispense of
            the medication.
          $ref: '#/components/schemas/MedicationRequest_InitialFill'
        dispenseInterval:
          description: The minimum period of time that must occur between dispenses
            of the medication.
          $ref: '#/components/schemas/Duration'
        validityPeriod:
          description: This indicates the validity period of a prescription (stale dating
            the Prescription).
          $ref: '#/components/schemas/Period'
        numberOfRepeatsAllowed:
          description: 'An integer indicating the number of times, in addition to the
            original dispense, (aka refills or repeats) that the patient can receive
            the prescribed medication. Usage Notes: This integer does not include the
            original order dispense. This means that if an order indicates dispense
            30 tablets plus "3 repeats", then the order can be dispensed a total of
            4 times and the patient can receive a total of 120 tablets.  A prescriber
            may explicitly say that zero refills are permitted after the initial dispense.'
          $ref: '#/components/schemas/unsignedInt'
        _numberOfRepeatsAllowed:
          description: Extensions for numberOfRepeatsAllowed
          $ref: '#/components/schemas/Element'
        quantity:
          description: The amount that is to be dispensed for one fill.
          $ref: '#/components/schemas/Quantity'
        expectedSupplyDuration:
          description: Identifies the period time over which the supplied product is
            expected to be used, or the length of time the dispense is expected to last.
          $ref: '#/components/schemas/Duration'
        dispenser:
          description: Indicates the intended performing Organization that will dispense
            the medication as specified by the prescriber.
          $ref: '#/components/schemas/Reference'
        dispenserInstruction:
          description: Provides additional information to the dispenser, for example,
            counselling to be provided to the patient.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        doseAdministrationAid:
          description: Provides information about the type of adherence packaging to
            be supplied for the medication dispense.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    MedicationRequest_InitialFill:
      description: An order or request for both supply of the medication and the instructions
        for administration of the medication to a patient. The resource is called "MedicationRequest"
        rather than "MedicationPrescription" or "MedicationOrder" to generalize the
        use across inpatient and outpatient settings, including care plans, etc., and
        to harmonize with workflow patterns.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        quantity:
          description: The amount or quantity to provide as part of the first dispense.
          $ref: '#/components/schemas/Quantity'
        duration:
          description: The length of time that the first dispense is expected to last.
          $ref: '#/components/schemas/Duration'
      type: object
      additionalProperties: false
    MedicationRequest_Substitution:
      description: An order or request for both supply of the medication and the instructions
        for administration of the medication to a patient. The resource is called "MedicationRequest"
        rather than "MedicationPrescription" or "MedicationOrder" to generalize the
        use across inpatient and outpatient settings, including care plans, etc., and
        to harmonize with workflow patterns.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        allowedBoolean:
          description: True if the prescriber allows a different drug to be dispensed
            from what was prescribed.
          pattern: ^true|false$
          type: boolean
        _allowedBoolean:
          description: Extensions for allowedBoolean
          $ref: '#/components/schemas/Element'
        allowedCodeableConcept:
          description: True if the prescriber allows a different drug to be dispensed
            from what was prescribed.
          $ref: '#/components/schemas/CodeableConcept'
        reason:
          description: Indicates the reason for the substitution, or why substitution
            must or must not be performed.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    MedicationStatement:
      description: "A record of a medication that is being consumed by a patient.  \
        \ A MedicationStatement may indicate that the patient may be taking the medication\
        \ now or has taken the medication in the past or will be taking the medication\
        \ in the future.  The source of this information can be the patient, significant\
        \ other (such as a family member or spouse), or a clinician.  A common scenario\
        \ where this information is captured is during the history taking process during\
        \ a patient visit or stay.   The medication information may come from sources\
        \ such as the patient's memory, from a prescription bottle,  or from a list\
        \ of medications the patient, clinician or other party maintains. \n\nThe primary\
        \ difference between a medicationstatement and a medicationadministration is\
        \ that the medication administration has complete administration information\
        \ and is based on actual administration information from the person who administered\
        \ the medication.  A medicationstatement is often, if not always, less specific.\
        \  There is no required date/time when the medication was administered, in fact\
        \ we only know that a source has reported the patient is taking this medication,\
        \ where details such as time, quantity, or rate or even medication product may\
        \ be incomplete or missing or less precise.  As stated earlier, the Medication\
        \ Statement information may come from the patient's memory, from a prescription\
        \ bottle or from a list of medications the patient, clinician or other party\
        \ maintains.  Medication administration is more formal and is not missing detailed\
        \ information.\n\nThe MedicationStatement resource was previously called MedicationStatement."
      properties:
        resourceType:
          description: This is a MedicationStatement resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifiers associated with this Medication Statement that are
            defined by business processes and/or used to refer to it when a direct URL
            reference to the resource itself is not appropriate. They are business identifiers
            assigned to this resource by the performer or other systems and remain constant
            as the resource is updated and propagates from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        partOf:
          description: A larger event of which this particular MedicationStatement is
            a component or step.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: A code representing the status of recording the medication statement.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        category:
          description: Type of medication statement (for example, drug classification
            like ATC, where meds would be administered, legal category of the medication.).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        medication:
          description: Identifies the medication being administered. This is either
            a link to a resource representing the details of the medication or a simple
            attribute carrying a code that identifies the medication from a known list
            of medications.
          $ref: '#/components/schemas/CodeableReference'
        subject:
          description: The person, animal or group who is/was taking the medication.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The encounter that establishes the context for this MedicationStatement.
          $ref: '#/components/schemas/Reference'
        effectiveDateTime:
          description: The interval of time during which it is being asserted that the
            patient is/was/will be taking the medication (or was not taking, when the
            MedicationStatement.adherence element is Not Taking).
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _effectiveDateTime:
          description: Extensions for effectiveDateTime
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The interval of time during which it is being asserted that the
            patient is/was/will be taking the medication (or was not taking, when the
            MedicationStatement.adherence element is Not Taking).
          $ref: '#/components/schemas/Period'
        effectiveTiming:
          description: The interval of time during which it is being asserted that the
            patient is/was/will be taking the medication (or was not taking, when the
            MedicationStatement.adherence element is Not Taking).
          $ref: '#/components/schemas/Timing'
        dateAsserted:
          description: The date when the Medication Statement was asserted by the information
            source.
          $ref: '#/components/schemas/dateTime'
        _dateAsserted:
          description: Extensions for dateAsserted
          $ref: '#/components/schemas/Element'
        informationSource:
          description: 'The person or organization that provided the information about
            the taking of this medication. Note: Use derivedFrom when a MedicationStatement
            is derived from other resources, e.g. Claim or MedicationRequest.'
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        derivedFrom:
          description: Allows linking the MedicationStatement to the underlying MedicationRequest,
            or to other information that supports or is used to derive the MedicationStatement.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        reason:
          description: A concept, Condition or observation that supports why the medication
            is being/was taken.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        note:
          description: Provides extra information about the Medication Statement that
            is not conveyed by the other attributes.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        relatedClinicalInformation:
          description: Link to information that is relevant to a medication statement,
            for example, illicit drug use, gestational age, etc.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        renderedDosageInstruction:
          description: The full representation of the dose of the medication included
            in all dosage instructions.  To be used when multiple dosage instructions
            are included to represent complex dosing such as increasing or tapering
            doses.
          $ref: '#/components/schemas/markdown'
        _renderedDosageInstruction:
          description: Extensions for renderedDosageInstruction
          $ref: '#/components/schemas/Element'
        dosage:
          description: Indicates how the medication is/was or should be taken by the
            patient.
          items:
            $ref: '#/components/schemas/Dosage'
          type: array
        adherence:
          description: Indicates whether the medication is or is not being consumed
            or administered.
          $ref: '#/components/schemas/MedicationStatement_Adherence'
      type: object
      additionalProperties: false
      required:
      - subject
      - medication
      - resourceType
    MedicationStatement_Adherence:
      description: "A record of a medication that is being consumed by a patient.  \
        \ A MedicationStatement may indicate that the patient may be taking the medication\
        \ now or has taken the medication in the past or will be taking the medication\
        \ in the future.  The source of this information can be the patient, significant\
        \ other (such as a family member or spouse), or a clinician.  A common scenario\
        \ where this information is captured is during the history taking process during\
        \ a patient visit or stay.   The medication information may come from sources\
        \ such as the patient's memory, from a prescription bottle,  or from a list\
        \ of medications the patient, clinician or other party maintains. \n\nThe primary\
        \ difference between a medicationstatement and a medicationadministration is\
        \ that the medication administration has complete administration information\
        \ and is based on actual administration information from the person who administered\
        \ the medication.  A medicationstatement is often, if not always, less specific.\
        \  There is no required date/time when the medication was administered, in fact\
        \ we only know that a source has reported the patient is taking this medication,\
        \ where details such as time, quantity, or rate or even medication product may\
        \ be incomplete or missing or less precise.  As stated earlier, the Medication\
        \ Statement information may come from the patient's memory, from a prescription\
        \ bottle or from a list of medications the patient, clinician or other party\
        \ maintains.  Medication administration is more formal and is not missing detailed\
        \ information.\n\nThe MedicationStatement resource was previously called MedicationStatement."
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Type of the adherence for the medication.
          $ref: '#/components/schemas/CodeableConcept'
        reason:
          description: Captures the reason for the current use or adherence of a medication.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - code
    MedicinalProductDefinition:
      description: A medicinal product, being a substance or combination of substances
        that is intended to treat, prevent or diagnose a disease, or to restore, correct
        or modify physiological functions by exerting a pharmacological, immunological
        or metabolic action. This resource is intended to define and detail such products
        and their properties, for uses other than direct patient care (e.g. regulatory
        use, or drug catalogs).
      properties:
        resourceType:
          description: This is a MedicinalProductDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifier for this product. Could be an MPID. When
            in development or being regulated, products are typically referenced by
            official identifiers, assigned by a manufacturer or regulator, and unique
            to a product (which, when compared to a product instance being prescribed,
            is actually a product type). See also MedicinalProductDefinition.code.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        type:
          description: Regulatory type, e.g. Investigational or Authorized.
          $ref: '#/components/schemas/CodeableConcept'
        domain:
          description: If this medicine applies to human or veterinary uses.
          $ref: '#/components/schemas/CodeableConcept'
        version:
          description: A business identifier relating to a specific version of the product,
            this is commonly used to support revisions to an existing product.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        status:
          description: The status within the lifecycle of this product record. A high-level
            status, this is not intended to duplicate details carried elsewhere such
            as legal status, or authorization status.
          $ref: '#/components/schemas/CodeableConcept'
        statusDate:
          description: The date at which the given status became applicable.
          $ref: '#/components/schemas/dateTime'
        _statusDate:
          description: Extensions for statusDate
          $ref: '#/components/schemas/Element'
        description:
          description: General description of this product.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        combinedPharmaceuticalDoseForm:
          description: The dose form for a single part product, or combined form of
            a multiple part product. This is one concept that describes all the components.
            It does not represent the form with components physically mixed, if that
            might be necessary, for which see (AdministrableProductDefinition.administrableDoseForm).
          $ref: '#/components/schemas/CodeableConcept'
        route:
          description: The path by which the product is taken into or makes contact
            with the body. In some regions this is referred to as the licenced or approved
            route. See also AdministrableProductDefinition resource. MedicinalProductDefinition.route
            is the same concept as AdministrableProductDefinition.routeOfAdministration.code,
            and they cannot be used together.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        indication:
          description: Description of indication(s) for this product, used when structured
            indications are not required. In cases where structured indications are
            required, they are captured using the ClinicalUseDefinition resource. An
            indication is a medical situation for which using the product is appropriate.
          $ref: '#/components/schemas/markdown'
        _indication:
          description: Extensions for indication
          $ref: '#/components/schemas/Element'
        legalStatusOfSupply:
          description: The legal status of supply of the medicinal product as classified
            by the regulator.
          $ref: '#/components/schemas/CodeableConcept'
        additionalMonitoringIndicator:
          description: Whether the Medicinal Product is subject to additional monitoring
            for regulatory reasons, such as heightened reporting requirements.
          $ref: '#/components/schemas/CodeableConcept'
        specialMeasures:
          description: Whether the Medicinal Product is subject to special measures
            for regulatory reasons, such as a requirement to conduct post-authorization
            studies.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        pediatricUseIndicator:
          description: If authorised for use in children, or infants, neonates etc.
          $ref: '#/components/schemas/CodeableConcept'
        classification:
          description: Allows the product to be classified by various systems, commonly
            WHO ATC.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        marketingStatus:
          description: Marketing status of the medicinal product, in contrast to marketing
            authorization. This refers to the product being actually 'on the market'
            as opposed to being allowed to be on the market (which is an authorization).
          items:
            $ref: '#/components/schemas/MarketingStatus'
          type: array
        packagedMedicinalProduct:
          description: Package type for the product. See also the PackagedProductDefinition
            resource.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        comprisedOf:
          description: Types of medicinal manufactured items and/or devices that this
            product consists of, such as tablets, capsule, or syringes. Used as a direct
            link when the item's packaging is not being recorded (see also PackagedProductDefinition.package.containedItem.item).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        ingredient:
          description: The ingredients of this medicinal product - when not detailed
            in other resources. This is only needed if the ingredients are not specified
            by incoming references from the Ingredient resource, or indirectly via incoming
            AdministrableProductDefinition, PackagedProductDefinition or ManufacturedItemDefinition
            references. In cases where those levels of detail are not used, the ingredients
            may be specified directly here as codes.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        impurity:
          description: Any component of the drug product which is not the chemical entity
            defined as the drug substance, or an excipient in the drug product. This
            includes process-related impurities and contaminants, product-related impurities
            including degradation products.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        attachedDocument:
          description: Additional information or supporting documentation about the
            medicinal product.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        masterFile:
          description: A master file for the medicinal product (e.g. Pharmacovigilance
            System Master File). Drug master files (DMFs) are documents submitted to
            regulatory agencies to provide confidential detailed information about facilities,
            processes or articles used in the manufacturing, processing, packaging and
            storing of drug products.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        contact:
          description: A product specific contact, person (in a role), or an organization.
          items:
            $ref: '#/components/schemas/MedicinalProductDefinition_Contact'
          type: array
        clinicalTrial:
          description: Clinical trials or studies that this product is involved in.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        code:
          description: A code that this product is known by, usually within some formal
            terminology, perhaps assigned by a third party (i.e. not the manufacturer
            or regulator). Products (types of medications) tend to be known by identifiers
            during development and within regulatory process. However when they are
            prescribed they tend to be identified by codes. The same product may be
            have multiple codes, applied to it by multiple organizations.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        name:
          description: The product's name, including full name and possibly coded parts.
          items:
            $ref: '#/components/schemas/MedicinalProductDefinition_Name'
          type: array
        crossReference:
          description: Reference to another product, e.g. for linking authorised to
            investigational product, or a virtual product.
          items:
            $ref: '#/components/schemas/MedicinalProductDefinition_CrossReference'
          type: array
        operation:
          description: A manufacturing or administrative process or step associated
            with (or performed on) the medicinal product.
          items:
            $ref: '#/components/schemas/MedicinalProductDefinition_Operation'
          type: array
        characteristic:
          description: Allows the key product features to be recorded, such as "sugar
            free", "modified release", "parallel import".
          items:
            $ref: '#/components/schemas/MedicinalProductDefinition_Characteristic'
          type: array
      type: object
      additionalProperties: false
      required:
      - name
      - resourceType
    MedicinalProductDefinition_Contact:
      description: A medicinal product, being a substance or combination of substances
        that is intended to treat, prevent or diagnose a disease, or to restore, correct
        or modify physiological functions by exerting a pharmacological, immunological
        or metabolic action. This resource is intended to define and detail such products
        and their properties, for uses other than direct patient care (e.g. regulatory
        use, or drug catalogs).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Allows the contact to be classified, for example QPPV, Pharmacovigilance
            Enquiry Information.
          $ref: '#/components/schemas/CodeableConcept'
        contact:
          description: A product specific contact, person (in a role), or an organization.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - contact
    MedicinalProductDefinition_Name:
      description: A medicinal product, being a substance or combination of substances
        that is intended to treat, prevent or diagnose a disease, or to restore, correct
        or modify physiological functions by exerting a pharmacological, immunological
        or metabolic action. This resource is intended to define and detail such products
        and their properties, for uses other than direct patient care (e.g. regulatory
        use, or drug catalogs).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        productName:
          description: The full product name.
          $ref: '#/components/schemas/string'
        _productName:
          description: Extensions for productName
          $ref: '#/components/schemas/Element'
        type:
          description: Type of product name, such as rINN, BAN, Proprietary, Non-Proprietary.
          $ref: '#/components/schemas/CodeableConcept'
        part:
          description: Coding words or phrases of the name.
          items:
            $ref: '#/components/schemas/MedicinalProductDefinition_Part'
          type: array
        usage:
          description: Country and jurisdiction where the name applies, and associated
            language.
          items:
            $ref: '#/components/schemas/MedicinalProductDefinition_Usage'
          type: array
      type: object
      additionalProperties: false
    MedicinalProductDefinition_Part:
      description: A medicinal product, being a substance or combination of substances
        that is intended to treat, prevent or diagnose a disease, or to restore, correct
        or modify physiological functions by exerting a pharmacological, immunological
        or metabolic action. This resource is intended to define and detail such products
        and their properties, for uses other than direct patient care (e.g. regulatory
        use, or drug catalogs).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        part:
          description: A fragment of a product name.
          $ref: '#/components/schemas/string'
        _part:
          description: Extensions for part
          $ref: '#/components/schemas/Element'
        type:
          description: Identifying type for this part of the name (e.g. strength part).
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - type
    MedicinalProductDefinition_Usage:
      description: A medicinal product, being a substance or combination of substances
        that is intended to treat, prevent or diagnose a disease, or to restore, correct
        or modify physiological functions by exerting a pharmacological, immunological
        or metabolic action. This resource is intended to define and detail such products
        and their properties, for uses other than direct patient care (e.g. regulatory
        use, or drug catalogs).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        country:
          description: Country code for where this name applies.
          $ref: '#/components/schemas/CodeableConcept'
        jurisdiction:
          description: Jurisdiction code for where this name applies. A jurisdiction
            may be a sub- or supra-national entity (e.g. a state or a geographic region).
          $ref: '#/components/schemas/CodeableConcept'
        language:
          description: Language code for this name.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - country
      - language
    MedicinalProductDefinition_CrossReference:
      description: A medicinal product, being a substance or combination of substances
        that is intended to treat, prevent or diagnose a disease, or to restore, correct
        or modify physiological functions by exerting a pharmacological, immunological
        or metabolic action. This resource is intended to define and detail such products
        and their properties, for uses other than direct patient care (e.g. regulatory
        use, or drug catalogs).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        product:
          description: Reference to another product, e.g. for linking authorised to
            investigational product.
          $ref: '#/components/schemas/CodeableReference'
        type:
          description: The type of relationship, for instance branded to generic, virtual
            to actual product, product to development product (investigational), parallel
            import version.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - product
    MedicinalProductDefinition_Operation:
      description: A medicinal product, being a substance or combination of substances
        that is intended to treat, prevent or diagnose a disease, or to restore, correct
        or modify physiological functions by exerting a pharmacological, immunological
        or metabolic action. This resource is intended to define and detail such products
        and their properties, for uses other than direct patient care (e.g. regulatory
        use, or drug catalogs).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of manufacturing operation e.g. manufacturing itself,
            re-packaging. For the authorization of this, a RegulatedAuthorization would
            point to the same plan or activity referenced here.
          $ref: '#/components/schemas/CodeableReference'
        effectiveDate:
          description: Date range of applicability.
          $ref: '#/components/schemas/Period'
        organization:
          description: The organization or establishment responsible for (or associated
            with) the particular process or step, examples include the manufacturer,
            importer, agent.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        confidentialityIndicator:
          description: Specifies whether this particular business or manufacturing process
            is considered proprietary or confidential.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    MedicinalProductDefinition_Characteristic:
      description: A medicinal product, being a substance or combination of substances
        that is intended to treat, prevent or diagnose a disease, or to restore, correct
        or modify physiological functions by exerting a pharmacological, immunological
        or metabolic action. This resource is intended to define and detail such products
        and their properties, for uses other than direct patient care (e.g. regulatory
        use, or drug catalogs).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: A code expressing the type of characteristic.
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableConcept:
          description: A value for the characteristic.text.
          $ref: '#/components/schemas/CodeableConcept'
        valueMarkdown:
          description: A value for the characteristic.text.
          pattern: ^^[\s\S]+$$
          type: string
        _valueMarkdown:
          description: Extensions for valueMarkdown
          $ref: '#/components/schemas/Element'
        valueQuantity:
          description: A value for the characteristic.text.
          $ref: '#/components/schemas/Quantity'
        valueInteger:
          description: A value for the characteristic.text.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueDate:
          description: A value for the characteristic.text.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: A value for the characteristic.text.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueAttachment:
          description: A value for the characteristic.text.
          $ref: '#/components/schemas/Attachment'
      type: object
      additionalProperties: false
      required:
      - type
    MessageDefinition:
      description: Defines the characteristics of a message that can be shared between
        systems, including the type of event that initiates the message, the content
        to be transmitted and what response(s), if any, are permitted.
      properties:
        resourceType:
          description: This is a MessageDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: The business identifier that is used to reference the MessageDefinition
            and *is* expected to be consistent from server to server.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this message definition
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the message
            definition when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the message definition author and
            is not expected to be globally unique. For example, it might be a timestamp
            (e.g. yyyymmdd) if a managed version is not available. There is also no
            expectation that versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the message definition. This
            name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the message definition.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this message definition. Enables tracking the life-cycle
            of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this message definition is authored
            for testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the message definition was
            last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the message definition changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the message definition.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the message definition
            from a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            message definition instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the message definition
            is intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this message definition is needed and why
            it has been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the message definition and/or
            its contents. Copyright statements are generally legal restrictions on the
            use and publishing of the message definition.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        replaces:
          description: A MessageDefinition that is superseded by this definition.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        base:
          description: The MessageDefinition that is the basis for the contents of this
            resource.
          $ref: '#/components/schemas/canonical'
        parent:
          description: Identifies a protocol or workflow that this MessageDefinition
            represents a step in.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        eventCoding:
          description: Event code or link to the EventDefinition.
          $ref: '#/components/schemas/Coding'
        eventUri:
          description: Event code or link to the EventDefinition.
          pattern: ^\S*$
          type: string
        _eventUri:
          description: Extensions for eventUri
          $ref: '#/components/schemas/Element'
        category:
          description: The impact of the content of the message.
          $ref: '#/components/schemas/code'
        _category:
          description: Extensions for category
          $ref: '#/components/schemas/Element'
        focus:
          description: Identifies the resource (or resources) that are being addressed
            by the event.  For example, the Encounter for an admit message or two Account
            records for a merge.
          items:
            $ref: '#/components/schemas/MessageDefinition_Focus'
          type: array
        responseRequired:
          description: Declare at a message definition level whether a response is required
            or only upon error or success, or never.
          $ref: '#/components/schemas/code'
        _responseRequired:
          description: Extensions for responseRequired
          $ref: '#/components/schemas/Element'
        allowedResponse:
          description: Indicates what types of messages may be sent as an application-level
            response to this message.
          items:
            $ref: '#/components/schemas/MessageDefinition_AllowedResponse'
          type: array
        graph:
          description: Graph is Canonical reference to a GraphDefinition. If a URL is
            provided, it is the canonical reference to a GraphDefinition that it controls
            what additional resources are to be added to the Bundle when building the
            message. The GraphDefinition can also specify profiles that apply to the
            various resources.
          $ref: '#/components/schemas/canonical'
      type: object
      additionalProperties: false
      required:
      - resourceType
    MessageDefinition_Focus:
      description: Defines the characteristics of a message that can be shared between
        systems, including the type of event that initiates the message, the content
        to be transmitted and what response(s), if any, are permitted.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: The kind of resource that must be the focus for this message.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        profile:
          description: A profile that reflects constraints for the focal resource (and
            potentially for related resources).
          $ref: '#/components/schemas/canonical'
        min:
          description: Identifies the minimum number of resources of this type that
            must be pointed to by a message in order for it to be valid against this
            MessageDefinition.
          $ref: '#/components/schemas/unsignedInt'
        _min:
          description: Extensions for min
          $ref: '#/components/schemas/Element'
        max:
          description: Identifies the maximum number of resources of this type that
            must be pointed to by a message in order for it to be valid against this
            MessageDefinition.
          $ref: '#/components/schemas/string'
        _max:
          description: Extensions for max
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    MessageDefinition_AllowedResponse:
      description: Defines the characteristics of a message that can be shared between
        systems, including the type of event that initiates the message, the content
        to be transmitted and what response(s), if any, are permitted.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        message:
          description: A reference to the message definition that must be adhered to
            by this supported response.
          $ref: '#/components/schemas/canonical'
        situation:
          description: Provides a description of the circumstances in which this response
            should be used (as opposed to one of the alternative responses).
          $ref: '#/components/schemas/markdown'
        _situation:
          description: Extensions for situation
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - message
    MessageHeader:
      description: The header for a message exchange that is either requesting or responding
        to an action.  The reference(s) that are the subject of the action as well as
        other information related to the action are typically transmitted in a bundle
        in which the MessageHeader resource instance is the first resource in the bundle.
      properties:
        resourceType:
          description: This is a MessageHeader resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        eventCoding:
          description: Code that identifies the event this message represents and connects
            it with its definition. Events defined as part of the FHIR specification
            are defined by the implementation.  Alternatively a canonical uri to the
            EventDefinition.
          $ref: '#/components/schemas/Coding'
        eventCanonical:
          description: Code that identifies the event this message represents and connects
            it with its definition. Events defined as part of the FHIR specification
            are defined by the implementation.  Alternatively a canonical uri to the
            EventDefinition.
          pattern: ^\S*$
          type: string
        _eventCanonical:
          description: Extensions for eventCanonical
          $ref: '#/components/schemas/Element'
        destination:
          description: The destination application which the message is intended for.
          items:
            $ref: '#/components/schemas/MessageHeader_Destination'
          type: array
        sender:
          description: Identifies the sending system to allow the use of a trust relationship.
          $ref: '#/components/schemas/Reference'
        author:
          description: The logical author of the message - the personor device that
            decided the described event should happen. When there is more than one candidate,
            pick the most proximal to the MessageHeader. Can provide other authors in
            extensions.
          $ref: '#/components/schemas/Reference'
        source:
          description: The source application from which this message originated.
          $ref: '#/components/schemas/MessageHeader_Source'
        responsible:
          description: The person or organization that accepts overall responsibility
            for the contents of the message. The implication is that the message event
            happened under the policies of the responsible party.
          $ref: '#/components/schemas/Reference'
        reason:
          description: Coded indication of the cause for the event - indicates  a reason
            for the occurrence of the event that is a focus of this message.
          $ref: '#/components/schemas/CodeableConcept'
        response:
          description: Information about the message that this message is a response
            to.  Only present if this message is a response.
          $ref: '#/components/schemas/MessageHeader_Response'
        focus:
          description: The actual data of the message - a reference to the root/focus
            class of the event. This is allowed to be a Parameters resource.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        definition:
          description: Permanent link to the MessageDefinition for this message.
          $ref: '#/components/schemas/canonical'
      type: object
      additionalProperties: false
      required:
      - source
      - resourceType
    MessageHeader_Destination:
      description: The header for a message exchange that is either requesting or responding
        to an action.  The reference(s) that are the subject of the action as well as
        other information related to the action are typically transmitted in a bundle
        in which the MessageHeader resource instance is the first resource in the bundle.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        endpointUrl:
          description: Indicates where the message should be routed.
          pattern: ^\S*$
          type: string
        _endpointUrl:
          description: Extensions for endpointUrl
          $ref: '#/components/schemas/Element'
        endpointReference:
          description: Indicates where the message should be routed.
          $ref: '#/components/schemas/Reference'
        name:
          description: Human-readable name for the target system.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        target:
          description: Identifies the target end system in situations where the initial
            message transmission is to an intermediary system.
          $ref: '#/components/schemas/Reference'
        receiver:
          description: Allows data conveyed by a message to be addressed to a particular
            person or department when routing to a specific application isn't sufficient.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    MessageHeader_Source:
      description: The header for a message exchange that is either requesting or responding
        to an action.  The reference(s) that are the subject of the action as well as
        other information related to the action are typically transmitted in a bundle
        in which the MessageHeader resource instance is the first resource in the bundle.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        endpointUrl:
          description: Identifies the routing target to send acknowledgements to.
          pattern: ^\S*$
          type: string
        _endpointUrl:
          description: Extensions for endpointUrl
          $ref: '#/components/schemas/Element'
        endpointReference:
          description: Identifies the routing target to send acknowledgements to.
          $ref: '#/components/schemas/Reference'
        name:
          description: Human-readable name for the source system.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        software:
          description: May include configuration or other information useful in debugging.
          $ref: '#/components/schemas/string'
        _software:
          description: Extensions for software
          $ref: '#/components/schemas/Element'
        version:
          description: Can convey versions of multiple systems in situations where a
            message passes through multiple hands.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        contact:
          description: An e-mail, phone, website or other contact point to use to resolve
            issues with message communications.
          $ref: '#/components/schemas/ContactPoint'
      type: object
      additionalProperties: false
    MessageHeader_Response:
      description: The header for a message exchange that is either requesting or responding
        to an action.  The reference(s) that are the subject of the action as well as
        other information related to the action are typically transmitted in a bundle
        in which the MessageHeader resource instance is the first resource in the bundle.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: The Bundle.identifier of the message to which this message is
            a response.
          $ref: '#/components/schemas/Identifier'
        code:
          description: Code that identifies the type of response to the message - whether
            it was successful or not, and whether it should be resent or not.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        details:
          description: Full details of any issues found in the message.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - identifier
    MolecularSequence:
      description: Representation of a molecular sequence.
      properties:
        resourceType:
          description: This is a MolecularSequence resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A unique identifier for this particular sequence instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        type:
          description: Amino Acid Sequence/ DNA Sequence / RNA Sequence.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        subject:
          description: Indicates the subject this sequence is associated too.
          $ref: '#/components/schemas/Reference'
        focus:
          description: The actual focus of a molecular sequence when it is not the patient
            of record representing something or someone associated with the patient
            such as a spouse, parent, child, or sibling. For example, in trio testing,
            the subject would be the child (proband) and the focus would be the parent.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        specimen:
          description: Specimen used for sequencing.
          $ref: '#/components/schemas/Reference'
        device:
          description: The method for sequencing, for example, chip information.
          $ref: '#/components/schemas/Reference'
        performer:
          description: The organization or lab that should be responsible for this result.
          $ref: '#/components/schemas/Reference'
        literal:
          description: Sequence that was observed.
          $ref: '#/components/schemas/string'
        _literal:
          description: Extensions for literal
          $ref: '#/components/schemas/Element'
        formatted:
          description: Sequence that was observed as file content. Can be an actual
            file contents, or referenced by a URL to an external system.
          items:
            $ref: '#/components/schemas/Attachment'
          type: array
        relative:
          description: A sequence defined relative to another sequence.
          items:
            $ref: '#/components/schemas/MolecularSequence_Relative'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    MolecularSequence_Relative:
      description: Representation of a molecular sequence.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        coordinateSystem:
          description: These are different ways of identifying nucleotides or amino
            acids within a sequence. Different databases and file types may use different
            systems. For detail definitions, see https://loinc.org/92822-6/ for more
            detail.
          $ref: '#/components/schemas/CodeableConcept'
        ordinalPosition:
          description: Indicates the order in which the sequence should be considered
            when putting multiple 'relative' elements together.
          $ref: '#/components/schemas/integer'
        _ordinalPosition:
          description: Extensions for ordinalPosition
          $ref: '#/components/schemas/Element'
        sequenceRange:
          description: Indicates the nucleotide range in the composed sequence when
            multiple 'relative' elements are used together.
          $ref: '#/components/schemas/Range'
        startingSequence:
          description: A sequence that is used as a starting sequence to describe variants
            that are present in a sequence analyzed.
          $ref: '#/components/schemas/MolecularSequence_StartingSequence'
        edit:
          description: Changes in sequence from the starting sequence.
          items:
            $ref: '#/components/schemas/MolecularSequence_Edit'
          type: array
      type: object
      additionalProperties: false
      required:
      - coordinateSystem
    MolecularSequence_StartingSequence:
      description: Representation of a molecular sequence.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        genomeAssembly:
          description: The genome assembly used for starting sequence, e.g. GRCh38.
          $ref: '#/components/schemas/CodeableConcept'
        chromosome:
          description: Structural unit composed of a nucleic acid molecule which controls
            its own replication through the interaction of specific proteins at one
            or more origins of replication ([SO:0000340](http://www.sequenceontology.org/browser/current_svn/term/SO:0000340)).
          $ref: '#/components/schemas/CodeableConcept'
        sequenceCodeableConcept:
          description: The reference sequence that represents the starting sequence.
          $ref: '#/components/schemas/CodeableConcept'
        sequenceString:
          description: The reference sequence that represents the starting sequence.
          pattern: ^^[\s\S]+$$
          type: string
        _sequenceString:
          description: Extensions for sequenceString
          $ref: '#/components/schemas/Element'
        sequenceReference:
          description: The reference sequence that represents the starting sequence.
          $ref: '#/components/schemas/Reference'
        windowStart:
          description: Start position of the window on the starting sequence. This value
            should honor the rules of the coordinateSystem.
          $ref: '#/components/schemas/integer'
        _windowStart:
          description: Extensions for windowStart
          $ref: '#/components/schemas/Element'
        windowEnd:
          description: End position of the window on the starting sequence. This value
            should honor the rules of the  coordinateSystem.
          $ref: '#/components/schemas/integer'
        _windowEnd:
          description: Extensions for windowEnd
          $ref: '#/components/schemas/Element'
        orientation:
          description: A relative reference to a DNA strand based on gene orientation.
            The strand that contains the open reading frame of the gene is the "sense"
            strand, and the opposite complementary strand is the "antisense" strand.
          $ref: '#/components/schemas/code'
        _orientation:
          description: Extensions for orientation
          $ref: '#/components/schemas/Element'
        strand:
          description: An absolute reference to a strand. The Watson strand is the strand
            whose 5'-end is on the short arm of the chromosome, and the Crick strand
            as the one whose 5'-end is on the long arm.
          $ref: '#/components/schemas/code'
        _strand:
          description: Extensions for strand
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    MolecularSequence_Edit:
      description: Representation of a molecular sequence.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        start:
          description: Start position of the edit on the starting sequence. If the coordinate
            system is either 0-based or 1-based, then start position is inclusive.
          $ref: '#/components/schemas/integer'
        _start:
          description: Extensions for start
          $ref: '#/components/schemas/Element'
        end:
          description: End position of the edit on the starting sequence. If the coordinate
            system is 0-based then end is exclusive and does not include the last position.
            If the coordinate system is 1-base, then end is inclusive and includes the
            last position.
          $ref: '#/components/schemas/integer'
        _end:
          description: Extensions for end
          $ref: '#/components/schemas/Element'
        replacementSequence:
          description: Allele that was observed. Nucleotide(s)/amino acids from start
            position of sequence to stop position of sequence on the positive (+) strand
            of the observed sequence. When the sequence type is DNA, it should be the
            sequence on the positive (+) strand. This will lay in the range between
            variant.start and variant.end.
          $ref: '#/components/schemas/string'
        _replacementSequence:
          description: Extensions for replacementSequence
          $ref: '#/components/schemas/Element'
        replacedSequence:
          description: Allele in the starting sequence. Nucleotide(s)/amino acids from
            start position of sequence to stop position of sequence on the positive
            (+) strand of the starting sequence. When the sequence  type is DNA, it
            should be the sequence on the positive (+) strand. This will lay in the
            range between variant.start and variant.end.
          $ref: '#/components/schemas/string'
        _replacedSequence:
          description: Extensions for replacedSequence
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    NamingSystem:
      description: A curated namespace that issues unique symbols within that namespace
        for the identification of concepts, people, devices, etc.  Represents a "System"
        used within the Identifier and Coding data types.
      properties:
        resourceType:
          description: This is a NamingSystem resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this naming system when
            it is referenced in a specification, model, design or an instance; also
            called its canonical identifier. This SHOULD be globally unique and SHOULD
            be a literal address at which an authoritative instance of this naming system
            is (or will be) published. This URL can be the target of a canonical reference.
            It SHALL remain the same when the naming system is stored on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this naming system
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the naming
            system when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the naming system author and is not
            expected to be globally unique. For example, it might be a timestamp (e.g.
            yyyymmdd) if a managed version is not available. There is also no expectation
            that versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which NamingSystem is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which NamingSystem is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the naming system. This name
            should be usable as an identifier for the module by machine processing applications
            such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the naming system.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this naming system. Enables tracking the life-cycle
            of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this naming system is authored
            for testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the naming system was last
            significantly changed. The date must change when the business version changes
            and it must change if the status code changes. In addition, it should change
            when the substantive content of the naming system changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the naming system.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the naming system
            from a consumer's perspective. Details about what the namespace identifies
            including scope, granularity, version labeling, etc.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            naming system instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the naming system is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this naming system is needed and why it has
            been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the naming system and/or its
            contents. Copyright statements are generally legal restrictions on the use
            and publishing of the naming system.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the NamingSystem content was or is planned
            to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptions related to the content of the NamingSystem. Topics
            provide a high-level categorization as well as keywords for the NamingSystem
            that can be useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual or organization primarily involved in the creation
            and maintenance of the NamingSystem.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individual or organization primarily responsible for internal
            coherence of the NamingSystem.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individual or organization asserted by the publisher to be
            primarily responsible for review of some aspect of the NamingSystem.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individual or organization asserted by the publisher to be
            responsible for officially endorsing the NamingSystem for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Related artifacts such as additional documentation, justification,
            dependencies, bibliographic references, and predecessor and successor artifacts.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        kind:
          description: Indicates the purpose for the naming system - what kinds of things
            does it make unique?
          $ref: '#/components/schemas/code'
        _kind:
          description: Extensions for kind
          $ref: '#/components/schemas/Element'
        responsible:
          description: The name of the organization that is responsible for issuing
            identifiers or codes for this namespace and ensuring their non-collision.
          $ref: '#/components/schemas/string'
        _responsible:
          description: Extensions for responsible
          $ref: '#/components/schemas/Element'
        type:
          description: Categorizes a naming system for easier search by grouping related
            naming systems.
          $ref: '#/components/schemas/CodeableConcept'
        usage:
          description: Provides guidance on the use of the namespace, including the
            handling of formatting characters, use of upper vs. lower case, etc.
          $ref: '#/components/schemas/string'
        _usage:
          description: Extensions for usage
          $ref: '#/components/schemas/Element'
        uniqueId:
          description: Indicates how the system may be identified when referenced in
            electronic exchange.
          items:
            $ref: '#/components/schemas/NamingSystem_UniqueId'
          type: array
      type: object
      additionalProperties: false
      required:
      - uniqueId
      - resourceType
    NamingSystem_UniqueId:
      description: A curated namespace that issues unique symbols within that namespace
        for the identification of concepts, people, devices, etc.  Represents a "System"
        used within the Identifier and Coding data types.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Identifies the unique identifier scheme used for this particular
            identifier.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        value:
          description: The string that should be sent over the wire to identify the
            code system or identifier system.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
        preferred:
          description: Indicates whether this identifier is the "preferred" identifier
            of this type.
          $ref: '#/components/schemas/boolean'
        _preferred:
          description: Extensions for preferred
          $ref: '#/components/schemas/Element'
        comment:
          description: Notes about the past or intended usage of this identifier.
          $ref: '#/components/schemas/string'
        _comment:
          description: Extensions for comment
          $ref: '#/components/schemas/Element'
        period:
          description: Identifies the period of time over which this identifier is considered
            appropriate to refer to the naming system.  Outside of this window, the
            identifier might be non-deterministic.
          $ref: '#/components/schemas/Period'
        authoritative:
          description: Indicates whether this identifier ie endorsed by the official
            owner of the associated naming system.
          $ref: '#/components/schemas/boolean'
        _authoritative:
          description: Extensions for authoritative
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    NutritionIntake:
      description: A record of food or fluid that is being consumed by a patient.   A
        NutritionIntake may indicate that the patient may be consuming the food or fluid
        now or has consumed the food or fluid in the past.  The source of this information
        can be the patient, significant other (such as a family member or spouse), or
        a clinician.  A common scenario where this information is captured is during
        the history taking process during a patient visit or stay or through an app
        that tracks food or fluids consumed.   The consumption information may come
        from sources such as the patient's memory, from a nutrition label,  or from
        a clinician documenting observed intake.
      properties:
        resourceType:
          description: This is a NutritionIntake resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifiers associated with this Nutrition Intake that are defined
            by business processes and/or used to refer to it when a direct URL reference
            to the resource itself is not appropriate. They are business identifiers
            assigned to this resource by the performer or other systems and remain constant
            as the resource is updated and propagates from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        instantiatesCanonical:
          description: Instantiates FHIR protocol or definition.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        instantiatesUri:
          description: Instantiates external protocol or definition.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _instantiatesUri:
          description: Extensions for instantiatesUri
          items:
            $ref: '#/components/schemas/Element'
          type: array
        basedOn:
          description: A plan, proposal or order that is fulfilled in whole or in part
            by this event.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        partOf:
          description: A larger event of which this particular event is a component
            or step.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: A code representing the patient or other source's judgment about
            the state of the intake that this assertion is about.  Generally, this will
            be active or completed.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        statusReason:
          description: Captures the reason for the current state of the NutritionIntake.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        code:
          description: Overall type of nutrition intake.
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: The person, animal or group who is/was consuming the food or
            fluid.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The encounter that establishes the context for this NutritionIntake.
          $ref: '#/components/schemas/Reference'
        occurrenceDateTime:
          description: The interval of time during which it is being asserted that the
            patient is/was consuming the food or fluid.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _occurrenceDateTime:
          description: Extensions for occurrenceDateTime
          $ref: '#/components/schemas/Element'
        occurrencePeriod:
          description: The interval of time during which it is being asserted that the
            patient is/was consuming the food or fluid.
          $ref: '#/components/schemas/Period'
        recorded:
          description: The date when the Nutrition Intake was asserted by the information
            source.
          $ref: '#/components/schemas/dateTime'
        _recorded:
          description: Extensions for recorded
          $ref: '#/components/schemas/Element'
        reportedBoolean:
          description: 'The person or organization that provided the information about
            the consumption of this food or fluid. Note: Use derivedFrom when a NutritionIntake
            is derived from other resources.'
          pattern: ^true|false$
          type: boolean
        _reportedBoolean:
          description: Extensions for reportedBoolean
          $ref: '#/components/schemas/Element'
        reportedReference:
          description: 'The person or organization that provided the information about
            the consumption of this food or fluid. Note: Use derivedFrom when a NutritionIntake
            is derived from other resources.'
          $ref: '#/components/schemas/Reference'
        consumedItem:
          description: What food or fluid product or item was consumed.
          items:
            $ref: '#/components/schemas/NutritionIntake_ConsumedItem'
          type: array
        ingredientLabel:
          description: Total nutrient amounts for the whole meal, product, serving,
            etc.
          items:
            $ref: '#/components/schemas/NutritionIntake_IngredientLabel'
          type: array
        performer:
          description: Who performed the intake and how they were involved.
          items:
            $ref: '#/components/schemas/NutritionIntake_Performer'
          type: array
        location:
          description: Where the intake occurred.
          $ref: '#/components/schemas/Reference'
        derivedFrom:
          description: Allows linking the NutritionIntake to the underlying NutritionOrder,
            or to other information, such as AllergyIntolerance, that supports or is
            used to derive the NutritionIntake.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        reason:
          description: A reason, Condition or observation for why the food or fluid
            is /was consumed.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        note:
          description: Provides extra information about the Nutrition Intake that is
            not conveyed by the other attributes.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - consumedItem
      - resourceType
    NutritionIntake_ConsumedItem:
      description: A record of food or fluid that is being consumed by a patient.   A
        NutritionIntake may indicate that the patient may be consuming the food or fluid
        now or has consumed the food or fluid in the past.  The source of this information
        can be the patient, significant other (such as a family member or spouse), or
        a clinician.  A common scenario where this information is captured is during
        the history taking process during a patient visit or stay or through an app
        that tracks food or fluids consumed.   The consumption information may come
        from sources such as the patient's memory, from a nutrition label,  or from
        a clinician documenting observed intake.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: 'Indicates what a category of item that was consumed: e.g., food,
            fluid, enteral, etc.'
          $ref: '#/components/schemas/CodeableConcept'
        nutritionProduct:
          description: Identifies the food or fluid product that was consumed. This
            is potentially a link to a resource representing the details of the food
            product (TBD) or a simple attribute carrying a code that identifies the
            food from a known list of foods.
          $ref: '#/components/schemas/CodeableReference'
        schedule:
          description: Scheduled frequency of consumption.
          $ref: '#/components/schemas/Timing'
        amount:
          description: Quantity of the specified food.
          $ref: '#/components/schemas/Quantity'
        rate:
          description: Rate at which enteral feeding was administered.
          $ref: '#/components/schemas/Quantity'
        notConsumed:
          description: Indicator when a patient is in a setting where it is helpful
            to know if food was not consumed, such as it was refused, held (as in tube
            feedings), or otherwise not provided. If a consumption is being recorded
            from an app, such as MyFitnessPal, this indicator will likely not be used.
          $ref: '#/components/schemas/boolean'
        _notConsumed:
          description: Extensions for notConsumed
          $ref: '#/components/schemas/Element'
        notConsumedReason:
          description: Document the reason the food or fluid was not consumed, such
            as refused, held, etc.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - nutritionProduct
      - type
    NutritionIntake_IngredientLabel:
      description: A record of food or fluid that is being consumed by a patient.   A
        NutritionIntake may indicate that the patient may be consuming the food or fluid
        now or has consumed the food or fluid in the past.  The source of this information
        can be the patient, significant other (such as a family member or spouse), or
        a clinician.  A common scenario where this information is captured is during
        the history taking process during a patient visit or stay or through an app
        that tracks food or fluids consumed.   The consumption information may come
        from sources such as the patient's memory, from a nutrition label,  or from
        a clinician documenting observed intake.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        nutrient:
          description: Total nutrient consumed. This could be a macronutrient (protein,
            fat, carbohydrate), or a vitamin and mineral.
          $ref: '#/components/schemas/CodeableReference'
        amount:
          description: Total amount of nutrient consumed.
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
      required:
      - amount
      - nutrient
    NutritionIntake_Performer:
      description: A record of food or fluid that is being consumed by a patient.   A
        NutritionIntake may indicate that the patient may be consuming the food or fluid
        now or has consumed the food or fluid in the past.  The source of this information
        can be the patient, significant other (such as a family member or spouse), or
        a clinician.  A common scenario where this information is captured is during
        the history taking process during a patient visit or stay or through an app
        that tracks food or fluids consumed.   The consumption information may come
        from sources such as the patient's memory, from a nutrition label,  or from
        a clinician documenting observed intake.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        function:
          description: Type of performer.
          $ref: '#/components/schemas/CodeableConcept'
        actor:
          description: Who performed the intake.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - actor
    NutritionOrder:
      description: A request to supply a diet, formula feeding (enteral) or oral nutritional
        supplement to a patient/resident.
      properties:
        resourceType:
          description: This is a NutritionOrder resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifiers assigned to this order by the order sender or by
            the order receiver.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        instantiatesCanonical:
          description: The URL pointing to a FHIR-defined protocol, guideline, orderset
            or other definition that is adhered to in whole or in part by this NutritionOrder.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        instantiatesUri:
          description: The URL pointing to an externally maintained protocol, guideline,
            orderset or other definition that is adhered to in whole or in part by this
            NutritionOrder.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _instantiatesUri:
          description: Extensions for instantiatesUri
          items:
            $ref: '#/components/schemas/Element'
          type: array
        instantiates:
          description: The URL pointing to a protocol, guideline, orderset or other
            definition that is adhered to in whole or in part by this NutritionOrder.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _instantiates:
          description: Extensions for instantiates
          items:
            $ref: '#/components/schemas/Element'
          type: array
        basedOn:
          description: A plan or request that is fulfilled in whole or in part by this
            nutrition order.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        groupIdentifier:
          description: A shared identifier common to all nutrition orders that were
            authorized more or less simultaneously by a single author, representing
            the composite or group identifier.
          $ref: '#/components/schemas/Identifier'
        status:
          description: The workflow status of the nutrition order/request.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        intent:
          description: Indicates the level of authority/intentionality associated with
            the NutrionOrder and where the request fits into the workflow chain.
          $ref: '#/components/schemas/code'
        _intent:
          description: Extensions for intent
          $ref: '#/components/schemas/Element'
        priority:
          description: Indicates how quickly the Nutrition Order should be addressed
            with respect to other        requests.
          $ref: '#/components/schemas/code'
        _priority:
          description: Extensions for priority
          $ref: '#/components/schemas/Element'
        subject:
          description: The person or set of individuals who needs the nutrition order
            for an oral diet, nutritional supplement and/or enteral or formula feeding.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: An encounter that provides additional information about the healthcare
            context in which this request is made.
          $ref: '#/components/schemas/Reference'
        supportingInformation:
          description: Information to support fulfilling (i.e. dispensing or administering)
            of the nutrition,        for example, patient height and weight).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        dateTime:
          description: The date and time that this nutrition order was requested.
          $ref: '#/components/schemas/dateTime'
        _dateTime:
          description: Extensions for dateTime
          $ref: '#/components/schemas/Element'
        orderer:
          description: The practitioner that holds legal responsibility for ordering
            the diet, nutritional supplement, or formula feedings.
          $ref: '#/components/schemas/Reference'
        performer:
          description: The specified desired performer of the nutrition order.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        allergyIntolerance:
          description: A link to a record of allergies or intolerances  which should
            be included in the nutrition order.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        foodPreferenceModifier:
          description: This modifier is used to convey order-specific modifiers about
            the type of food that should be given. These can be derived from patient
            allergies, intolerances, or preferences such as Halal, Vegan or Kosher.
            This modifier applies to the entire nutrition order inclusive of the oral
            diet, nutritional supplements and enteral formula feedings.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        excludeFoodModifier:
          description: This modifier is used to convey Order-specific modifier about
            the type of oral food or oral fluids that should not be given. These can
            be derived from patient allergies, intolerances, or preferences such as
            No Red Meat, No Soy or No Wheat or  Gluten-Free.  While it should not be
            necessary to repeat allergy or intolerance information captured in the referenced
            AllergyIntolerance resource in the excludeFoodModifier, this element may
            be used to convey additional specificity related to foods that should be
            eliminated from the patient’s diet for any reason.  This modifier applies
            to the entire nutrition order inclusive of the oral diet, nutritional supplements
            and enteral formula feedings.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        outsideFoodAllowed:
          description: This modifier is used to convey whether a food item is allowed
            to be brought in by the patient and/or family.  If set to true, indicates
            that the receiving system does not need to supply the food item.
          $ref: '#/components/schemas/boolean'
        _outsideFoodAllowed:
          description: Extensions for outsideFoodAllowed
          $ref: '#/components/schemas/Element'
        oralDiet:
          description: Diet given orally in contrast to enteral (tube) feeding.
          $ref: '#/components/schemas/NutritionOrder_OralDiet'
        supplement:
          description: Oral nutritional products given in order to add further nutritional
            value to the patient's diet.
          items:
            $ref: '#/components/schemas/NutritionOrder_Supplement'
          type: array
        enteralFormula:
          description: Feeding provided through the gastrointestinal tract via a tube,
            catheter, or stoma that delivers nutrition distal to the oral cavity.
          $ref: '#/components/schemas/NutritionOrder_EnteralFormula'
        note:
          description: Comments made about the {{title}} by the requester, performer,
            subject or other participants.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - resourceType
    NutritionOrder_OralDiet:
      description: A request to supply a diet, formula feeding (enteral) or oral nutritional
        supplement to a patient/resident.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The kind of diet or dietary restriction such as fiber restricted
            diet or diabetic diet.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        schedule:
          description: Schedule information for an oral diet.
          $ref: '#/components/schemas/NutritionOrder_Schedule'
        nutrient:
          description: Class that defines the quantity and type of nutrient modifications
            (for example carbohydrate, fiber or sodium) required for the oral diet.
          items:
            $ref: '#/components/schemas/NutritionOrder_Nutrient'
          type: array
        texture:
          description: Class that describes any texture modifications required for the
            patient to safely consume various types of solid foods.
          items:
            $ref: '#/components/schemas/NutritionOrder_Texture'
          type: array
        fluidConsistencyType:
          description: The required consistency (e.g. honey-thick, nectar-thick, thin,
            thickened.) of liquids or fluids served to the patient.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        instruction:
          description: Free text or additional instructions or information pertaining
            to the oral diet.
          $ref: '#/components/schemas/string'
        _instruction:
          description: Extensions for instruction
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    NutritionOrder_Schedule:
      description: A request to supply a diet, formula feeding (enteral) or oral nutritional
        supplement to a patient/resident.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        timing:
          description: The time period and frequency at which the diet should be given.  The
            diet should be given for the combination of all schedules if more than one
            schedule is present.
          items:
            $ref: '#/components/schemas/Timing'
          type: array
        asNeeded:
          description: Indicates whether the product is only taken when needed within
            a specific dosing schedule.
          $ref: '#/components/schemas/boolean'
        _asNeeded:
          description: Extensions for asNeeded
          $ref: '#/components/schemas/Element'
        asNeededFor:
          description: Indicates whether the product is only taken based on a precondition
            for taking the product.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    NutritionOrder_Nutrient:
      description: A request to supply a diet, formula feeding (enteral) or oral nutritional
        supplement to a patient/resident.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifier:
          description: The nutrient that is being modified such as carbohydrate or sodium.
          $ref: '#/components/schemas/CodeableConcept'
        amount:
          description: The quantity of the specified nutrient to include in diet.
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
    NutritionOrder_Texture:
      description: A request to supply a diet, formula feeding (enteral) or oral nutritional
        supplement to a patient/resident.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifier:
          description: Any texture modifications (for solid foods) that should be made,
            e.g. easy to chew, chopped, ground, and pureed.
          $ref: '#/components/schemas/CodeableConcept'
        foodType:
          description: The food type(s) (e.g. meats, all foods)  that the texture modification
            applies to.  This could be all foods types.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    NutritionOrder_Supplement:
      description: A request to supply a diet, formula feeding (enteral) or oral nutritional
        supplement to a patient/resident.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The kind of nutritional supplement product required such as a
            high protein or pediatric clear liquid supplement.
          $ref: '#/components/schemas/CodeableReference'
        productName:
          description: The product or brand name of the nutritional supplement such
            as "Acme Protein Shake".
          $ref: '#/components/schemas/string'
        _productName:
          description: Extensions for productName
          $ref: '#/components/schemas/Element'
        schedule:
          description: Schedule information for a supplement.
          $ref: '#/components/schemas/NutritionOrder_Schedule1'
        quantity:
          description: The amount of the nutritional supplement to be given.
          $ref: '#/components/schemas/Quantity'
        instruction:
          description: Free text or additional instructions or information pertaining
            to the oral supplement.
          $ref: '#/components/schemas/string'
        _instruction:
          description: Extensions for instruction
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    NutritionOrder_Schedule1:
      description: A request to supply a diet, formula feeding (enteral) or oral nutritional
        supplement to a patient/resident.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        timing:
          description: The time period and frequency at which the supplement should
            be given.  The supplement should be given for the combination of all schedules
            if more than one schedule is present.
          items:
            $ref: '#/components/schemas/Timing'
          type: array
        asNeeded:
          description: Indicates whether the supplement is only taken when needed within
            a specific dosing schedule.
          $ref: '#/components/schemas/boolean'
        _asNeeded:
          description: Extensions for asNeeded
          $ref: '#/components/schemas/Element'
        asNeededFor:
          description: Indicates whether the supplement is only taken based on a precondition
            for taking the supplement.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    NutritionOrder_EnteralFormula:
      description: A request to supply a diet, formula feeding (enteral) or oral nutritional
        supplement to a patient/resident.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        baseFormulaType:
          description: The type of enteral or infant formula such as an adult standard
            formula with fiber or a soy-based infant formula.
          $ref: '#/components/schemas/CodeableReference'
        baseFormulaProductName:
          description: The product or brand name of the enteral or infant formula product
            such as "ACME Adult Standard Formula".
          $ref: '#/components/schemas/string'
        _baseFormulaProductName:
          description: Extensions for baseFormulaProductName
          $ref: '#/components/schemas/Element'
        deliveryDevice:
          description: The intended type of device that is to be used for the administration
            of the enteral formula.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        additive:
          description: Indicates modular components to be provided in addition or mixed
            with the base formula.
          items:
            $ref: '#/components/schemas/NutritionOrder_Additive'
          type: array
        caloricDensity:
          description: The amount of energy (calories) that the formula should provide
            per specified volume, typically per mL or fluid oz.  For example, an infant
            may require a formula that provides 24 calories per fluid ounce or an adult
            may require an enteral formula that provides 1.5 calorie/mL.
          $ref: '#/components/schemas/Quantity'
        routeOfAdministration:
          description: The route or physiological path of administration into the patient's
            gastrointestinal  tract for purposes of providing the formula feeding, e.g.
            nasogastric tube.
          $ref: '#/components/schemas/CodeableConcept'
        administration:
          description: Formula administration instructions as structured data.  This
            repeating structure allows for changing the administration rate or volume
            over time for both bolus and continuous feeding.  An example of this would
            be an instruction to increase the rate of continuous feeding every 2 hours.
          items:
            $ref: '#/components/schemas/NutritionOrder_Administration'
          type: array
        maxVolumeToDeliver:
          description: The maximum total quantity of formula that may be administered
            to a subject over the period of time, e.g. 1440 mL over 24 hours.
          $ref: '#/components/schemas/Quantity'
        administrationInstruction:
          description: Free text formula administration, feeding instructions or additional
            instructions or information.
          $ref: '#/components/schemas/markdown'
        _administrationInstruction:
          description: Extensions for administrationInstruction
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    NutritionOrder_Additive:
      description: A request to supply a diet, formula feeding (enteral) or oral nutritional
        supplement to a patient/resident.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Indicates the type of modular component such as protein, carbohydrate,
            fat or fiber to be provided in addition to or mixed with the base formula.
          $ref: '#/components/schemas/CodeableReference'
        productName:
          description: The product or brand name of the type of modular component to
            be added to the formula.
          $ref: '#/components/schemas/string'
        _productName:
          description: Extensions for productName
          $ref: '#/components/schemas/Element'
        quantity:
          description: The amount of additive to be given in addition or to be mixed
            in with the base formula.
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
    NutritionOrder_Administration:
      description: A request to supply a diet, formula feeding (enteral) or oral nutritional
        supplement to a patient/resident.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        schedule:
          description: Schedule information for an enteral formula.
          $ref: '#/components/schemas/NutritionOrder_Schedule2'
        quantity:
          description: The volume of formula to provide to the patient per the specified
            administration schedule.
          $ref: '#/components/schemas/Quantity'
        rateQuantity:
          description: The rate of administration of formula via a feeding pump, e.g.
            60 mL per hour, according to the specified schedule.
          $ref: '#/components/schemas/Quantity'
        rateRatio:
          description: The rate of administration of formula via a feeding pump, e.g.
            60 mL per hour, according to the specified schedule.
          $ref: '#/components/schemas/Ratio'
      type: object
      additionalProperties: false
    NutritionOrder_Schedule2:
      description: A request to supply a diet, formula feeding (enteral) or oral nutritional
        supplement to a patient/resident.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        timing:
          description: The time period and frequency at which the enteral formula should
            be given.  The enteral formula should be given for the combination of all
            schedules if more than one schedule is present.
          items:
            $ref: '#/components/schemas/Timing'
          type: array
        asNeeded:
          description: Indicates whether the enteral formula is only taken when needed
            within a specific dosing schedule.
          $ref: '#/components/schemas/boolean'
        _asNeeded:
          description: Extensions for asNeeded
          $ref: '#/components/schemas/Element'
        asNeededFor:
          description: Indicates whether the enteral formula is only taken based on
            a precondition for taking the enteral formula.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    NutritionProduct:
      description: A food or supplement that is consumed by patients.
      properties:
        resourceType:
          description: This is a NutritionProduct resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: The code assigned to the product, for example a USDA NDB number,
            a USDA FDC ID number, or a Langual code.
          $ref: '#/components/schemas/CodeableConcept'
        status:
          description: The current state of the product.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        category:
          description: Nutrition products can have different classifications - according
            to its nutritional properties, preparation methods, etc.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        manufacturer:
          description: The organisation (manufacturer, representative or legal authorization
            holder) that is responsible for the device.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        nutrient:
          description: The product's nutritional information expressed by the nutrients.
          items:
            $ref: '#/components/schemas/NutritionProduct_Nutrient'
          type: array
        ingredient:
          description: Ingredients contained in this product.
          items:
            $ref: '#/components/schemas/NutritionProduct_Ingredient'
          type: array
        knownAllergen:
          description: Allergens that are known or suspected to be a part of this nutrition
            product.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        characteristic:
          description: Specifies descriptive properties of the nutrition product.
          items:
            $ref: '#/components/schemas/NutritionProduct_Characteristic'
          type: array
        instance:
          description: Conveys instance-level information about this product item. One
            or several physical, countable instances or occurrences of the product.
          items:
            $ref: '#/components/schemas/NutritionProduct_Instance'
          type: array
        note:
          description: Comments made about the product.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    NutritionProduct_Nutrient:
      description: A food or supplement that is consumed by patients.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        item:
          description: The (relevant) nutrients in the product.
          $ref: '#/components/schemas/CodeableReference'
        amount:
          description: 'The amount of nutrient expressed in one or more units: X per
            pack / per serving / per dose.'
          items:
            $ref: '#/components/schemas/Ratio'
          type: array
      type: object
      additionalProperties: false
    NutritionProduct_Ingredient:
      description: A food or supplement that is consumed by patients.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        item:
          description: The ingredient contained in the product.
          $ref: '#/components/schemas/CodeableReference'
        amount:
          description: The amount of ingredient that is in the product.
          items:
            $ref: '#/components/schemas/Ratio'
          type: array
      type: object
      additionalProperties: false
      required:
      - item
    NutritionProduct_Characteristic:
      description: A food or supplement that is consumed by patients.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: A code specifying which characteristic of the product is being
            described (for example, colour, shape).
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableConcept:
          description: The actual characteristic value corresponding to the type.
          $ref: '#/components/schemas/CodeableConcept'
        valueString:
          description: The actual characteristic value corresponding to the type.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueQuantity:
          description: The actual characteristic value corresponding to the type.
          $ref: '#/components/schemas/Quantity'
        valueBase64Binary:
          description: The actual characteristic value corresponding to the type.
          pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
          type: string
        _valueBase64Binary:
          description: Extensions for valueBase64Binary
          $ref: '#/components/schemas/Element'
        valueAttachment:
          description: The actual characteristic value corresponding to the type.
          $ref: '#/components/schemas/Attachment'
        valueBoolean:
          description: The actual characteristic value corresponding to the type.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - type
    NutritionProduct_Instance:
      description: A food or supplement that is consumed by patients.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        quantity:
          description: The amount of items or instances that the resource considers,
            for instance when referring to 2 identical units together.
          $ref: '#/components/schemas/Quantity'
        identifier:
          description: The identifier for the physical instance, typically a serial
            number or manufacturer number.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        name:
          description: The name for the specific product.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        lotNumber:
          description: The identification of the batch or lot of the product.
          $ref: '#/components/schemas/string'
        _lotNumber:
          description: Extensions for lotNumber
          $ref: '#/components/schemas/Element'
        expiry:
          description: The time after which the product is no longer expected to be
            in proper condition, or its use is not advised or not allowed.
          $ref: '#/components/schemas/dateTime'
        _expiry:
          description: Extensions for expiry
          $ref: '#/components/schemas/Element'
        useBy:
          description: The time after which the product is no longer expected to be
            in proper condition, or its use is not advised or not allowed.
          $ref: '#/components/schemas/dateTime'
        _useBy:
          description: Extensions for useBy
          $ref: '#/components/schemas/Element'
        biologicalSourceEvent:
          description: An identifier that supports traceability to the event during
            which material in this product from one or more biological entities was
            obtained or pooled.
          $ref: '#/components/schemas/Identifier'
      type: object
      additionalProperties: false
    Observation:
      description: Measurements and simple assertions made about a patient, device or
        other subject.
      properties:
        resourceType:
          description: This is a Observation resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A unique identifier assigned to this observation.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        instantiatesCanonical:
          description: The reference to a FHIR ObservationDefinition resource that provides
            the definition that is adhered to in whole or in part by this Observation
            instance.
          pattern: ^\S*$
          type: string
        _instantiatesCanonical:
          description: Extensions for instantiatesCanonical
          $ref: '#/components/schemas/Element'
        instantiatesReference:
          description: The reference to a FHIR ObservationDefinition resource that provides
            the definition that is adhered to in whole or in part by this Observation
            instance.
          $ref: '#/components/schemas/Reference'
        basedOn:
          description: A plan, proposal or order that is fulfilled in whole or in part
            by this event.  For example, a MedicationRequest may require a patient to
            have laboratory test performed before  it is dispensed.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        triggeredBy:
          description: Identifies the observation(s) that triggered the performance
            of this observation.
          items:
            $ref: '#/components/schemas/Observation_TriggeredBy'
          type: array
        partOf:
          description: A larger event of which this particular Observation is a component
            or step.  For example,  an observation as part of a procedure.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: The status of the result value.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        category:
          description: A code that classifies the general type of observation being
            made.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        code:
          description: Describes what was observed. Sometimes this is called the observation
            "name".
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: The patient, or group of patients, location, device, organization,
            procedure or practitioner this observation is about and into whose or what
            record the observation is placed. If the actual focus of the observation
            is different from the subject (or a sample of, part, or region of the subject),
            the `focus` element or the `code` itself specifies the actual focus of the
            observation.
          $ref: '#/components/schemas/Reference'
        focus:
          description: The actual focus of an observation when it is not the patient
            of record representing something or someone associated with the patient
            such as a spouse, parent, fetus, or donor. For example, fetus observations
            in a mother's record.  The focus of an observation could also be an existing
            condition,  an intervention, the subject's diet,  another observation of
            the subject,  or a body structure such as tumor or implanted device.   An
            example use case would be using the Observation resource to capture whether
            the mother is trained to change her child's tracheostomy tube. In this example,
            the child is the patient of record and the mother is the focus.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        encounter:
          description: The healthcare event  (e.g. a patient and healthcare provider
            interaction) during which this observation is made.
          $ref: '#/components/schemas/Reference'
        effectiveDateTime:
          description: The time or time-period the observed value is asserted as being
            true. For biological subjects - e.g. human patients - this is usually called
            the "physiologically relevant time". This is usually either the time of
            the procedure or of specimen collection, but very often the source of the
            date/time is not known, only the date/time itself.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _effectiveDateTime:
          description: Extensions for effectiveDateTime
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The time or time-period the observed value is asserted as being
            true. For biological subjects - e.g. human patients - this is usually called
            the "physiologically relevant time". This is usually either the time of
            the procedure or of specimen collection, but very often the source of the
            date/time is not known, only the date/time itself.
          $ref: '#/components/schemas/Period'
        effectiveTiming:
          description: The time or time-period the observed value is asserted as being
            true. For biological subjects - e.g. human patients - this is usually called
            the "physiologically relevant time". This is usually either the time of
            the procedure or of specimen collection, but very often the source of the
            date/time is not known, only the date/time itself.
          $ref: '#/components/schemas/Timing'
        effectiveInstant:
          description: The time or time-period the observed value is asserted as being
            true. For biological subjects - e.g. human patients - this is usually called
            the "physiologically relevant time". This is usually either the time of
            the procedure or of specimen collection, but very often the source of the
            date/time is not known, only the date/time itself.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$
          type: string
        _effectiveInstant:
          description: Extensions for effectiveInstant
          $ref: '#/components/schemas/Element'
        issued:
          description: The date and time this version of the observation was made available
            to providers, typically after the results have been reviewed and verified.
          $ref: '#/components/schemas/instant'
        _issued:
          description: Extensions for issued
          $ref: '#/components/schemas/Element'
        performer:
          description: Who was responsible for asserting the observed value as "true".
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        valueQuantity:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          $ref: '#/components/schemas/Quantity'
        valueCodeableConcept:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          $ref: '#/components/schemas/CodeableConcept'
        valueString:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueRange:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          $ref: '#/components/schemas/Range'
        valueRatio:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          $ref: '#/components/schemas/Ratio'
        valueSampledData:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          $ref: '#/components/schemas/SampledData'
        valueTime:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _valueTime:
          description: Extensions for valueTime
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valuePeriod:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          $ref: '#/components/schemas/Period'
        valueAttachment:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          $ref: '#/components/schemas/Attachment'
        valueReference:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          $ref: '#/components/schemas/Reference'
        dataAbsentReason:
          description: Provides a reason why the expected value in the element Observation.value[x]
            is missing.
          $ref: '#/components/schemas/CodeableConcept'
        interpretation:
          description: A categorical assessment of an observation value.  For example,
            high, low, normal.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        note:
          description: Comments about the observation or the results.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        bodySite:
          description: Indicates the site on the subject's body where the observation
            was made (i.e. the target site).
          $ref: '#/components/schemas/CodeableConcept'
        bodyStructure:
          description: Indicates the body structure on the subject's body where the
            observation was made (i.e. the target site).
          $ref: '#/components/schemas/Reference'
        method:
          description: Indicates the mechanism used to perform the observation.
          $ref: '#/components/schemas/CodeableConcept'
        specimen:
          description: The specimen that was used when this observation was made.
          $ref: '#/components/schemas/Reference'
        device:
          description: A reference to the device that generates the measurements or
            the device settings for the device.
          $ref: '#/components/schemas/Reference'
        referenceRange:
          description: Guidance on how to interpret the value by comparison to a normal
            or recommended range.  Multiple reference ranges are interpreted as an "OR".   In
            other words, to represent two distinct target populations, two `referenceRange`
            elements would be used.
          items:
            $ref: '#/components/schemas/Observation_ReferenceRange'
          type: array
        hasMember:
          description: This observation is a group observation (e.g. a battery, a panel
            of tests, a set of vital sign measurements) that includes the target as
            a member of the group.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        derivedFrom:
          description: The target resource that represents a measurement from which
            this observation value is derived. For example, a calculated anion gap or
            a fetal measurement based on an ultrasound image.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        component:
          description: Some observations have multiple component observations.  These
            component observations are expressed as separate code value pairs that share
            the same attributes.  Examples include systolic and diastolic component
            observations for blood pressure measurement and multiple component observations
            for genetics observations.
          items:
            $ref: '#/components/schemas/Observation_Component'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
      - resourceType
      - id
      - meta
      - status
      - subject
    Observation_TriggeredBy:
      description: Measurements and simple assertions made about a patient, device or
        other subject.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        observation:
          description: Reference to the triggering observation.
          $ref: '#/components/schemas/Reference'
        type:
          description: 'The type of trigger.

            Reflex | Repeat | Re-run.'
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        reason:
          description: Provides the reason why this observation was performed as a result
            of the observation(s) referenced.
          $ref: '#/components/schemas/string'
        _reason:
          description: Extensions for reason
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - observation
    Observation_ReferenceRange:
      description: Measurements and simple assertions made about a patient, device or
        other subject.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        low:
          description: The value of the low bound of the reference range.  The low bound
            of the reference range endpoint is inclusive of the value (e.g.  reference
            range is >=5 - <=9). If the low bound is omitted,  it is assumed to be meaningless
            (e.g. reference range is <=2.3).
          $ref: '#/components/schemas/Quantity'
        high:
          description: The value of the high bound of the reference range.  The high
            bound of the reference range endpoint is inclusive of the value (e.g.  reference
            range is >=5 - <=9). If the high bound is omitted,  it is assumed to be
            meaningless (e.g. reference range is >= 2.3).
          $ref: '#/components/schemas/Quantity'
        normalValue:
          description: The value of the normal value of the reference range.
          $ref: '#/components/schemas/CodeableConcept'
        type:
          description: Codes to indicate the what part of the targeted reference population
            it applies to. For example, the normal or therapeutic range.
          $ref: '#/components/schemas/CodeableConcept'
        appliesTo:
          description: Codes to indicate the target population this reference range
            applies to.  For example, a reference range may be based on the normal population
            or a particular sex or race.  Multiple `appliesTo`  are interpreted as an
            "AND" of the target populations.  For example, to represent a target population
            of African American females, both a code of female and a code for African
            American would be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        age:
          description: The age at which this reference range is applicable. This is
            a neonatal age (e.g. number of weeks at term) if the meaning says so.
          $ref: '#/components/schemas/Range'
        text:
          description: Text based reference range in an observation which may be used
            when a quantitative range is not appropriate for an observation.  An example
            would be a reference value of "Negative" or a list or table of "normals".
          $ref: '#/components/schemas/markdown'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Observation_Component:
      description: Measurements and simple assertions made about a patient, device or
        other subject.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Describes what was observed. Sometimes this is called the observation
            "code".
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          $ref: '#/components/schemas/Quantity'
        valueCodeableConcept:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          $ref: '#/components/schemas/CodeableConcept'
        valueString:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueRange:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          $ref: '#/components/schemas/Range'
        valueRatio:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          $ref: '#/components/schemas/Ratio'
        valueSampledData:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          $ref: '#/components/schemas/SampledData'
        valueTime:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _valueTime:
          description: Extensions for valueTime
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valuePeriod:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          $ref: '#/components/schemas/Period'
        valueAttachment:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          $ref: '#/components/schemas/Attachment'
        valueReference:
          description: The information determined as a result of making the observation,
            if the information has a simple value.
          $ref: '#/components/schemas/Reference'
        dataAbsentReason:
          description: Provides a reason why the expected value in the element Observation.component.value[x]
            is missing.
          $ref: '#/components/schemas/CodeableConcept'
        interpretation:
          description: A categorical assessment of an observation value.  For example,
            high, low, normal.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        referenceRange:
          description: Guidance on how to interpret the value by comparison to a normal
            or recommended range.
          items:
            $ref: '#/components/schemas/Observation_ReferenceRange'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
    ObservationDefinition:
      description: Set of definitional characteristics for a kind of observation or
        measurement produced or consumed by an orderable health care service.
      properties:
        resourceType:
          description: This is a ObservationDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URL that is used to identify this ObservationDefinition
            when it is referenced in a specification, model, design or an instance.
            This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address
            at which this ObservationDefinition is (or will be) published. The URL SHOULD
            include the major version of the ObservationDefinition. For more information
            see Technical and Business Versions.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: Business identifiers assigned to this ObservationDefinition.
            by the performer and/or other systems. These identifiers remain constant
            as the resource is updated and propagates from server to server.
          $ref: '#/components/schemas/Identifier'
        version:
          description: The identifier that is used to identify this version of the ObservationDefinition
            when it is referenced in a specification, model, design or instance. This
            is an arbitrary value managed by the ObservationDefinition author and is
            not expected to be globally unique. For example, it might be a timestamp
            (e.g. yyyymmdd) if a managed version is not available. There is also no
            expectation that versions are orderable.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the ObservationDefinition.
            This name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the ObservationDefinition.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The current state of the ObservationDefinition.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A flag to indicate that this ObservationDefinition is authored
            for testing purposes (or education/evaluation/marketing), and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date (and optionally time) when the ObservationDefinition
            was last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the ObservationDefinition changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: Helps establish the "authority/credibility" of the ObservationDefinition.
            May also allow for contact.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the ObservationDefinition
            from the consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            ObservationDefinition instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A jurisdiction in which the ObservationDefinition is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explains why this ObservationDefinition is needed and why it
            has been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: Copyright statement relating to the ObservationDefinition and/or
            its contents. Copyright statements are generally legal restrictions on the
            use and publishing of the ObservationDefinition.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the asset content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the asset content was last reviewed. Review
            happens periodically after that, but doesn't change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the ObservationDefinition content was
            or is planned to be effective.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptive topics related to the content of the {{title}}. Topics
            provide a high-level categorization as well as keywords for the {{title}}
            that can be useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual or organization primarily involved in the creation
            and maintenance of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individual or organization primarily responsible for internal
            coherence of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individual or organization asserted by the publisher to be
            primarily responsible for review of some aspect of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individual or organization asserted by the publisher to be
            responsible for officially endorsing the {{title}} for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Related artifacts such as additional documentation, justification,
            dependencies, bibliographic references, and predecessor and successor artifacts.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        derivedFromCanonical:
          description: The canonical URL pointing to another FHIR-defined ObservationDefinition
            that is adhered to in whole or in part by this definition.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        derivedFromUri:
          description: The URL pointing to an externally-defined observation definition,
            guideline or other definition that is adhered to in whole or in part by
            this definition.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _derivedFromUri:
          description: Extensions for derivedFromUri
          items:
            $ref: '#/components/schemas/Element'
          type: array
        subject:
          description: A code that describes the intended kind of subject of Observation
            instances conforming to this ObservationDefinition.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        performerType:
          description: The type of individual/organization/device that is expected to
            act upon instances of this definition.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: A code that classifies the general type of observation.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        code:
          description: Describes what will be observed. Sometimes this is called the
            observation "name".
          $ref: '#/components/schemas/CodeableConcept'
        permittedDataType:
          description: The data types allowed for the value element of the instance
            observations conforming to this ObservationDefinition.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _permittedDataType:
          description: Extensions for permittedDataType
          items:
            $ref: '#/components/schemas/Element'
          type: array
        multipleResultsAllowed:
          description: Multiple results allowed for observations conforming to this
            ObservationDefinition.
          $ref: '#/components/schemas/boolean'
        _multipleResultsAllowed:
          description: Extensions for multipleResultsAllowed
          $ref: '#/components/schemas/Element'
        bodySite:
          description: The site on the subject's body where the  observation is to be
            made.
          $ref: '#/components/schemas/CodeableConcept'
        method:
          description: The method or technique used to perform the observation.
          $ref: '#/components/schemas/CodeableConcept'
        specimen:
          description: The kind of specimen that this type of observation is produced
            on.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        device:
          description: The measurement model of device or actual device used to produce
            observations of this type.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        preferredReportName:
          description: The preferred name to be used when reporting the results of observations
            conforming to this ObservationDefinition.
          $ref: '#/components/schemas/string'
        _preferredReportName:
          description: Extensions for preferredReportName
          $ref: '#/components/schemas/Element'
        permittedUnit:
          description: Units allowed for the valueQuantity element in the instance observations
            conforming to this ObservationDefinition.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        qualifiedValue:
          description: A set of qualified values associated with a context and a set
            of conditions -  provides a range for quantitative and ordinal observations
            and a collection of value sets for qualitative observations.
          items:
            $ref: '#/components/schemas/ObservationDefinition_QualifiedValue'
          type: array
        hasMember:
          description: This ObservationDefinition defines a group  observation (e.g.
            a battery, a panel of tests, a set of vital sign measurements) that includes
            the target as a member of the group.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        component:
          description: Some observations have multiple component observations, expressed
            as separate code value pairs.
          items:
            $ref: '#/components/schemas/ObservationDefinition_Component'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
      - resourceType
    ObservationDefinition_QualifiedValue:
      description: Set of definitional characteristics for a kind of observation or
        measurement produced or consumed by an orderable health care service.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        context:
          description: A concept defining the context for this set of qualified values.
          $ref: '#/components/schemas/CodeableConcept'
        appliesTo:
          description: The target population this  set of qualified values applies to.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        gender:
          description: The gender this  set of qualified values applies to.
          $ref: '#/components/schemas/code'
        _gender:
          description: Extensions for gender
          $ref: '#/components/schemas/Element'
        age:
          description: The age range this  set of qualified values applies to.
          $ref: '#/components/schemas/Range'
        gestationalAge:
          description: The gestational age this  set of qualified values applies to.
          $ref: '#/components/schemas/Range'
        condition:
          description: Text based condition for which the the set of qualified values
            is valid.
          $ref: '#/components/schemas/string'
        _condition:
          description: Extensions for condition
          $ref: '#/components/schemas/Element'
        rangeCategory:
          description: The category of range of values for continuous or ordinal observations
            that match the criteria of this set of qualified values.
          $ref: '#/components/schemas/code'
        _rangeCategory:
          description: Extensions for rangeCategory
          $ref: '#/components/schemas/Element'
        range:
          description: The range of values defined for continuous or ordinal observations
            that match the criteria of this set of qualified values.
          $ref: '#/components/schemas/Range'
        validCodedValueSet:
          description: The set of valid coded results for qualitative observations  that
            match the criteria of this set of qualified values.
          $ref: '#/components/schemas/canonical'
        normalCodedValueSet:
          description: The set of normal coded results for qualitative observations  that
            match the criteria of this set of qualified values.
          $ref: '#/components/schemas/canonical'
        abnormalCodedValueSet:
          description: The set of abnormal coded results for qualitative observations  that
            match the criteria of this set of qualified values.
          $ref: '#/components/schemas/canonical'
        criticalCodedValueSet:
          description: The set of critical coded results for qualitative observations  that
            match the criteria of this set of qualified values.
          $ref: '#/components/schemas/canonical'
      type: object
      additionalProperties: false
    ObservationDefinition_Component:
      description: Set of definitional characteristics for a kind of observation or
        measurement produced or consumed by an orderable health care service.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Describes what will be observed.
          $ref: '#/components/schemas/CodeableConcept'
        permittedDataType:
          description: The data types allowed for the value element of the instance
            of this component observations.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _permittedDataType:
          description: Extensions for permittedDataType
          items:
            $ref: '#/components/schemas/Element'
          type: array
        permittedUnit:
          description: Units allowed for the valueQuantity element in the instance observations
            conforming to this ObservationDefinition.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        qualifiedValue:
          description: A set of qualified values associated with a context and a set
            of conditions -  provides a range for quantitative and ordinal observations
            and a collection of value sets for qualitative observations.
          items:
            $ref: '#/components/schemas/ObservationDefinition_QualifiedValue'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
    OperationDefinition:
      description: A formal computable definition of an operation (on the RESTful interface)
        or a named query (using the search interaction).
      properties:
        resourceType:
          description: This is a OperationDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this operation definition
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this operation
            definition is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the operation definition is stored
            on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this implementation
            guide when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the operation
            definition when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the operation definition author and
            is not expected to be globally unique. For example, it might be a timestamp
            (e.g. yyyymmdd) if a managed version is not available. There is also no
            expectation that versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the operation definition.
            This name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the operation definition.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The current state of this operation definition.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this operation definition is
            authored for testing purposes (or education/evaluation/marketing) and is
            not intended for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the operation definition
            was last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the operation definition changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the operation definition.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the operation definition
            from a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            operation definition.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the operation definition
            is intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this operation definition is needed and why
            it has been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the operation definition and/or
            its contents. Copyright statements are generally legal restrictions on the
            use and publishing of the operation definition.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        kind:
          description: Whether this is an operation or a named query.
          $ref: '#/components/schemas/code'
        _kind:
          description: Extensions for kind
          $ref: '#/components/schemas/Element'
        affectsState:
          description: Whether the operation affects state. Side effects such as producing
            audit trail entries do not count as 'affecting  state'.
          $ref: '#/components/schemas/boolean'
        _affectsState:
          description: Extensions for affectsState
          $ref: '#/components/schemas/Element'
        code:
          description: The label that is recommended to be used in the URL for this
            operation. In some cases, servers may need to use a different CapabilityStatement
            operation.name to differentiate between multiple SearchParameters that happen
            to have the same code.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        comment:
          description: Additional information about how to use this operation or named
            query.
          $ref: '#/components/schemas/markdown'
        _comment:
          description: Extensions for comment
          $ref: '#/components/schemas/Element'
        base:
          description: Indicates that this operation definition is a constraining profile
            on the base.
          $ref: '#/components/schemas/canonical'
        resource:
          description: The types on which this operation can be executed.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _resource:
          description: Extensions for resource
          items:
            $ref: '#/components/schemas/Element'
          type: array
        system:
          description: Indicates whether this operation or named query can be invoked
            at the system level (e.g. without needing to choose a resource type for
            the context).
          $ref: '#/components/schemas/boolean'
        _system:
          description: Extensions for system
          $ref: '#/components/schemas/Element'
        type:
          description: Indicates whether this operation or named query can be invoked
            at the resource type level for any given resource type level (e.g. without
            needing to choose a specific resource id for the context).
          $ref: '#/components/schemas/boolean'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        instance:
          description: Indicates whether this operation can be invoked on a particular
            instance of one of the given types.
          $ref: '#/components/schemas/boolean'
        _instance:
          description: Extensions for instance
          $ref: '#/components/schemas/Element'
        inputProfile:
          description: Additional validation information for the in parameters - a single
            profile that covers all the parameters. The profile is a constraint on the
            parameters resource as a whole.
          $ref: '#/components/schemas/canonical'
        outputProfile:
          description: Additional validation information for the out parameters - a
            single profile that covers all the parameters. The profile is a constraint
            on the parameters resource.
          $ref: '#/components/schemas/canonical'
        parameter:
          description: The parameters for the operation/query.
          items:
            $ref: '#/components/schemas/OperationDefinition_Parameter'
          type: array
        overload:
          description: Defines an appropriate combination of parameters to use when
            invoking this operation, to help code generators when generating overloaded
            parameter sets for this operation.
          items:
            $ref: '#/components/schemas/OperationDefinition_Overload'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    OperationDefinition_Parameter:
      description: A formal computable definition of an operation (on the RESTful interface)
        or a named query (using the search interaction).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: The name of used to identify the parameter.
          $ref: '#/components/schemas/code'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        use:
          description: Whether this is an input or an output parameter.
          $ref: '#/components/schemas/code'
        _use:
          description: Extensions for use
          $ref: '#/components/schemas/Element'
        scope:
          description: If present, indicates that the parameter applies when the operation
            is being invoked at the specified level.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _scope:
          description: Extensions for scope
          items:
            $ref: '#/components/schemas/Element'
          type: array
        min:
          description: The minimum number of times this parameter SHALL appear in the
            request or response.
          $ref: '#/components/schemas/integer'
        _min:
          description: Extensions for min
          $ref: '#/components/schemas/Element'
        max:
          description: The maximum number of times this element is permitted to appear
            in the request or response.
          $ref: '#/components/schemas/string'
        _max:
          description: Extensions for max
          $ref: '#/components/schemas/Element'
        documentation:
          description: Describes the meaning or use of this parameter.
          $ref: '#/components/schemas/markdown'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
        type:
          description: The type for this parameter.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        allowedType:
          description: Support for polymorphic types. If the parameter type is abstract,
            this element lists allowed sub-types for the parameter.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _allowedType:
          description: Extensions for allowedType
          items:
            $ref: '#/components/schemas/Element'
          type: array
        targetProfile:
          description: Used when the type is "Reference" or "canonical", and identifies
            a profile structure or implementation Guide that applies to the target of
            the reference this parameter refers to. If any profiles are specified, then
            the content must conform to at least one of them. The URL can be a local
            reference - to a contained StructureDefinition, or a reference to another
            StructureDefinition or Implementation Guide by a canonical URL. When an
            implementation guide is specified, the target resource SHALL conform to
            at least one profile defined in the implementation guide.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        searchType:
          description: How the parameter is understood if/when it used as search parameter.
            This is only used if the parameter is a string.
          $ref: '#/components/schemas/code'
        _searchType:
          description: Extensions for searchType
          $ref: '#/components/schemas/Element'
        binding:
          description: Binds to a value set if this parameter is coded (code, Coding,
            CodeableConcept).
          $ref: '#/components/schemas/OperationDefinition_Binding'
        referencedFrom:
          description: Identifies other resource parameters within the operation invocation
            that are expected to resolve to this resource.
          items:
            $ref: '#/components/schemas/OperationDefinition_ReferencedFrom'
          type: array
        part:
          description: The parts of a nested Parameter.
          items:
            $ref: '#/components/schemas/OperationDefinition_Parameter'
          type: array
      type: object
      additionalProperties: false
    OperationDefinition_Binding:
      description: A formal computable definition of an operation (on the RESTful interface)
        or a named query (using the search interaction).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        strength:
          description: Indicates the degree of conformance expectations associated with
            this binding - that is, the degree to which the provided value set must
            be adhered to in the instances.
          $ref: '#/components/schemas/code'
        _strength:
          description: Extensions for strength
          $ref: '#/components/schemas/Element'
        valueSet:
          description: Points to the value set or external definition (e.g. implicit
            value set) that identifies the set of codes to be used.
          $ref: '#/components/schemas/canonical'
      type: object
      additionalProperties: false
      required:
      - valueSet
    OperationDefinition_ReferencedFrom:
      description: A formal computable definition of an operation (on the RESTful interface)
        or a named query (using the search interaction).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        source:
          description: The name of the parameter or dot-separated path of parameter
            names pointing to the resource parameter that is expected to contain a reference
            to this resource.
          $ref: '#/components/schemas/string'
        _source:
          description: Extensions for source
          $ref: '#/components/schemas/Element'
        sourceId:
          description: The id of the element in the referencing resource that is expected
            to resolve to this resource.
          $ref: '#/components/schemas/string'
        _sourceId:
          description: Extensions for sourceId
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    OperationDefinition_Overload:
      description: A formal computable definition of an operation (on the RESTful interface)
        or a named query (using the search interaction).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        parameterName:
          description: Name of parameter to include in overload.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _parameterName:
          description: Extensions for parameterName
          items:
            $ref: '#/components/schemas/Element'
          type: array
        comment:
          description: Comments to go on overload.
          $ref: '#/components/schemas/string'
        _comment:
          description: Extensions for comment
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    OperationOutcome:
      description: A collection of error, warning, or information messages that result
        from a system action.
      properties:
        resourceType:
          description: This is a OperationOutcome resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        issue:
          description: An error, warning, or information message that results from a
            system action.
          items:
            $ref: '#/components/schemas/OperationOutcome_Issue'
          type: array
      type: object
      additionalProperties: false
      required:
      - issue
      - resourceType
    OperationOutcome_Issue:
      description: A collection of error, warning, or information messages that result
        from a system action.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        severity:
          description: Indicates whether the issue indicates a variation from successful
            processing.
          $ref: '#/components/schemas/code'
        _severity:
          description: Extensions for severity
          $ref: '#/components/schemas/Element'
        code:
          description: Describes the type of the issue. The system that creates an OperationOutcome
            SHALL choose the most applicable code from the IssueType value set, and
            may additional provide its own code for the error in the details element.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        details:
          description: Additional details about the error. This may be a text description
            of the error or a system code that identifies the error.
          $ref: '#/components/schemas/CodeableConcept'
        diagnostics:
          description: Additional diagnostic information about the issue.
          $ref: '#/components/schemas/string'
        _diagnostics:
          description: Extensions for diagnostics
          $ref: '#/components/schemas/Element'
        location:
          description: "This element is deprecated because it is XML specific. It is\
            \ replaced by issue.expression, which is format independent, and simpler\
            \ to parse. \n\nFor resource issues, this will be a simple XPath limited\
            \ to element names, repetition indicators and the default child accessor\
            \ that identifies one of the elements in the resource that caused this issue\
            \ to be raised.  For HTTP errors, will be \"http.\" + the parameter name."
          items:
            $ref: '#/components/schemas/string'
          type: array
        _location:
          description: Extensions for location
          items:
            $ref: '#/components/schemas/Element'
          type: array
        expression:
          description: A [simple subset of FHIRPath](fhirpath.html#simple) limited to
            element names, repetition indicators and the default child accessor that
            identifies one of the elements in the resource that caused this issue to
            be raised.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _expression:
          description: Extensions for expression
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
    Organization:
      description: A formally or informally recognized grouping of people or organizations
        formed for the purpose of achieving some form of collective action.
      properties:
        resourceType:
          description: This is a Organization resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifier for the organization that is used to identify the
            organization across multiple disparate systems.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        active:
          description: Whether the organization's record is still in active use.
          $ref: '#/components/schemas/boolean'
        _active:
          description: Extensions for active
          $ref: '#/components/schemas/Element'
        type:
          description: The kind(s) of organization that this is.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        name:
          description: A name associated with the organization.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        alias:
          description: A list of alternate names that the organization is known as,
            or was known as in the past.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _alias:
          description: Extensions for alias
          items:
            $ref: '#/components/schemas/Element'
          type: array
        description:
          description: Description of the organization, which helps provide additional
            general context on the organization to ensure that the correct organization
            is selected.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        contact:
          description: The contact details of communication devices available relevant
            to the specific Organization. This can include addresses, phone numbers,
            fax numbers, mobile numbers, email addresses and web sites.
          items:
            $ref: '#/components/schemas/ExtendedContactDetail'
          type: array
        partOf:
          description: The organization of which this organization forms a part.
          $ref: '#/components/schemas/Reference'
        endpoint:
          description: Technical endpoints providing access to services operated for
            the organization.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        qualification:
          description: "The official certifications, accreditations, training, designations\
            \ and licenses that authorize and/or otherwise endorse the provision of\
            \ care by the organization.\r\rFor example, an approval to provide a type\
            \ of services issued by a certifying body (such as the US Joint Commission)\
            \ to an organization."
          items:
            $ref: '#/components/schemas/Organization_Qualification'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    Organization_Qualification:
      description: A formally or informally recognized grouping of people or organizations
        formed for the purpose of achieving some form of collective action.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: An identifier allocated to this qualification for this organization.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        code:
          description: Coded representation of the qualification.
          $ref: '#/components/schemas/CodeableConcept'
        period:
          description: Period during which the qualification is valid.
          $ref: '#/components/schemas/Period'
        issuer:
          description: Organization that regulates and issues the qualification.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - code
    OrganizationAffiliation:
      description: Defines an affiliation/association/relationship between 2 distinct
        organizations, that is not a part-of relationship/sub-division relationship.
      properties:
        resourceType:
          description: This is a OrganizationAffiliation resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers that are specific to this role.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        active:
          description: Whether this organization affiliation record is in active use.
          $ref: '#/components/schemas/boolean'
        _active:
          description: Extensions for active
          $ref: '#/components/schemas/Element'
        period:
          description: The period during which the participatingOrganization is affiliated
            with the primary organization.
          $ref: '#/components/schemas/Period'
        organization:
          description: Organization where the role is available (primary organization/has
            members).
          $ref: '#/components/schemas/Reference'
        participatingOrganization:
          description: The Participating Organization provides/performs the role(s)
            defined by the code to the Primary Organization (e.g. providing services
            or is a member of).
          $ref: '#/components/schemas/Reference'
        network:
          description: The network in which the participatingOrganization provides the
            role's services (if defined) at the indicated locations (if defined).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        code:
          description: Definition of the role the participatingOrganization plays in
            the association.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        specialty:
          description: Specific specialty of the participatingOrganization in the context
            of the role.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        location:
          description: The location(s) at which the role occurs.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        healthcareService:
          description: Healthcare services provided through the role.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        contact:
          description: The contact details of communication devices available at the
            participatingOrganization relevant to this Affiliation.
          items:
            $ref: '#/components/schemas/ExtendedContactDetail'
          type: array
        endpoint:
          description: Technical endpoints providing access to services operated for
            this role.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    PackagedProductDefinition:
      description: A medically related item or items, in a container or package.
      properties:
        resourceType:
          description: This is a PackagedProductDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A unique identifier for this package as whole - not the the content
            of the package. Unique instance identifiers assigned to a package by manufacturers,
            regulators, drug catalogue custodians or other organizations.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        name:
          description: A name for this package. Typically what it would be listed as
            in a drug formulary or catalogue, inventory etc.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        type:
          description: A high level category e.g. medicinal product, raw material, shipping/transport
            container, etc.
          $ref: '#/components/schemas/CodeableConcept'
        packageFor:
          description: The product this package model relates to, not the contents of
            the package (for which see package.containedItem).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: The status within the lifecycle of this item. A high level status,
            this is not intended to duplicate details carried elsewhere such as legal
            status, or authorization or marketing status.
          $ref: '#/components/schemas/CodeableConcept'
        statusDate:
          description: The date at which the given status became applicable.
          $ref: '#/components/schemas/dateTime'
        _statusDate:
          description: Extensions for statusDate
          $ref: '#/components/schemas/Element'
        containedItemQuantity:
          description: A total of the complete count of contained items of a particular
            type/form, independent of sub-packaging or organization. This can be considered
            as the pack size. This attribute differs from containedItem.amount in that
            it can give a single aggregated count of all tablet types in a pack, even
            when these are different manufactured items. For example a pill pack of
            21 tablets plus 7 sugar tablets, can be denoted here as '28 tablets'. This
            attribute is repeatable so that the different item types in one pack type
            can be counted (e.g. a count of vials and count of syringes). Each repeat
            must have different units, so that it is clear what the different sets of
            counted items are, and it is not intended to allow different counts of similar
            items (e.g. not '2 tubes and 3 tubes'). Repeats are not to be used to represent
            different pack sizes (e.g. 20 pack vs. 50 pack) - which would be different
            instances of this resource.
          items:
            $ref: '#/components/schemas/Quantity'
          type: array
        description:
          description: Textual description. Note that this is not the name of the package
            or product.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        legalStatusOfSupply:
          description: The legal status of supply of the packaged item as classified
            by the regulator.
          items:
            $ref: '#/components/schemas/PackagedProductDefinition_LegalStatusOfSupply'
          type: array
        marketingStatus:
          description: Allows specifying that an item is on the market for sale, or
            that it is not available, and the dates and locations associated.
          items:
            $ref: '#/components/schemas/MarketingStatus'
          type: array
        copackagedIndicator:
          description: Identifies if the package contains different items, such as when
            a drug product is supplied with another item e.g. a diluent or adjuvant.
          $ref: '#/components/schemas/boolean'
        _copackagedIndicator:
          description: Extensions for copackagedIndicator
          $ref: '#/components/schemas/Element'
        manufacturer:
          description: Manufacturer of this package type. When there are multiple it
            means these are all possible manufacturers.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        attachedDocument:
          description: Additional information or supporting documentation about the
            packaged product.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        packaging:
          description: A packaging item, as a container for medically related items,
            possibly with other packaging items within, or a packaging component, such
            as bottle cap (which is not a device or a medication manufactured item).
          $ref: '#/components/schemas/PackagedProductDefinition_Packaging'
        characteristic:
          description: Allows the key features to be recorded, such as "hospital pack",
            "nurse prescribable", "calendar pack".
          items:
            $ref: '#/components/schemas/PackagedProductDefinition_Property'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    PackagedProductDefinition_LegalStatusOfSupply:
      description: A medically related item or items, in a container or package.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: The actual status of supply. Conveys in what situation this package
            type may be supplied for use.
          $ref: '#/components/schemas/CodeableConcept'
        jurisdiction:
          description: The place where the legal status of supply applies. When not
            specified, this indicates it is unknown in this context.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    PackagedProductDefinition_Packaging:
      description: A medically related item or items, in a container or package.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A business identifier that is specific to this particular part
            of the packaging, often assigned by the manufacturer. Including possibly
            Data Carrier Identifier (a GS1 barcode).
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        type:
          description: The physical type of the container of the items.
          $ref: '#/components/schemas/CodeableConcept'
        componentPart:
          description: Is this a part of the packaging (e.g. a cap or bottle stopper),
            rather than the packaging itself (e.g. a bottle or vial). The latter type
            are designed be a container, but the former are not.
          $ref: '#/components/schemas/boolean'
        _componentPart:
          description: Extensions for componentPart
          $ref: '#/components/schemas/Element'
        quantity:
          description: The quantity of packaging items contained at this layer of the
            package. This does not relate to the number of contained items but relates
            solely to the number of packaging items. When looking at the outermost layer
            it is always 1. If there are two boxes within, at the next layer it would
            be 2.
          $ref: '#/components/schemas/integer'
        _quantity:
          description: Extensions for quantity
          $ref: '#/components/schemas/Element'
        material:
          description: Material type of the package item.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        alternateMaterial:
          description: A possible alternate material for this part of the packaging,
            that is allowed to be used instead of the usual material (e.g. different
            types of plastic for a blister sleeve).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        shelfLifeStorage:
          description: Shelf Life and storage information.
          items:
            $ref: '#/components/schemas/ProductShelfLife'
          type: array
        manufacturer:
          description: Manufacturer of this packaging item. When there are multiple
            values each one is a potential manufacturer of this packaging item.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        property:
          description: General characteristics of this item.
          items:
            $ref: '#/components/schemas/PackagedProductDefinition_Property'
          type: array
        containedItem:
          description: The item(s) within the packaging.
          items:
            $ref: '#/components/schemas/PackagedProductDefinition_ContainedItem'
          type: array
        packaging:
          description: Allows containers (and parts of containers) within containers,
            still as a part of a single packaged product. See also PackagedProductDefinition.packaging.containedItem.item(PackagedProductDefinition).
          items:
            $ref: '#/components/schemas/PackagedProductDefinition_Packaging'
          type: array
      type: object
      additionalProperties: false
    PackagedProductDefinition_Property:
      description: A medically related item or items, in a container or package.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: A code expressing the type of characteristic.
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableConcept:
          description: A value for the characteristic.
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: A value for the characteristic.
          $ref: '#/components/schemas/Quantity'
        valueDate:
          description: A value for the characteristic.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: A value for the characteristic.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueAttachment:
          description: A value for the characteristic.
          $ref: '#/components/schemas/Attachment'
      type: object
      additionalProperties: false
      required:
      - type
    PackagedProductDefinition_ContainedItem:
      description: A medically related item or items, in a container or package.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        item:
          description: The actual item(s) of medication, as manufactured, or a device
            (typically, but not necessarily, a co-packaged one), or other medically
            related item (such as food, biologicals, raw materials, medical fluids,
            gases etc.), as contained in the package. This also allows another whole
            packaged product to be included, which is solely for the case where a package
            of other entire packages is wanted - such as a wholesale or distribution
            pack (for layers within one package, use PackagedProductDefinition.packaging.packaging).
          $ref: '#/components/schemas/CodeableReference'
        amount:
          description: The number of this type of item within this packaging or for
            continuous items such as liquids it is the quantity (for example 25ml).
            See also PackagedProductDefinition.containedItemQuantity (especially the
            long definition).
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
      required:
      - item
    Parameters:
      description: This resource is used to pass information into and back from an operation
        (whether invoked directly from REST or within a messaging environment).  It
        is not persisted or allowed to be referenced by other resources.
      properties:
        resourceType:
          description: This is a Parameters resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        parameter:
          description: A parameter passed to or received from the operation.
          items:
            $ref: '#/components/schemas/Parameters_Parameter'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    Parameters_Parameter:
      description: This resource is used to pass information into and back from an operation
        (whether invoked directly from REST or within a messaging environment).  It
        is not persisted or allowed to be referenced by other resources.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: The name of the parameter (reference to the operation definition).
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        valueBase64Binary:
          description: Conveys the content if the parameter is a data type.
          pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
          type: string
        _valueBase64Binary:
          description: Extensions for valueBase64Binary
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: Conveys the content if the parameter is a data type.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueCanonical:
          description: Conveys the content if the parameter is a data type.
          pattern: ^\S*$
          type: string
        _valueCanonical:
          description: Extensions for valueCanonical
          $ref: '#/components/schemas/Element'
        valueCode:
          description: Conveys the content if the parameter is a data type.
          pattern: ^[^\s]+( [^\s]+)*$
          type: string
        _valueCode:
          description: Extensions for valueCode
          $ref: '#/components/schemas/Element'
        valueDate:
          description: Conveys the content if the parameter is a data type.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: Conveys the content if the parameter is a data type.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: Conveys the content if the parameter is a data type.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
        valueId:
          description: Conveys the content if the parameter is a data type.
          pattern: ^[A-Za-z0-9\-\.]{1,64}$
          type: string
        _valueId:
          description: Extensions for valueId
          $ref: '#/components/schemas/Element'
        valueInstant:
          description: Conveys the content if the parameter is a data type.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$
          type: string
        _valueInstant:
          description: Extensions for valueInstant
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: Conveys the content if the parameter is a data type.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueInteger64:
          description: Conveys the content if the parameter is a data type.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: string
        _valueInteger64:
          description: Extensions for valueInteger64
          $ref: '#/components/schemas/Element'
        valueMarkdown:
          description: Conveys the content if the parameter is a data type.
          pattern: ^^[\s\S]+$$
          type: string
        _valueMarkdown:
          description: Extensions for valueMarkdown
          $ref: '#/components/schemas/Element'
        valueOid:
          description: Conveys the content if the parameter is a data type.
          pattern: ^urn:oid:[0-2](\.(0|[1-9][0-9]*))+$
          type: string
        _valueOid:
          description: Extensions for valueOid
          $ref: '#/components/schemas/Element'
        valuePositiveInt:
          description: Conveys the content if the parameter is a data type.
          pattern: ^[1-9][0-9]*$
          type: number
        _valuePositiveInt:
          description: Extensions for valuePositiveInt
          $ref: '#/components/schemas/Element'
        valueString:
          description: Conveys the content if the parameter is a data type.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueTime:
          description: Conveys the content if the parameter is a data type.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _valueTime:
          description: Extensions for valueTime
          $ref: '#/components/schemas/Element'
        valueUnsignedInt:
          description: Conveys the content if the parameter is a data type.
          pattern: ^[0]|([1-9][0-9]*)$
          type: number
        _valueUnsignedInt:
          description: Extensions for valueUnsignedInt
          $ref: '#/components/schemas/Element'
        valueUri:
          description: Conveys the content if the parameter is a data type.
          pattern: ^\S*$
          type: string
        _valueUri:
          description: Extensions for valueUri
          $ref: '#/components/schemas/Element'
        valueUrl:
          description: Conveys the content if the parameter is a data type.
          pattern: ^\S*$
          type: string
        _valueUrl:
          description: Extensions for valueUrl
          $ref: '#/components/schemas/Element'
        valueUuid:
          description: Conveys the content if the parameter is a data type.
          pattern: ^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          type: string
        _valueUuid:
          description: Extensions for valueUuid
          $ref: '#/components/schemas/Element'
        valueAddress:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Address'
        valueAge:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Age'
        valueAnnotation:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Annotation'
        valueAttachment:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Attachment'
        valueCodeableConcept:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableReference:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/CodeableReference'
        valueCoding:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Coding'
        valueContactPoint:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/ContactPoint'
        valueCount:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Count'
        valueDistance:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Distance'
        valueDuration:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Duration'
        valueHumanName:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/HumanName'
        valueIdentifier:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Identifier'
        valueMoney:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Money'
        valuePeriod:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Period'
        valueQuantity:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Range'
        valueRatio:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Ratio'
        valueRatioRange:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/RatioRange'
        valueReference:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Reference'
        valueSampledData:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/SampledData'
        valueSignature:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Signature'
        valueTiming:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Timing'
        valueContactDetail:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/ContactDetail'
        valueDataRequirement:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/DataRequirement'
        valueExpression:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Expression'
        valueParameterDefinition:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/ParameterDefinition'
        valueRelatedArtifact:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/RelatedArtifact'
        valueTriggerDefinition:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/TriggerDefinition'
        valueUsageContext:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/UsageContext'
        valueAvailability:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Availability'
        valueExtendedContactDetail:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/ExtendedContactDetail'
        valueDosage:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Dosage'
        valueMeta:
          description: Conveys the content if the parameter is a data type.
          $ref: '#/components/schemas/Meta'
        resource:
          description: Conveys the content if the parameter is a whole resource.
          $ref: '#/components/schemas/ResourceList'
        part:
          description: A named part of a multi-part parameter.
          items:
            $ref: '#/components/schemas/Parameters_Parameter'
          type: array
      type: object
      additionalProperties: false
    Patient:
      description: Demographics and other administrative information about an individual
        or animal receiving care or other health-related services.
      properties:
        resourceType:
          description: This is a Patient resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: An identifier for this patient.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        active:
          description: "Whether this patient record is in active use. \nMany systems\
            \ use this property to mark as non-current patients, such as those that\
            \ have not been seen for a period of time based on an organization's business\
            \ rules.\n\nIt is often used to filter patient lists to exclude inactive\
            \ patients\n\nDeceased patients may also be marked as inactive for the same\
            \ reasons, but may be active for some time after death."
          $ref: '#/components/schemas/boolean'
        _active:
          description: Extensions for active
          $ref: '#/components/schemas/Element'
        name:
          description: A name associated with the individual.
          items:
            $ref: '#/components/schemas/HumanName'
          type: array
        telecom:
          description: A contact detail (e.g. a telephone number or an email address)
            by which the individual may be contacted.
          items:
            $ref: '#/components/schemas/ContactPoint'
          type: array
        gender:
          description: Administrative Gender - the gender that the patient is considered
            to have for administration and record keeping purposes.
          $ref: '#/components/schemas/code'
        _gender:
          description: Extensions for gender
          $ref: '#/components/schemas/Element'
        birthDate:
          description: The date of birth for the individual.
          $ref: '#/components/schemas/date'
        _birthDate:
          description: Extensions for birthDate
          $ref: '#/components/schemas/Element'
        deceasedBoolean:
          description: Indicates if the individual is deceased or not.
          pattern: ^true|false$
          type: boolean
        _deceasedBoolean:
          description: Extensions for deceasedBoolean
          $ref: '#/components/schemas/Element'
        deceasedDateTime:
          description: Indicates if the individual is deceased or not.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _deceasedDateTime:
          description: Extensions for deceasedDateTime
          $ref: '#/components/schemas/Element'
        address:
          description: An address for the individual.
          items:
            $ref: '#/components/schemas/Address'
          type: array
        maritalStatus:
          description: This field contains a patient's most recent marital (civil) status.
          $ref: '#/components/schemas/CodeableConcept'
        multipleBirthBoolean:
          description: Indicates whether the patient is part of a multiple (boolean)
            or indicates the actual birth order (integer).
          pattern: ^true|false$
          type: boolean
        _multipleBirthBoolean:
          description: Extensions for multipleBirthBoolean
          $ref: '#/components/schemas/Element'
        multipleBirthInteger:
          description: Indicates whether the patient is part of a multiple (boolean)
            or indicates the actual birth order (integer).
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _multipleBirthInteger:
          description: Extensions for multipleBirthInteger
          $ref: '#/components/schemas/Element'
        photo:
          description: Image of the patient.
          items:
            $ref: '#/components/schemas/Attachment'
          type: array
        contact:
          description: A contact party (e.g. guardian, partner, friend) for the patient.
          items:
            $ref: '#/components/schemas/Patient_Contact'
          type: array
        communication:
          description: A language which may be used to communicate with the patient
            about his or her health.
          items:
            $ref: '#/components/schemas/Patient_Communication'
          type: array
        generalPractitioner:
          description: Patient's nominated care provider.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        managingOrganization:
          description: Organization that is the custodian of the patient record.
          $ref: '#/components/schemas/Reference'
        link:
          description: Link to a Patient or RelatedPerson resource that concerns the
            same actual individual.
          items:
            $ref: '#/components/schemas/Patient_Link'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
      - identifier
      - id
      - meta
    Patient_Contact:
      description: Demographics and other administrative information about an individual
        or animal receiving care or other health-related services.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        relationship:
          description: The nature of the relationship between the patient and the contact
            person.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        name:
          description: A name associated with the contact person.
          $ref: '#/components/schemas/HumanName'
        telecom:
          description: A contact detail for the person, e.g. a telephone number or an
            email address.
          items:
            $ref: '#/components/schemas/ContactPoint'
          type: array
        address:
          description: Address for the contact person.
          $ref: '#/components/schemas/Address'
        gender:
          description: Administrative Gender - the gender that the contact person is
            considered to have for administration and record keeping purposes.
          $ref: '#/components/schemas/code'
        _gender:
          description: Extensions for gender
          $ref: '#/components/schemas/Element'
        organization:
          description: Organization on behalf of which the contact is acting or for
            which the contact is working.
          $ref: '#/components/schemas/Reference'
        period:
          description: The period during which this contact person or organization is
            valid to be contacted relating to this patient.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
    Patient_Communication:
      description: Demographics and other administrative information about an individual
        or animal receiving care or other health-related services.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        language:
          description: The ISO-639-1 alpha 2 code in lower case for the language, optionally
            followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper
            case; e.g. "en" for English, or "en-US" for American English versus "en-AU"
            for Australian English.
          $ref: '#/components/schemas/CodeableConcept'
        preferred:
          description: Indicates whether or not the patient prefers this language (over
            other languages he masters up a certain level).
          $ref: '#/components/schemas/boolean'
        _preferred:
          description: Extensions for preferred
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - language
    Patient_Link:
      description: Demographics and other administrative information about an individual
        or animal receiving care or other health-related services.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        other:
          description: Link to a Patient or RelatedPerson resource that concerns the
            same actual individual.
          $ref: '#/components/schemas/Reference'
        type:
          description: The type of link between this patient resource and another patient
            resource.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - other
    PaymentNotice:
      description: This resource provides the status of the payment for goods and services
        rendered, and the request and response resource references.
      properties:
        resourceType:
          description: This is a PaymentNotice resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A unique identifier assigned to this payment notice.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The status of the resource instance.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        request:
          description: Reference of resource for which payment is being made.
          $ref: '#/components/schemas/Reference'
        response:
          description: Reference of response to resource for which payment is being
            made.
          $ref: '#/components/schemas/Reference'
        created:
          description: The date when this resource was created.
          $ref: '#/components/schemas/dateTime'
        _created:
          description: Extensions for created
          $ref: '#/components/schemas/Element'
        reporter:
          description: The party who reports the payment notice.
          $ref: '#/components/schemas/Reference'
        payment:
          description: A reference to the payment which is the subject of this notice.
          $ref: '#/components/schemas/Reference'
        paymentDate:
          description: The date when the above payment action occurred.
          $ref: '#/components/schemas/date'
        _paymentDate:
          description: Extensions for paymentDate
          $ref: '#/components/schemas/Element'
        payee:
          description: The party who will receive or has received payment that is the
            subject of this notification.
          $ref: '#/components/schemas/Reference'
        recipient:
          description: The party who is notified of the payment status.
          $ref: '#/components/schemas/Reference'
        amount:
          description: The amount sent to the payee.
          $ref: '#/components/schemas/Money'
        paymentStatus:
          description: A code indicating whether payment has been sent or cleared.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - amount
      - recipient
      - resourceType
    PaymentReconciliation:
      description: This resource provides the details including amount of a payment
        and allocates the payment items being paid.
      properties:
        resourceType:
          description: This is a PaymentReconciliation resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A unique identifier assigned to this payment reconciliation.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        type:
          description: Code to indicate the nature of the payment such as payment, adjustment.
          $ref: '#/components/schemas/CodeableConcept'
        status:
          description: The status of the resource instance.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        kind:
          description: The workflow or activity which gave rise to or during which the
            payment ocurred such as a kiosk, deposit on account, periodic payment etc.
          $ref: '#/components/schemas/CodeableConcept'
        period:
          description: The period of time for which payments have been gathered into
            this bulk payment for settlement.
          $ref: '#/components/schemas/Period'
        created:
          description: The date when the resource was created.
          $ref: '#/components/schemas/dateTime'
        _created:
          description: Extensions for created
          $ref: '#/components/schemas/Element'
        enterer:
          description: Payment enterer if not the actual payment issuer.
          $ref: '#/components/schemas/Reference'
        issuerType:
          description: The type of the source such as patient or insurance.
          $ref: '#/components/schemas/CodeableConcept'
        paymentIssuer:
          description: The party who generated the payment.
          $ref: '#/components/schemas/Reference'
        request:
          description: Original request resource reference.
          $ref: '#/components/schemas/Reference'
        requestor:
          description: The practitioner who is responsible for the services rendered
            to the patient.
          $ref: '#/components/schemas/Reference'
        outcome:
          description: The outcome of a request for a reconciliation.
          $ref: '#/components/schemas/code'
        _outcome:
          description: Extensions for outcome
          $ref: '#/components/schemas/Element'
        disposition:
          description: A human readable description of the status of the request for
            the reconciliation.
          $ref: '#/components/schemas/string'
        _disposition:
          description: Extensions for disposition
          $ref: '#/components/schemas/Element'
        date:
          description: The date of payment as indicated on the financial instrument.
          $ref: '#/components/schemas/date'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        location:
          description: The location of the site or device for electronic transfers or
            physical location for cash payments.
          $ref: '#/components/schemas/Reference'
        method:
          description: The means of payment such as check, card cash, or electronic
            funds transfer.
          $ref: '#/components/schemas/CodeableConcept'
        cardBrand:
          description: The card brand such as debit, Visa, Amex etc. used if a card
            is the method of payment.
          $ref: '#/components/schemas/string'
        _cardBrand:
          description: Extensions for cardBrand
          $ref: '#/components/schemas/Element'
        accountNumber:
          description: A portion of the account number, often the last 4 digits, used
            for verification not charging purposes.
          $ref: '#/components/schemas/string'
        _accountNumber:
          description: Extensions for accountNumber
          $ref: '#/components/schemas/Element'
        expirationDate:
          description: The year and month (YYYY-MM) when the instrument, typically card,
            expires.
          $ref: '#/components/schemas/date'
        _expirationDate:
          description: Extensions for expirationDate
          $ref: '#/components/schemas/Element'
        processor:
          description: The name of the card processor, etf processor, bank for checks.
          $ref: '#/components/schemas/string'
        _processor:
          description: Extensions for processor
          $ref: '#/components/schemas/Element'
        referenceNumber:
          description: The check number, eft reference, car processor reference.
          $ref: '#/components/schemas/string'
        _referenceNumber:
          description: Extensions for referenceNumber
          $ref: '#/components/schemas/Element'
        authorization:
          description: An alphanumeric issued by the processor to confirm the successful
            issuance of payment.
          $ref: '#/components/schemas/string'
        _authorization:
          description: Extensions for authorization
          $ref: '#/components/schemas/Element'
        tenderedAmount:
          description: The amount offered by the issuer, typically applies to cash when
            the issuer provides an amount in bank note denominations equal to or excess
            of the amount actually being paid.
          $ref: '#/components/schemas/Money'
        returnedAmount:
          description: The amount returned by the receiver which is excess to the amount
            payable, often referred to as 'change'.
          $ref: '#/components/schemas/Money'
        amount:
          description: Total payment amount as indicated on the financial instrument.
          $ref: '#/components/schemas/Money'
        paymentIdentifier:
          description: Issuer's unique identifier for the payment instrument.
          $ref: '#/components/schemas/Identifier'
        allocation:
          description: Distribution of the payment amount for a previously acknowledged
            payable.
          items:
            $ref: '#/components/schemas/PaymentReconciliation_Allocation'
          type: array
        formCode:
          description: A code for the form to be used for printing the content.
          $ref: '#/components/schemas/CodeableConcept'
        processNote:
          description: A note that describes or explains the processing in a human readable
            form.
          items:
            $ref: '#/components/schemas/PaymentReconciliation_ProcessNote'
          type: array
      type: object
      additionalProperties: false
      required:
      - amount
      - type
      - resourceType
    PaymentReconciliation_Allocation:
      description: This resource provides the details including amount of a payment
        and allocates the payment items being paid.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Unique identifier for the current payment item for the referenced
            payable.
          $ref: '#/components/schemas/Identifier'
        predecessor:
          description: Unique identifier for the prior payment item for the referenced
            payable.
          $ref: '#/components/schemas/Identifier'
        target:
          description: Specific resource to which the payment/adjustment/advance applies.
          $ref: '#/components/schemas/Reference'
        targetItemString:
          description: ' Identifies the claim line item, encounter or other sub-element
            being paid. Note payment may be partial, that is not match the then outstanding
            balance or amount incurred.'
          pattern: ^^[\s\S]+$$
          type: string
        _targetItemString:
          description: Extensions for targetItemString
          $ref: '#/components/schemas/Element'
        targetItemIdentifier:
          description: ' Identifies the claim line item, encounter or other sub-element
            being paid. Note payment may be partial, that is not match the then outstanding
            balance or amount incurred.'
          $ref: '#/components/schemas/Identifier'
        targetItemPositiveInt:
          description: ' Identifies the claim line item, encounter or other sub-element
            being paid. Note payment may be partial, that is not match the then outstanding
            balance or amount incurred.'
          pattern: ^[1-9][0-9]*$
          type: number
        _targetItemPositiveInt:
          description: Extensions for targetItemPositiveInt
          $ref: '#/components/schemas/Element'
        encounter:
          description: The Encounter to which this payment applies, may be completed
            by the receiver, used for search.
          $ref: '#/components/schemas/Reference'
        account:
          description: The Account to which this payment applies, may be completed by
            the receiver, used for search.
          $ref: '#/components/schemas/Reference'
        type:
          description: Code to indicate the nature of the payment.
          $ref: '#/components/schemas/CodeableConcept'
        submitter:
          description: The party which submitted the claim or financial transaction.
          $ref: '#/components/schemas/Reference'
        response:
          description: A resource, such as a ClaimResponse, which contains a commitment
            to payment.
          $ref: '#/components/schemas/Reference'
        date:
          description: The date from the response resource containing a commitment to
            pay.
          $ref: '#/components/schemas/date'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        responsible:
          description: A reference to the individual who is responsible for inquiries
            regarding the response and its payment.
          $ref: '#/components/schemas/Reference'
        payee:
          description: The party which is receiving the payment.
          $ref: '#/components/schemas/Reference'
        amount:
          description: The monetary amount allocated from the total payment to the payable.
          $ref: '#/components/schemas/Money'
      type: object
      additionalProperties: false
    PaymentReconciliation_ProcessNote:
      description: This resource provides the details including amount of a payment
        and allocates the payment items being paid.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The business purpose of the note text.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        text:
          description: The explanation or description associated with the processing.
          $ref: '#/components/schemas/string'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Permission:
      description: Permission resource holds access rules for a given data and context.
      properties:
        resourceType:
          description: This is a Permission resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        status:
          description: Status.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        asserter:
          description: The person or entity that asserts the permission.
          $ref: '#/components/schemas/Reference'
        date:
          description: The date that permission was asserted.
          items:
            $ref: '#/components/schemas/dateTime'
          type: array
        _date:
          description: Extensions for date
          items:
            $ref: '#/components/schemas/Element'
          type: array
        validity:
          description: The period in which the permission is active.
          $ref: '#/components/schemas/Period'
        justification:
          description: The asserted justification for using the data.
          $ref: '#/components/schemas/Permission_Justification'
        combining:
          description: Defines a procedure for arriving at an access decision given
            the set of rules.
          $ref: '#/components/schemas/code'
        _combining:
          description: Extensions for combining
          $ref: '#/components/schemas/Element'
        rule:
          description: A set of rules.
          items:
            $ref: '#/components/schemas/Permission_Rule'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    Permission_Justification:
      description: Permission resource holds access rules for a given data and context.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        basis:
          description: This would be a codeableconcept, or a coding, which can be constrained
            to , for example, the 6 grounds for processing in GDPR.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        evidence:
          description: Justifing rational.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    Permission_Rule:
      description: Permission resource holds access rules for a given data and context.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: deny | permit.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        data:
          description: A description or definition of which activities are allowed to
            be done on the data.
          items:
            $ref: '#/components/schemas/Permission_Data'
          type: array
        activity:
          description: A description or definition of which activities are allowed to
            be done on the data.
          items:
            $ref: '#/components/schemas/Permission_Activity'
          type: array
        limit:
          description: What limits apply to the use of the data.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
    Permission_Data:
      description: Permission resource holds access rules for a given data and context.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        resource:
          description: Explicit FHIR Resource references.
          items:
            $ref: '#/components/schemas/Permission_Resource'
          type: array
        security:
          description: The data in scope are those with the given codes present in that
            data .meta.security element.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        period:
          description: Clinical or Operational Relevant period of time that bounds the
            data controlled by this rule.
          items:
            $ref: '#/components/schemas/Period'
          type: array
        expression:
          description: Used when other data selection elements are insufficient.
          $ref: '#/components/schemas/Expression'
      type: object
      additionalProperties: false
    Permission_Resource:
      description: Permission resource holds access rules for a given data and context.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        meaning:
          description: How the resource reference is interpreted when testing consent
            restrictions.
          $ref: '#/components/schemas/code'
        _meaning:
          description: Extensions for meaning
          $ref: '#/components/schemas/Element'
        reference:
          description: A reference to a specific resource that defines which resources
            are covered by this consent.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - reference
    Permission_Activity:
      description: Permission resource holds access rules for a given data and context.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        actor:
          description: The actor(s) authorized for the defined activity.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        action:
          description: Actions controlled by this Rule.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: The purpose for which the permission is given.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
    Person:
      description: Demographics and administrative information about a person independent
        of a specific health-related context.
      properties:
        resourceType:
          description: This is a Person resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifier for a person within a particular scope.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        active:
          description: Whether this person's record is in active use.
          $ref: '#/components/schemas/boolean'
        _active:
          description: Extensions for active
          $ref: '#/components/schemas/Element'
        name:
          description: A name associated with the person.
          items:
            $ref: '#/components/schemas/HumanName'
          type: array
        telecom:
          description: A contact detail for the person, e.g. a telephone number or an
            email address.
          items:
            $ref: '#/components/schemas/ContactPoint'
          type: array
        gender:
          description: Administrative Gender.
          $ref: '#/components/schemas/code'
        _gender:
          description: Extensions for gender
          $ref: '#/components/schemas/Element'
        birthDate:
          description: The birth date for the person.
          $ref: '#/components/schemas/date'
        _birthDate:
          description: Extensions for birthDate
          $ref: '#/components/schemas/Element'
        deceasedBoolean:
          description: Indicates if the individual is deceased or not.
          pattern: ^true|false$
          type: boolean
        _deceasedBoolean:
          description: Extensions for deceasedBoolean
          $ref: '#/components/schemas/Element'
        deceasedDateTime:
          description: Indicates if the individual is deceased or not.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _deceasedDateTime:
          description: Extensions for deceasedDateTime
          $ref: '#/components/schemas/Element'
        address:
          description: One or more addresses for the person.
          items:
            $ref: '#/components/schemas/Address'
          type: array
        maritalStatus:
          description: This field contains a person's most recent marital (civil) status.
          $ref: '#/components/schemas/CodeableConcept'
        photo:
          description: An image that can be displayed as a thumbnail of the person to
            enhance the identification of the individual.
          items:
            $ref: '#/components/schemas/Attachment'
          type: array
        communication:
          description: A language which may be used to communicate with the person about
            his or her health.
          items:
            $ref: '#/components/schemas/Person_Communication'
          type: array
        managingOrganization:
          description: The organization that is the custodian of the person record.
          $ref: '#/components/schemas/Reference'
        link:
          description: Link to a resource that concerns the same actual person.
          items:
            $ref: '#/components/schemas/Person_Link'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    Person_Communication:
      description: Demographics and administrative information about a person independent
        of a specific health-related context.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        language:
          description: The ISO-639-1 alpha 2 code in lower case for the language, optionally
            followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper
            case; e.g. "en" for English, or "en-US" for American English versus "en-AU"
            for Australian English.
          $ref: '#/components/schemas/CodeableConcept'
        preferred:
          description: Indicates whether or not the person prefers this language (over
            other languages he masters up a certain level).
          $ref: '#/components/schemas/boolean'
        _preferred:
          description: Extensions for preferred
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - language
    Person_Link:
      description: Demographics and administrative information about a person independent
        of a specific health-related context.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        target:
          description: The resource to which this actual person is associated.
          $ref: '#/components/schemas/Reference'
        assurance:
          description: Level of assurance that this link is associated with the target
            resource.
          $ref: '#/components/schemas/code'
        _assurance:
          description: Extensions for assurance
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - target
    PlanDefinition:
      description: This resource allows for the definition of various types of plans
        as a sharable, consumable, and executable artifact. The resource is general
        enough to support the description of a broad range of clinical and non-clinical
        artifacts such as clinical decision support rules, order sets, protocols, and
        drug quality specifications.
      properties:
        resourceType:
          description: This is a PlanDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this plan definition
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this plan
            definition is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the plan definition is stored on
            different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this plan definition
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the plan
            definition when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the plan definition author and is
            not expected to be globally unique. For example, it might be a timestamp
            (e.g. yyyymmdd) if a managed version is not available. There is also no
            expectation that versions can be placed in a lexicographical sequence. To
            provide a version consistent with the Decision Support Service specification,
            use the format Major.Minor.Revision (e.g. 1.0.0). For more information on
            versioning knowledge assets, refer to the Decision Support Service specification.
            Note that a version is required for non-experimental active artifacts.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the plan definition. This
            name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the plan definition.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this plan definition. Enables tracking the life-cycle
            of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this plan definition is authored
            for testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the plan definition was
            last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the plan definition changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the plan definition.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the plan definition
            from a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            plan definition instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the plan definition is
            intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this plan definition is needed and why it
            has been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the plan definition and/or
            its contents. Copyright statements are generally legal restrictions on the
            use and publishing of the plan definition.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the plan definition content was or is
            planned to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptive topics related to the content of the plan definition.
            Topics provide a high-level categorization of the definition that can be
            useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual or organization primarily involved in the creation
            and maintenance of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individual or organization primarily responsible for internal
            coherence of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individual or organization asserted by the publisher to be
            primarily responsible for review of some aspect of the content.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individual or organization asserted by the publisher to be
            responsible for officially endorsing the content for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Related artifacts such as additional documentation, justification,
            or bibliographic references.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        subtitle:
          description: An explanatory or alternate title for the plan definition giving
            additional information about its content.
          $ref: '#/components/schemas/string'
        _subtitle:
          description: Extensions for subtitle
          $ref: '#/components/schemas/Element'
        type:
          description: A high-level category for the plan definition that distinguishes
            the kinds of systems that would be interested in the plan definition.
          $ref: '#/components/schemas/CodeableConcept'
        subjectCodeableConcept:
          description: A code, group definition, or canonical reference that describes  or
            identifies the intended subject of the plan definition. Canonical references
            are allowed to support the definition of protocols for drug and substance
            quality specifications, and is allowed to reference a MedicinalProductDefinition,
            SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition,
            or PackagedProductDefinition resource.
          $ref: '#/components/schemas/CodeableConcept'
        subjectReference:
          description: A code, group definition, or canonical reference that describes  or
            identifies the intended subject of the plan definition. Canonical references
            are allowed to support the definition of protocols for drug and substance
            quality specifications, and is allowed to reference a MedicinalProductDefinition,
            SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition,
            or PackagedProductDefinition resource.
          $ref: '#/components/schemas/Reference'
        subjectCanonical:
          description: A code, group definition, or canonical reference that describes  or
            identifies the intended subject of the plan definition. Canonical references
            are allowed to support the definition of protocols for drug and substance
            quality specifications, and is allowed to reference a MedicinalProductDefinition,
            SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition,
            or PackagedProductDefinition resource.
          pattern: ^\S*$
          type: string
        _subjectCanonical:
          description: Extensions for subjectCanonical
          $ref: '#/components/schemas/Element'
        usage:
          description: A detailed description of how the plan definition is used from
            a clinical perspective.
          $ref: '#/components/schemas/markdown'
        _usage:
          description: Extensions for usage
          $ref: '#/components/schemas/Element'
        library:
          description: A reference to a Library resource containing any formal logic
            used by the plan definition.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        goal:
          description: A goal describes an expected outcome that activities within the
            plan are intended to achieve. For example, weight loss, restoring an activity
            of daily living, obtaining herd immunity via immunization, meeting a process
            improvement objective, meeting the acceptance criteria for a test as specified
            by a quality specification, etc.
          items:
            $ref: '#/components/schemas/PlanDefinition_Goal'
          type: array
        actor:
          description: Actors represent the individuals or groups involved in the execution
            of the defined set of activities.
          items:
            $ref: '#/components/schemas/PlanDefinition_Actor'
          type: array
        action:
          description: An action or group of actions to be taken as part of the plan.
            For example, in clinical care, an action would be to prescribe a particular
            indicated medication, or perform a particular test as appropriate. In pharmaceutical
            quality, an action would be the test that needs to be performed on a drug
            product as defined in the quality specification.
          items:
            $ref: '#/components/schemas/PlanDefinition_Action'
          type: array
        asNeededBoolean:
          description: If a CodeableConcept is present, it indicates the pre-condition
            for performing the service.  For example "pain", "on flare-up", etc.
          pattern: ^true|false$
          type: boolean
        _asNeededBoolean:
          description: Extensions for asNeededBoolean
          $ref: '#/components/schemas/Element'
        asNeededCodeableConcept:
          description: If a CodeableConcept is present, it indicates the pre-condition
            for performing the service.  For example "pain", "on flare-up", etc.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - resourceType
    PlanDefinition_Goal:
      description: This resource allows for the definition of various types of plans
        as a sharable, consumable, and executable artifact. The resource is general
        enough to support the description of a broad range of clinical and non-clinical
        artifacts such as clinical decision support rules, order sets, protocols, and
        drug quality specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        category:
          description: Indicates a category the goal falls within.
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: Human-readable and/or coded description of a specific desired
            objective of care, such as "control blood pressure" or "negotiate an obstacle
            course" or "dance with child at wedding".
          $ref: '#/components/schemas/CodeableConcept'
        priority:
          description: Identifies the expected level of importance associated with reaching/sustaining
            the defined goal.
          $ref: '#/components/schemas/CodeableConcept'
        start:
          description: The event after which the goal should begin being pursued.
          $ref: '#/components/schemas/CodeableConcept'
        addresses:
          description: Identifies problems, conditions, issues, or concerns the goal
            is intended to address.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        documentation:
          description: Didactic or other informational resources associated with the
            goal that provide further supporting information about the goal. Information
            resources can include inline text commentary and links to web resources.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        target:
          description: Indicates what should be done and within what timeframe.
          items:
            $ref: '#/components/schemas/PlanDefinition_Target'
          type: array
      type: object
      additionalProperties: false
      required:
      - description
    PlanDefinition_Target:
      description: This resource allows for the definition of various types of plans
        as a sharable, consumable, and executable artifact. The resource is general
        enough to support the description of a broad range of clinical and non-clinical
        artifacts such as clinical decision support rules, order sets, protocols, and
        drug quality specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        measure:
          description: The parameter whose value is to be tracked, e.g. body weight,
            blood pressure, or hemoglobin A1c level.
          $ref: '#/components/schemas/CodeableConcept'
        detailQuantity:
          description: The target value of the measure to be achieved to signify fulfillment
            of the goal, e.g. 150 pounds or 7.0%, or in the case of pharmaceutical quality
            - NMT 0.6%, Clear solution, etc. Either the high or low or both values of
            the range can be specified. When a low value is missing, it indicates that
            the goal is achieved at any value at or below the high value. Similarly,
            if the high value is missing, it indicates that the goal is achieved at
            any value at or above the low value.
          $ref: '#/components/schemas/Quantity'
        detailRange:
          description: The target value of the measure to be achieved to signify fulfillment
            of the goal, e.g. 150 pounds or 7.0%, or in the case of pharmaceutical quality
            - NMT 0.6%, Clear solution, etc. Either the high or low or both values of
            the range can be specified. When a low value is missing, it indicates that
            the goal is achieved at any value at or below the high value. Similarly,
            if the high value is missing, it indicates that the goal is achieved at
            any value at or above the low value.
          $ref: '#/components/schemas/Range'
        detailCodeableConcept:
          description: The target value of the measure to be achieved to signify fulfillment
            of the goal, e.g. 150 pounds or 7.0%, or in the case of pharmaceutical quality
            - NMT 0.6%, Clear solution, etc. Either the high or low or both values of
            the range can be specified. When a low value is missing, it indicates that
            the goal is achieved at any value at or below the high value. Similarly,
            if the high value is missing, it indicates that the goal is achieved at
            any value at or above the low value.
          $ref: '#/components/schemas/CodeableConcept'
        detailString:
          description: The target value of the measure to be achieved to signify fulfillment
            of the goal, e.g. 150 pounds or 7.0%, or in the case of pharmaceutical quality
            - NMT 0.6%, Clear solution, etc. Either the high or low or both values of
            the range can be specified. When a low value is missing, it indicates that
            the goal is achieved at any value at or below the high value. Similarly,
            if the high value is missing, it indicates that the goal is achieved at
            any value at or above the low value.
          pattern: ^^[\s\S]+$$
          type: string
        _detailString:
          description: Extensions for detailString
          $ref: '#/components/schemas/Element'
        detailBoolean:
          description: The target value of the measure to be achieved to signify fulfillment
            of the goal, e.g. 150 pounds or 7.0%, or in the case of pharmaceutical quality
            - NMT 0.6%, Clear solution, etc. Either the high or low or both values of
            the range can be specified. When a low value is missing, it indicates that
            the goal is achieved at any value at or below the high value. Similarly,
            if the high value is missing, it indicates that the goal is achieved at
            any value at or above the low value.
          pattern: ^true|false$
          type: boolean
        _detailBoolean:
          description: Extensions for detailBoolean
          $ref: '#/components/schemas/Element'
        detailInteger:
          description: The target value of the measure to be achieved to signify fulfillment
            of the goal, e.g. 150 pounds or 7.0%, or in the case of pharmaceutical quality
            - NMT 0.6%, Clear solution, etc. Either the high or low or both values of
            the range can be specified. When a low value is missing, it indicates that
            the goal is achieved at any value at or below the high value. Similarly,
            if the high value is missing, it indicates that the goal is achieved at
            any value at or above the low value.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _detailInteger:
          description: Extensions for detailInteger
          $ref: '#/components/schemas/Element'
        detailRatio:
          description: The target value of the measure to be achieved to signify fulfillment
            of the goal, e.g. 150 pounds or 7.0%, or in the case of pharmaceutical quality
            - NMT 0.6%, Clear solution, etc. Either the high or low or both values of
            the range can be specified. When a low value is missing, it indicates that
            the goal is achieved at any value at or below the high value. Similarly,
            if the high value is missing, it indicates that the goal is achieved at
            any value at or above the low value.
          $ref: '#/components/schemas/Ratio'
        due:
          description: Indicates the timeframe after the start of the goal in which
            the goal should be met.
          $ref: '#/components/schemas/Duration'
      type: object
      additionalProperties: false
    PlanDefinition_Actor:
      description: This resource allows for the definition of various types of plans
        as a sharable, consumable, and executable artifact. The resource is general
        enough to support the description of a broad range of clinical and non-clinical
        artifacts such as clinical decision support rules, order sets, protocols, and
        drug quality specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        title:
          description: A descriptive label for the actor.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        description:
          description: A description of how the actor fits into the overall actions
            of the plan definition.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        option:
          description: The characteristics of the candidates that could serve as the
            actor.
          items:
            $ref: '#/components/schemas/PlanDefinition_Option'
          type: array
      type: object
      additionalProperties: false
      required:
      - option
    PlanDefinition_Option:
      description: This resource allows for the definition of various types of plans
        as a sharable, consumable, and executable artifact. The resource is general
        enough to support the description of a broad range of clinical and non-clinical
        artifacts such as clinical decision support rules, order sets, protocols, and
        drug quality specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of participant in the action.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        typeCanonical:
          description: The type of participant in the action.
          $ref: '#/components/schemas/canonical'
        typeReference:
          description: The type of participant in the action.
          $ref: '#/components/schemas/Reference'
        role:
          description: The role the participant should play in performing the described
            action.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    PlanDefinition_Action:
      description: This resource allows for the definition of various types of plans
        as a sharable, consumable, and executable artifact. The resource is general
        enough to support the description of a broad range of clinical and non-clinical
        artifacts such as clinical decision support rules, order sets, protocols, and
        drug quality specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkId:
          description: An identifier that is unique within the PlanDefinition to allow
            linkage within the realized CarePlan and/or RequestOrchestration.
          $ref: '#/components/schemas/string'
        _linkId:
          description: Extensions for linkId
          $ref: '#/components/schemas/Element'
        prefix:
          description: A user-visible prefix for the action. For example a section or
            item numbering such as 1. or A.
          $ref: '#/components/schemas/string'
        _prefix:
          description: Extensions for prefix
          $ref: '#/components/schemas/Element'
        title:
          description: The textual description of the action displayed to a user. For
            example, when the action is a test to be performed, the title would be the
            title of the test such as Assay by HPLC.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        description:
          description: A brief description of the action used to provide a summary to
            display to the user.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        textEquivalent:
          description: A text equivalent of the action to be performed. This provides
            a human-interpretable description of the action when the definition is consumed
            by a system that might not be capable of interpreting it dynamically.
          $ref: '#/components/schemas/markdown'
        _textEquivalent:
          description: Extensions for textEquivalent
          $ref: '#/components/schemas/Element'
        priority:
          description: Indicates how quickly the action should be addressed with respect
            to other actions.
          $ref: '#/components/schemas/code'
        _priority:
          description: Extensions for priority
          $ref: '#/components/schemas/Element'
        code:
          description: A code that provides a meaning, grouping, or classification for
            the action or action group. For example, a section may have a LOINC code
            for the section of a documentation template. In pharmaceutical quality,
            an action (Test) such as pH could be classified as a physical property.
          $ref: '#/components/schemas/CodeableConcept'
        reason:
          description: A description of why this action is necessary or appropriate.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        documentation:
          description: Didactic or other informational resources associated with the
            action that can be provided to the CDS recipient. Information resources
            can include inline text commentary and links to web resources.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        goalId:
          description: Identifies goals that this action supports. The reference must
            be to a goal element defined within this plan definition. In pharmaceutical
            quality, a goal represents acceptance criteria (Goal) for a given action
            (Test), so the goalId would be the unique id of a defined goal element establishing
            the acceptance criteria for the action.
          items:
            $ref: '#/components/schemas/id'
          type: array
        _goalId:
          description: Extensions for goalId
          items:
            $ref: '#/components/schemas/Element'
          type: array
        subjectCodeableConcept:
          description: A code, group definition, or canonical reference that describes
            the intended subject of the action and its children, if any. Canonical references
            are allowed to support the definition of protocols for drug and substance
            quality specifications, and is allowed to reference a MedicinalProductDefinition,
            SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition,
            or PackagedProductDefinition resource.
          $ref: '#/components/schemas/CodeableConcept'
        subjectReference:
          description: A code, group definition, or canonical reference that describes
            the intended subject of the action and its children, if any. Canonical references
            are allowed to support the definition of protocols for drug and substance
            quality specifications, and is allowed to reference a MedicinalProductDefinition,
            SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition,
            or PackagedProductDefinition resource.
          $ref: '#/components/schemas/Reference'
        subjectCanonical:
          description: A code, group definition, or canonical reference that describes
            the intended subject of the action and its children, if any. Canonical references
            are allowed to support the definition of protocols for drug and substance
            quality specifications, and is allowed to reference a MedicinalProductDefinition,
            SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition,
            or PackagedProductDefinition resource.
          pattern: ^\S*$
          type: string
        _subjectCanonical:
          description: Extensions for subjectCanonical
          $ref: '#/components/schemas/Element'
        trigger:
          description: A description of when the action should be triggered. When multiple
            triggers are specified on an action, any triggering event invokes the action.
          items:
            $ref: '#/components/schemas/TriggerDefinition'
          type: array
        condition:
          description: An expression that describes applicability criteria or start/stop
            conditions for the action.
          items:
            $ref: '#/components/schemas/PlanDefinition_Condition'
          type: array
        input:
          description: Defines input data requirements for the action.
          items:
            $ref: '#/components/schemas/PlanDefinition_Input'
          type: array
        output:
          description: Defines the outputs of the action, if any.
          items:
            $ref: '#/components/schemas/PlanDefinition_Output'
          type: array
        relatedAction:
          description: A relationship to another action such as "before" or "30-60 minutes
            after start of".
          items:
            $ref: '#/components/schemas/PlanDefinition_RelatedAction'
          type: array
        timingAge:
          description: An optional value describing when the action should be performed.
          $ref: '#/components/schemas/Age'
        timingDuration:
          description: An optional value describing when the action should be performed.
          $ref: '#/components/schemas/Duration'
        timingRange:
          description: An optional value describing when the action should be performed.
          $ref: '#/components/schemas/Range'
        timingTiming:
          description: An optional value describing when the action should be performed.
          $ref: '#/components/schemas/Timing'
        location:
          description: Identifies the facility where the action will occur; e.g. home,
            hospital, specific clinic, etc.
          $ref: '#/components/schemas/CodeableReference'
        participant:
          description: Indicates who should participate in performing the action described.
          items:
            $ref: '#/components/schemas/PlanDefinition_Participant'
          type: array
        type:
          description: The type of action to perform (create, update, remove).
          $ref: '#/components/schemas/CodeableConcept'
        groupingBehavior:
          description: Defines the grouping behavior for the action and its children.
          $ref: '#/components/schemas/code'
        _groupingBehavior:
          description: Extensions for groupingBehavior
          $ref: '#/components/schemas/Element'
        selectionBehavior:
          description: Defines the selection behavior for the action and its children.
          $ref: '#/components/schemas/code'
        _selectionBehavior:
          description: Extensions for selectionBehavior
          $ref: '#/components/schemas/Element'
        requiredBehavior:
          description: Defines the required behavior for the action.
          $ref: '#/components/schemas/code'
        _requiredBehavior:
          description: Extensions for requiredBehavior
          $ref: '#/components/schemas/Element'
        precheckBehavior:
          description: Defines whether the action should usually be preselected.
          $ref: '#/components/schemas/code'
        _precheckBehavior:
          description: Extensions for precheckBehavior
          $ref: '#/components/schemas/Element'
        cardinalityBehavior:
          description: Defines whether the action can be selected multiple times.
          $ref: '#/components/schemas/code'
        _cardinalityBehavior:
          description: Extensions for cardinalityBehavior
          $ref: '#/components/schemas/Element'
        definitionCanonical:
          description: A reference to an ActivityDefinition that describes the action
            to be taken in detail, a MessageDefinition describing a message to be snet,
            a PlanDefinition that describes a series of actions to be taken, a Questionnaire
            that should be filled out, a SpecimenDefinition describing a specimen to
            be collected, or an ObservationDefinition that specifies what observation
            should be captured.
          pattern: ^\S*$
          type: string
        _definitionCanonical:
          description: Extensions for definitionCanonical
          $ref: '#/components/schemas/Element'
        definitionUri:
          description: A reference to an ActivityDefinition that describes the action
            to be taken in detail, a MessageDefinition describing a message to be snet,
            a PlanDefinition that describes a series of actions to be taken, a Questionnaire
            that should be filled out, a SpecimenDefinition describing a specimen to
            be collected, or an ObservationDefinition that specifies what observation
            should be captured.
          pattern: ^\S*$
          type: string
        _definitionUri:
          description: Extensions for definitionUri
          $ref: '#/components/schemas/Element'
        transform:
          description: A reference to a StructureMap resource that defines a transform
            that can be executed to produce the intent resource using the ActivityDefinition
            instance as the input.
          $ref: '#/components/schemas/canonical'
        dynamicValue:
          description: Customizations that should be applied to the statically defined
            resource. For example, if the dosage of a medication must be computed based
            on the patient's weight, a customization would be used to specify an expression
            that calculated the weight, and the path on the resource that would contain
            the result.
          items:
            $ref: '#/components/schemas/PlanDefinition_DynamicValue'
          type: array
        action:
          description: Sub actions that are contained within the action. The behavior
            of this action determines the functionality of the sub-actions. For example,
            a selection behavior of at-most-one indicates that of the sub-actions, at
            most one may be chosen as part of realizing the action definition.
          items:
            $ref: '#/components/schemas/PlanDefinition_Action'
          type: array
      type: object
      additionalProperties: false
    PlanDefinition_Condition:
      description: This resource allows for the definition of various types of plans
        as a sharable, consumable, and executable artifact. The resource is general
        enough to support the description of a broad range of clinical and non-clinical
        artifacts such as clinical decision support rules, order sets, protocols, and
        drug quality specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        kind:
          description: The kind of condition.
          $ref: '#/components/schemas/code'
        _kind:
          description: Extensions for kind
          $ref: '#/components/schemas/Element'
        expression:
          description: An expression that returns true or false, indicating whether
            the condition is satisfied.
          $ref: '#/components/schemas/Expression'
      type: object
      additionalProperties: false
    PlanDefinition_Input:
      description: This resource allows for the definition of various types of plans
        as a sharable, consumable, and executable artifact. The resource is general
        enough to support the description of a broad range of clinical and non-clinical
        artifacts such as clinical decision support rules, order sets, protocols, and
        drug quality specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        title:
          description: A human-readable label for the data requirement used to label
            data flows in BPMN or similar diagrams. Also provides a human readable label
            when rendering the data requirement that conveys its purpose to human readers.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        requirement:
          description: Defines the data that is to be provided as input to the action.
          $ref: '#/components/schemas/DataRequirement'
        relatedData:
          description: Points to an existing input or output element that provides data
            to this input.
          $ref: '#/components/schemas/id'
        _relatedData:
          description: Extensions for relatedData
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    PlanDefinition_Output:
      description: This resource allows for the definition of various types of plans
        as a sharable, consumable, and executable artifact. The resource is general
        enough to support the description of a broad range of clinical and non-clinical
        artifacts such as clinical decision support rules, order sets, protocols, and
        drug quality specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        title:
          description: A human-readable label for the data requirement used to label
            data flows in BPMN or similar diagrams. Also provides a human readable label
            when rendering the data requirement that conveys its purpose to human readers.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        requirement:
          description: Defines the data that results as output from the action.
          $ref: '#/components/schemas/DataRequirement'
        relatedData:
          description: Points to an existing input or output element that is results
            as output from the action.
          $ref: '#/components/schemas/string'
        _relatedData:
          description: Extensions for relatedData
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    PlanDefinition_RelatedAction:
      description: This resource allows for the definition of various types of plans
        as a sharable, consumable, and executable artifact. The resource is general
        enough to support the description of a broad range of clinical and non-clinical
        artifacts such as clinical decision support rules, order sets, protocols, and
        drug quality specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        targetId:
          description: The element id of the target related action.
          $ref: '#/components/schemas/id'
        _targetId:
          description: Extensions for targetId
          $ref: '#/components/schemas/Element'
        relationship:
          description: The relationship of the start of this action to the related action.
          $ref: '#/components/schemas/code'
        _relationship:
          description: Extensions for relationship
          $ref: '#/components/schemas/Element'
        endRelationship:
          description: The relationship of the end of this action to the related action.
          $ref: '#/components/schemas/code'
        _endRelationship:
          description: Extensions for endRelationship
          $ref: '#/components/schemas/Element'
        offsetDuration:
          description: A duration or range of durations to apply to the relationship.
            For example, 30-60 minutes before.
          $ref: '#/components/schemas/Duration'
        offsetRange:
          description: A duration or range of durations to apply to the relationship.
            For example, 30-60 minutes before.
          $ref: '#/components/schemas/Range'
      type: object
      additionalProperties: false
    PlanDefinition_Participant:
      description: This resource allows for the definition of various types of plans
        as a sharable, consumable, and executable artifact. The resource is general
        enough to support the description of a broad range of clinical and non-clinical
        artifacts such as clinical decision support rules, order sets, protocols, and
        drug quality specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        actorId:
          description: A reference to the id element of the actor who will participate
            in this action.
          $ref: '#/components/schemas/string'
        _actorId:
          description: Extensions for actorId
          $ref: '#/components/schemas/Element'
        type:
          description: The type of participant in the action.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        typeCanonical:
          description: The type of participant in the action.
          $ref: '#/components/schemas/canonical'
        typeReference:
          description: The type of participant in the action.
          $ref: '#/components/schemas/Reference'
        role:
          description: The role the participant should play in performing the described
            action.
          $ref: '#/components/schemas/CodeableConcept'
        function:
          description: Indicates how the actor will be involved in the action - author,
            reviewer, witness, etc.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    PlanDefinition_DynamicValue:
      description: This resource allows for the definition of various types of plans
        as a sharable, consumable, and executable artifact. The resource is general
        enough to support the description of a broad range of clinical and non-clinical
        artifacts such as clinical decision support rules, order sets, protocols, and
        drug quality specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        path:
          description: The path to the element to be customized. This is the path on
            the resource that will hold the result of the calculation defined by the
            expression. The specified path SHALL be a FHIRPath resolvable on the specified
            target type of the ActivityDefinition, and SHALL consist only of identifiers,
            constant indexers, and a restricted subset of functions. The path is allowed
            to contain qualifiers (.) to traverse sub-elements, as well as indexers
            ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath
            Profile](fhirpath.html#simple) for full details).
          $ref: '#/components/schemas/string'
        _path:
          description: Extensions for path
          $ref: '#/components/schemas/Element'
        expression:
          description: An expression specifying the value of the customized element.
          $ref: '#/components/schemas/Expression'
      type: object
      additionalProperties: false
    Practitioner:
      description: A person who is directly or indirectly involved in the provisioning
        of healthcare or related services.
      properties:
        resourceType:
          description: This is a Practitioner resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: An identifier that applies to this person in this role.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        active:
          description: Whether this practitioner's record is in active use.
          $ref: '#/components/schemas/boolean'
        _active:
          description: Extensions for active
          $ref: '#/components/schemas/Element'
        name:
          description: The name(s) associated with the practitioner.
          items:
            $ref: '#/components/schemas/HumanName'
          type: array
        telecom:
          description: A contact detail for the practitioner, e.g. a telephone number
            or an email address.
          items:
            $ref: '#/components/schemas/ContactPoint'
          type: array
        gender:
          description: Administrative Gender - the gender that the person is considered
            to have for administration and record keeping purposes.
          $ref: '#/components/schemas/code'
        _gender:
          description: Extensions for gender
          $ref: '#/components/schemas/Element'
        birthDate:
          description: The date of birth for the practitioner.
          $ref: '#/components/schemas/date'
        _birthDate:
          description: Extensions for birthDate
          $ref: '#/components/schemas/Element'
        deceasedBoolean:
          description: Indicates if the practitioner is deceased or not.
          pattern: ^true|false$
          type: boolean
        _deceasedBoolean:
          description: Extensions for deceasedBoolean
          $ref: '#/components/schemas/Element'
        deceasedDateTime:
          description: Indicates if the practitioner is deceased or not.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _deceasedDateTime:
          description: Extensions for deceasedDateTime
          $ref: '#/components/schemas/Element'
        address:
          description: "Address(es) of the practitioner that are not role specific (typically\
            \ home address). \rWork addresses are not typically entered in this property\
            \ as they are usually role dependent."
          items:
            $ref: '#/components/schemas/Address'
          type: array
        photo:
          description: Image of the person.
          items:
            $ref: '#/components/schemas/Attachment'
          type: array
        qualification:
          description: "The official qualifications, certifications, accreditations,\
            \ training, licenses (and other types of educations/skills/capabilities)\
            \ that authorize or otherwise pertain to the provision of care by the practitioner.\r\
            \rFor example, a medical license issued by a medical board of licensure\
            \ authorizing the practitioner to practice medicine within a certain locality."
          items:
            $ref: '#/components/schemas/Practitioner_Qualification'
          type: array
        communication:
          description: "A language which may be used to communicate with the practitioner,\
            \ often for correspondence/administrative purposes.\r\rThe `PractitionerRole.communication`\
            \ property should be used for publishing the languages that a practitioner\
            \ is able to communicate with patients (on a per Organization/Role basis)."
          items:
            $ref: '#/components/schemas/Practitioner_Communication'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    Practitioner_Qualification:
      description: A person who is directly or indirectly involved in the provisioning
        of healthcare or related services.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: An identifier that applies to this person's qualification.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        code:
          description: Coded representation of the qualification.
          $ref: '#/components/schemas/CodeableConcept'
        period:
          description: Period during which the qualification is valid.
          $ref: '#/components/schemas/Period'
        issuer:
          description: Organization that regulates and issues the qualification.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - code
    Practitioner_Communication:
      description: A person who is directly or indirectly involved in the provisioning
        of healthcare or related services.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        language:
          description: The ISO-639-1 alpha 2 code in lower case for the language, optionally
            followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper
            case; e.g. "en" for English, or "en-US" for American English versus "en-AU"
            for Australian English.
          $ref: '#/components/schemas/CodeableConcept'
        preferred:
          description: Indicates whether or not the person prefers this language (over
            other languages he masters up a certain level).
          $ref: '#/components/schemas/boolean'
        _preferred:
          description: Extensions for preferred
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - language
    PractitionerRole:
      description: A specific set of Roles/Locations/specialties/services that a practitioner
        may perform at an organization for a period of time.
      properties:
        resourceType:
          description: This is a PractitionerRole resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business Identifiers that are specific to a role/location.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        active:
          description: ' Whether this practitioner role record is in active use. Some
            systems may use this property to mark non-active practitioners, such as
            those that are not currently employed.'
          $ref: '#/components/schemas/boolean'
        _active:
          description: Extensions for active
          $ref: '#/components/schemas/Element'
        period:
          description: The period during which the person is authorized to act as a
            practitioner in these role(s) for the organization.
          $ref: '#/components/schemas/Period'
        practitioner:
          description: Practitioner that is able to provide the defined services for
            the organization.
          $ref: '#/components/schemas/Reference'
        organization:
          description: The organization where the Practitioner performs the roles associated.
          $ref: '#/components/schemas/Reference'
        code:
          description: Roles which this practitioner is authorized to perform for the
            organization.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        specialty:
          description: The specialty of a practitioner that describes the functional
            role they are practicing at a given organization or location.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        location:
          description: The location(s) at which this practitioner provides care.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        healthcareService:
          description: The list of healthcare services that this worker provides for
            this role's Organization/Location(s).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        contact:
          description: The contact details of communication devices available relevant
            to the specific PractitionerRole. This can include addresses, phone numbers,
            fax numbers, mobile numbers, email addresses and web sites.
          items:
            $ref: '#/components/schemas/ExtendedContactDetail'
          type: array
        characteristic:
          description: Collection of characteristics (attributes).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        communication:
          description: A language the practitioner can use in patient communication.
            The practitioner may know several languages (listed in practitioner.communication),
            however these are the languages that could be advertised in a directory
            for a patient to search.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        availability:
          description: A collection of times the practitioner is available or performing
            this role at the location and/or healthcareservice.
          $ref: '#/components/schemas/Availability'
        endpoint:
          description: ' Technical endpoints providing access to services operated for
            the practitioner with this role. Commonly used for locating scheduling services,
            or identifying where to send referrals electronically.'
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    Procedure:
      description: An action that is or was performed on or for a patient, practitioner,
        device, organization, or location. For example, this can be a physical intervention
        on a patient like an operation, or less invasive like long term services, counseling,
        or hypnotherapy.  This can be a quality or safety inspection for a location,
        organization, or device.  This can be an accreditation procedure on a practitioner
        for licensing.
      properties:
        resourceType:
          description: This is a Procedure resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this procedure by the performer
            or other systems which remain constant as the resource is updated and is
            propagated from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        instantiatesCanonical:
          description: The URL pointing to a FHIR-defined protocol, guideline, order
            set or other definition that is adhered to in whole or in part by this Procedure.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        instantiatesUri:
          description: The URL pointing to an externally maintained protocol, guideline,
            order set or other definition that is adhered to in whole or in part by
            this Procedure.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _instantiatesUri:
          description: Extensions for instantiatesUri
          items:
            $ref: '#/components/schemas/Element'
          type: array
        basedOn:
          description: A reference to a resource that contains details of the request
            for this procedure.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        partOf:
          description: A larger event of which this particular procedure is a component
            or step.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: A code specifying the state of the procedure. Generally, this
            will be the in-progress or completed state.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        statusReason:
          description: Captures the reason for the current state of the procedure.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: A code that classifies the procedure for searching, sorting and
            display purposes (e.g. "Surgical Procedure").
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        code:
          description: The specific procedure that is performed. Use text if the exact
            nature of the procedure cannot be coded (e.g. "Laparoscopic Appendectomy").
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: On whom or on what the procedure was performed. This is usually
            an individual human, but can also be performed on animals, groups of humans
            or animals, organizations or practitioners (for licensing), locations or
            devices (for safety inspections or regulatory authorizations).  If the actual
            focus of the procedure is different from the subject, the focus element
            specifies the actual focus of the procedure.
          $ref: '#/components/schemas/Reference'
        focus:
          description: Who is the target of the procedure when it is not the subject
            of record only.  If focus is not present, then subject is the focus.  If
            focus is present and the subject is one of the targets of the procedure,
            include subject as a focus as well. If focus is present and the subject
            is not included in focus, it implies that the procedure was only targeted
            on the focus. For example, when a caregiver is given education for a patient,
            the caregiver would be the focus and the procedure record is associated
            with the subject (e.g. patient).  For example, use focus when recording
            the target of the education, training, or counseling is the parent or relative
            of a patient.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The Encounter during which this Procedure was created or performed
            or to which the creation of this record is tightly associated.
          $ref: '#/components/schemas/Reference'
        occurrenceDateTime:
          description: Estimated or actual date, date-time, period, or age when the
            procedure did occur or is occurring.  Allows a period to support complex
            procedures that span more than one date, and also allows for the length
            of the procedure to be captured.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _occurrenceDateTime:
          description: Extensions for occurrenceDateTime
          $ref: '#/components/schemas/Element'
        occurrencePeriod:
          description: Estimated or actual date, date-time, period, or age when the
            procedure did occur or is occurring.  Allows a period to support complex
            procedures that span more than one date, and also allows for the length
            of the procedure to be captured.
          $ref: '#/components/schemas/Period'
        occurrenceString:
          description: Estimated or actual date, date-time, period, or age when the
            procedure did occur or is occurring.  Allows a period to support complex
            procedures that span more than one date, and also allows for the length
            of the procedure to be captured.
          pattern: ^^[\s\S]+$$
          type: string
        _occurrenceString:
          description: Extensions for occurrenceString
          $ref: '#/components/schemas/Element'
        occurrenceAge:
          description: Estimated or actual date, date-time, period, or age when the
            procedure did occur or is occurring.  Allows a period to support complex
            procedures that span more than one date, and also allows for the length
            of the procedure to be captured.
          $ref: '#/components/schemas/Age'
        occurrenceRange:
          description: Estimated or actual date, date-time, period, or age when the
            procedure did occur or is occurring.  Allows a period to support complex
            procedures that span more than one date, and also allows for the length
            of the procedure to be captured.
          $ref: '#/components/schemas/Range'
        occurrenceTiming:
          description: Estimated or actual date, date-time, period, or age when the
            procedure did occur or is occurring.  Allows a period to support complex
            procedures that span more than one date, and also allows for the length
            of the procedure to be captured.
          $ref: '#/components/schemas/Timing'
        recorded:
          description: The date the occurrence of the procedure was first captured in
            the record regardless of Procedure.status (potentially after the occurrence
            of the event).
          $ref: '#/components/schemas/dateTime'
        _recorded:
          description: Extensions for recorded
          $ref: '#/components/schemas/Element'
        recorder:
          description: Individual who recorded the record and takes responsibility for
            its content.
          $ref: '#/components/schemas/Reference'
        reportedBoolean:
          description: Indicates if this record was captured as a secondary 'reported'
            record rather than as an original primary source-of-truth record.  It may
            also indicate the source of the report.
          pattern: ^true|false$
          type: boolean
        _reportedBoolean:
          description: Extensions for reportedBoolean
          $ref: '#/components/schemas/Element'
        reportedReference:
          description: Indicates if this record was captured as a secondary 'reported'
            record rather than as an original primary source-of-truth record.  It may
            also indicate the source of the report.
          $ref: '#/components/schemas/Reference'
        performer:
          description: Indicates who or what performed the procedure and how they were
            involved.
          items:
            $ref: '#/components/schemas/Procedure_Performer'
          type: array
        location:
          description: The location where the procedure actually happened.  E.g. a newborn
            at home, a tracheostomy at a restaurant.
          $ref: '#/components/schemas/Reference'
        reason:
          description: The coded reason or reference why the procedure was performed.
            This may be a coded entity of some type, be present as text, or be a reference
            to one of several resources that justify the procedure.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        bodySite:
          description: Detailed and structured anatomical location information. Multiple
            locations are allowed - e.g. multiple punch biopsies of a lesion.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        outcome:
          description: The outcome of the procedure - did it resolve the reasons for
            the procedure being performed?
          $ref: '#/components/schemas/CodeableConcept'
        report:
          description: This could be a histology result, pathology report, surgical
            report, etc.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        complication:
          description: Any complications that occurred during the procedure, or in the
            immediate post-performance period. These are generally tracked separately
            from the notes, which will typically describe the procedure itself rather
            than any 'post procedure' issues.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        followUp:
          description: If the procedure required specific follow up - e.g. removal of
            sutures. The follow up may be represented as a simple note or could potentially
            be more complex, in which case the CarePlan resource can be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        note:
          description: Any other notes and comments about the procedure.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        focalDevice:
          description: A device that is implanted, removed or otherwise manipulated
            (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac,
            etc.) as a focal portion of the Procedure.
          items:
            $ref: '#/components/schemas/Procedure_FocalDevice'
          type: array
        used:
          description: Identifies medications, devices and any other substance used
            as part of the procedure.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        supportingInfo:
          description: Other resources from the patient record that may be relevant
            to the procedure.  The information from these resources was either used
            to create the instance or is provided to help with its interpretation. This
            extension should not be used if more specific inline elements or extensions
            are available.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - resourceType
      - id
      - meta
      - status
      - code
    Procedure_Performer:
      description: An action that is or was performed on or for a patient, practitioner,
        device, organization, or location. For example, this can be a physical intervention
        on a patient like an operation, or less invasive like long term services, counseling,
        or hypnotherapy.  This can be a quality or safety inspection for a location,
        organization, or device.  This can be an accreditation procedure on a practitioner
        for licensing.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        function:
          description: Distinguishes the type of involvement of the performer in the
            procedure. For example, surgeon, anaesthetist, endoscopist.
          $ref: '#/components/schemas/CodeableConcept'
        actor:
          description: Indicates who or what performed the procedure.
          $ref: '#/components/schemas/Reference'
        onBehalfOf:
          description: The Organization the Patient, RelatedPerson, Device, CareTeam,
            and HealthcareService was acting on behalf of.
          $ref: '#/components/schemas/Reference'
        period:
          description: Time period during which the performer performed the procedure.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - actor
    Procedure_FocalDevice:
      description: An action that is or was performed on or for a patient, practitioner,
        device, organization, or location. For example, this can be a physical intervention
        on a patient like an operation, or less invasive like long term services, counseling,
        or hypnotherapy.  This can be a quality or safety inspection for a location,
        organization, or device.  This can be an accreditation procedure on a practitioner
        for licensing.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        action:
          description: The kind of change that happened to the device during the procedure.
          $ref: '#/components/schemas/CodeableConcept'
        manipulated:
          description: The device that was manipulated (changed) during the procedure.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - manipulated
    Provenance:
      description: Provenance of a resource is a record that describes entities and
        processes involved in producing and delivering or otherwise influencing that
        resource. Provenance provides a critical foundation for assessing authenticity,
        enabling trust, and allowing reproducibility. Provenance assertions are a form
        of contextual metadata and can themselves become important records with their
        own provenance. Provenance statement indicates clinical significance in terms
        of confidence in authenticity, reliability, and trustworthiness, integrity,
        and stage in lifecycle (e.g. Document Completion - has the artifact been legally
        authenticated), all of which may impact security, privacy, and trust policies.
      properties:
        resourceType:
          description: This is a Provenance resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        target:
          description: The Reference(s) that were generated or updated by  the activity
            described in this resource. A provenance can point to more than one target
            if multiple resources were created/updated by the same activity.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        occurredPeriod:
          description: The period during which the activity occurred.
          $ref: '#/components/schemas/Period'
        occurredDateTime:
          description: The period during which the activity occurred.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _occurredDateTime:
          description: Extensions for occurredDateTime
          $ref: '#/components/schemas/Element'
        recorded:
          description: The instant of time at which the activity was recorded.
          $ref: '#/components/schemas/instant'
        _recorded:
          description: Extensions for recorded
          $ref: '#/components/schemas/Element'
        policy:
          description: Policy or plan the activity was defined by. Typically, a single
            activity may have multiple applicable policy documents, such as patient
            consent, guarantor funding, etc.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _policy:
          description: Extensions for policy
          items:
            $ref: '#/components/schemas/Element'
          type: array
        location:
          description: Where the activity occurred, if relevant.
          $ref: '#/components/schemas/Reference'
        authorization:
          description: The authorization (e.g., PurposeOfUse) that was used during the
            event being recorded.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        activity:
          description: An activity is something that occurs over a period of time and
            acts upon or with entities; it may include consuming, processing, transforming,
            modifying, relocating, using, or generating entities.
          $ref: '#/components/schemas/CodeableConcept'
        basedOn:
          description: Allows tracing of authorizatino for the events and tracking whether
            proposals/recommendations were acted upon.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        patient:
          description: The patient element is available to enable deterministic tracking
            of activities that involve the patient as the subject of the data used in
            an activity.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: This will typically be the encounter the event occurred, but
            some events may be initiated prior to or after the official completion of
            an encounter but still be tied to the context of the encounter (e.g. pre-admission
            lab tests).
          $ref: '#/components/schemas/Reference'
        agent:
          description: An actor taking a role in an activity  for which it can be assigned
            some degree of responsibility for the activity taking place.
          items:
            $ref: '#/components/schemas/Provenance_Agent'
          type: array
        entity:
          description: An entity used in this activity.
          items:
            $ref: '#/components/schemas/Provenance_Entity'
          type: array
        signature:
          description: A digital signature on the target Reference(s). The signer should
            match a Provenance.agent. The purpose of the signature is indicated.
          items:
            $ref: '#/components/schemas/Signature'
          type: array
      type: object
      additionalProperties: false
      required:
      - agent
      - resourceType
      - target
    Provenance_Agent:
      description: Provenance of a resource is a record that describes entities and
        processes involved in producing and delivering or otherwise influencing that
        resource. Provenance provides a critical foundation for assessing authenticity,
        enabling trust, and allowing reproducibility. Provenance assertions are a form
        of contextual metadata and can themselves become important records with their
        own provenance. Provenance statement indicates clinical significance in terms
        of confidence in authenticity, reliability, and trustworthiness, integrity,
        and stage in lifecycle (e.g. Document Completion - has the artifact been legally
        authenticated), all of which may impact security, privacy, and trust policies.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The Functional Role of the agent with respect to the activity.
          $ref: '#/components/schemas/CodeableConcept'
        role:
          description: The structural roles of the agent indicating the agent's competency.
            The security role enabling the agent with respect to the activity.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        who:
          description: Indicates who or what performed in the event.
          $ref: '#/components/schemas/Reference'
        onBehalfOf:
          description: The agent that delegated authority to perform the activity performed
            by the agent.who element.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - who
    Provenance_Entity:
      description: Provenance of a resource is a record that describes entities and
        processes involved in producing and delivering or otherwise influencing that
        resource. Provenance provides a critical foundation for assessing authenticity,
        enabling trust, and allowing reproducibility. Provenance assertions are a form
        of contextual metadata and can themselves become important records with their
        own provenance. Provenance statement indicates clinical significance in terms
        of confidence in authenticity, reliability, and trustworthiness, integrity,
        and stage in lifecycle (e.g. Document Completion - has the artifact been legally
        authenticated), all of which may impact security, privacy, and trust policies.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        role:
          description: How the entity was used during the activity.
          $ref: '#/components/schemas/code'
        _role:
          description: Extensions for role
          $ref: '#/components/schemas/Element'
        what:
          description: Identity of the  Entity used. May be a logical or physical uri
            and maybe absolute or relative.
          $ref: '#/components/schemas/Reference'
        agent:
          description: The entity is attributed to an agent to express the agent's responsibility
            for that entity, possibly along with other agents. This description can
            be understood as shorthand for saying that the agent was responsible for
            the activity which used the entity.
          items:
            $ref: '#/components/schemas/Provenance_Agent'
          type: array
      type: object
      additionalProperties: false
      required:
      - what
    Questionnaire:
      description: A structured set of questions intended to guide the collection of
        answers from end-users. Questionnaires provide detailed control over order,
        presentation, phraseology and grouping to allow coherent, consistent data collection.
      properties:
        resourceType:
          description: This is a Questionnaire resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this questionnaire when
            it is referenced in a specification, model, design or an instance; also
            called its canonical identifier. This SHOULD be globally unique and SHOULD
            be a literal address at which an authoritative instance of this questionnaire
            is (or will be) published. This URL can be the target of a canonical reference.
            It SHALL remain the same when the questionnaire is stored on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this questionnaire
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the questionnaire
            when it is referenced in a specification, model, design or instance. This
            is an arbitrary value managed by the questionnaire author and is not expected
            to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd)
            if a managed version is not available. There is also no expectation that
            versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the questionnaire. This name
            should be usable as an identifier for the module by machine processing applications
            such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the questionnaire.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The current state of this questionnaire.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this questionnaire is authored
            for testing purposes (or education/evaluation/marketing) and is not intended
            for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the questionnaire was last
            significantly changed. The date must change when the business version changes
            and it must change if the status code changes. In addition, it should change
            when the substantive content of the questionnaire changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the questionnaire.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the questionnaire
            from a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            questionnaires.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the questionnaire is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this questionnaire is needed and why it has
            been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the questionnaire and/or its
            contents. Copyright statements are generally legal restrictions on the use
            and publishing of the questionnaire.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the questionnaire content was or is planned
            to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptive topics related to the content of the {{title}}. Topics
            provide a high-level categorization as well as keywords for the {{title}}
            that can be useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual or organization primarily involved in the creation
            and maintenance of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individual or organization primarily responsible for internal
            coherence of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individual or organization asserted by the publisher to be
            primarily responsible for review of some aspect of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individual or organization asserted by the publisher to be
            responsible for officially endorsing the {{title}} for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Related artifacts such as additional documentation, justification,
            dependencies, bibliographic references, and predecessor and successor artifacts.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        derivedFrom:
          description: The URL of a Questionnaire that this Questionnaire is based on.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        subjectType:
          description: The types of subjects that can be the subject of responses created
            for the questionnaire.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _subjectType:
          description: Extensions for subjectType
          items:
            $ref: '#/components/schemas/Element'
          type: array
        code:
          description: An identifier for this collection of questions in a particular
            terminology such as LOINC.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        item:
          description: A particular question, question grouping or display text that
            is part of the questionnaire.
          items:
            $ref: '#/components/schemas/Questionnaire_Item'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    Questionnaire_Item:
      description: A structured set of questions intended to guide the collection of
        answers from end-users. Questionnaires provide detailed control over order,
        presentation, phraseology and grouping to allow coherent, consistent data collection.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkId:
          description: An identifier that is unique within the Questionnaire allowing
            linkage to the equivalent item in a QuestionnaireResponse resource.
          $ref: '#/components/schemas/string'
        _linkId:
          description: Extensions for linkId
          $ref: '#/components/schemas/Element'
        definition:
          description: This element is a URI that refers to an [ElementDefinition](elementdefinition.html)
            or to an [ObservationDefinition](observationdefinition.html) that provides
            information about this item, including information that might otherwise
            be included in the instance of the Questionnaire resource. A detailed description
            of the construction of the URI is shown in [Comments](questionnaire.html#definition),
            below.
          $ref: '#/components/schemas/uri'
        _definition:
          description: Extensions for definition
          $ref: '#/components/schemas/Element'
        code:
          description: A terminology code that corresponds to this group or question
            (e.g. a code from LOINC, which defines many questions and answers).
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        prefix:
          description: A short label for a particular group, question or set of display
            text within the questionnaire used for reference by the individual completing
            the questionnaire.
          $ref: '#/components/schemas/string'
        _prefix:
          description: Extensions for prefix
          $ref: '#/components/schemas/Element'
        text:
          description: The name of a section, the text of a question or text content
            for a display item.
          $ref: '#/components/schemas/string'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
        type:
          description: The type of questionnaire item this is - whether text for display,
            a grouping of other items or a particular type of data to be captured (string,
            integer, Coding, etc.).
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        enableWhen:
          description: A constraint indicating that this item should only be enabled
            (displayed/allow answers to be captured) when the specified condition is
            true.
          items:
            $ref: '#/components/schemas/Questionnaire_EnableWhen'
          type: array
        enableBehavior:
          description: Controls how multiple enableWhen values are interpreted -  whether
            all or any must be true.
          $ref: '#/components/schemas/code'
        _enableBehavior:
          description: Extensions for enableBehavior
          $ref: '#/components/schemas/Element'
        disabledDisplay:
          description: Indicates if and how items that are disabled (because enableWhen
            evaluates to 'false') should be displayed.
          $ref: '#/components/schemas/code'
        _disabledDisplay:
          description: Extensions for disabledDisplay
          $ref: '#/components/schemas/Element'
        required:
          description: An indication, if true, that the item must be present in a "completed"
            QuestionnaireResponse.  If false, the item may be skipped when answering
            the questionnaire.
          $ref: '#/components/schemas/boolean'
        _required:
          description: Extensions for required
          $ref: '#/components/schemas/Element'
        repeats:
          description: An indication, if true, that a QuestionnaireResponse for this
            item may include multiple answers associated with a single instance of this
            item (for question-type items) or multiple repetitions of the item (for
            group-type items).
          $ref: '#/components/schemas/boolean'
        _repeats:
          description: Extensions for repeats
          $ref: '#/components/schemas/Element'
        readOnly:
          description: An indication, when true, that the value cannot be changed by
            a human respondent to the Questionnaire.
          $ref: '#/components/schemas/boolean'
        _readOnly:
          description: Extensions for readOnly
          $ref: '#/components/schemas/Element'
        maxLength:
          description: The maximum number of characters that are permitted in the answer
            to be considered a "valid" QuestionnaireResponse.
          $ref: '#/components/schemas/integer'
        _maxLength:
          description: Extensions for maxLength
          $ref: '#/components/schemas/Element'
        answerConstraint:
          description: For items that have a defined set of allowed answers (via answerOption
            or answerValueSet), indicates whether values *other* than those specified
            can be selected.
          $ref: '#/components/schemas/code'
        _answerConstraint:
          description: Extensions for answerConstraint
          $ref: '#/components/schemas/Element'
        answerValueSet:
          description: A reference to a value set containing a list of values representing
            permitted answers for a question.
          $ref: '#/components/schemas/canonical'
        answerOption:
          description: One of the permitted answers for the question.
          items:
            $ref: '#/components/schemas/Questionnaire_AnswerOption'
          type: array
        initial:
          description: One or more values that should be pre-populated in the answer
            when initially rendering the questionnaire for user input.
          items:
            $ref: '#/components/schemas/Questionnaire_Initial'
          type: array
        item:
          description: Text, questions and other groups to be nested beneath a question
            or group.
          items:
            $ref: '#/components/schemas/Questionnaire_Item'
          type: array
      type: object
      additionalProperties: false
    Questionnaire_EnableWhen:
      description: A structured set of questions intended to guide the collection of
        answers from end-users. Questionnaires provide detailed control over order,
        presentation, phraseology and grouping to allow coherent, consistent data collection.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        question:
          description: The linkId for the question whose answer (or lack of answer)
            governs whether this item is enabled.
          $ref: '#/components/schemas/string'
        _question:
          description: Extensions for question
          $ref: '#/components/schemas/Element'
        operator:
          description: Specifies the criteria by which the question is enabled.
          $ref: '#/components/schemas/code'
        _operator:
          description: Extensions for operator
          $ref: '#/components/schemas/Element'
        answerBoolean:
          description: A value that the referenced question is tested using the specified
            operator in order for the item to be enabled.  If there are multiple answers,
            a match on any of the answers suffices.  If different behavior is desired
            (all must match, at least 2 must match, etc.), consider using the enableWhenExpression
            extension.
          pattern: ^true|false$
          type: boolean
        _answerBoolean:
          description: Extensions for answerBoolean
          $ref: '#/components/schemas/Element'
        answerDecimal:
          description: A value that the referenced question is tested using the specified
            operator in order for the item to be enabled.  If there are multiple answers,
            a match on any of the answers suffices.  If different behavior is desired
            (all must match, at least 2 must match, etc.), consider using the enableWhenExpression
            extension.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _answerDecimal:
          description: Extensions for answerDecimal
          $ref: '#/components/schemas/Element'
        answerInteger:
          description: A value that the referenced question is tested using the specified
            operator in order for the item to be enabled.  If there are multiple answers,
            a match on any of the answers suffices.  If different behavior is desired
            (all must match, at least 2 must match, etc.), consider using the enableWhenExpression
            extension.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _answerInteger:
          description: Extensions for answerInteger
          $ref: '#/components/schemas/Element'
        answerDate:
          description: A value that the referenced question is tested using the specified
            operator in order for the item to be enabled.  If there are multiple answers,
            a match on any of the answers suffices.  If different behavior is desired
            (all must match, at least 2 must match, etc.), consider using the enableWhenExpression
            extension.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _answerDate:
          description: Extensions for answerDate
          $ref: '#/components/schemas/Element'
        answerDateTime:
          description: A value that the referenced question is tested using the specified
            operator in order for the item to be enabled.  If there are multiple answers,
            a match on any of the answers suffices.  If different behavior is desired
            (all must match, at least 2 must match, etc.), consider using the enableWhenExpression
            extension.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _answerDateTime:
          description: Extensions for answerDateTime
          $ref: '#/components/schemas/Element'
        answerTime:
          description: A value that the referenced question is tested using the specified
            operator in order for the item to be enabled.  If there are multiple answers,
            a match on any of the answers suffices.  If different behavior is desired
            (all must match, at least 2 must match, etc.), consider using the enableWhenExpression
            extension.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _answerTime:
          description: Extensions for answerTime
          $ref: '#/components/schemas/Element'
        answerString:
          description: A value that the referenced question is tested using the specified
            operator in order for the item to be enabled.  If there are multiple answers,
            a match on any of the answers suffices.  If different behavior is desired
            (all must match, at least 2 must match, etc.), consider using the enableWhenExpression
            extension.
          pattern: ^^[\s\S]+$$
          type: string
        _answerString:
          description: Extensions for answerString
          $ref: '#/components/schemas/Element'
        answerCoding:
          description: A value that the referenced question is tested using the specified
            operator in order for the item to be enabled.  If there are multiple answers,
            a match on any of the answers suffices.  If different behavior is desired
            (all must match, at least 2 must match, etc.), consider using the enableWhenExpression
            extension.
          $ref: '#/components/schemas/Coding'
        answerQuantity:
          description: A value that the referenced question is tested using the specified
            operator in order for the item to be enabled.  If there are multiple answers,
            a match on any of the answers suffices.  If different behavior is desired
            (all must match, at least 2 must match, etc.), consider using the enableWhenExpression
            extension.
          $ref: '#/components/schemas/Quantity'
        answerReference:
          description: A value that the referenced question is tested using the specified
            operator in order for the item to be enabled.  If there are multiple answers,
            a match on any of the answers suffices.  If different behavior is desired
            (all must match, at least 2 must match, etc.), consider using the enableWhenExpression
            extension.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    Questionnaire_AnswerOption:
      description: A structured set of questions intended to guide the collection of
        answers from end-users. Questionnaires provide detailed control over order,
        presentation, phraseology and grouping to allow coherent, consistent data collection.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        valueInteger:
          description: A potential answer that's allowed as the answer to this question.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueDate:
          description: A potential answer that's allowed as the answer to this question.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueTime:
          description: A potential answer that's allowed as the answer to this question.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _valueTime:
          description: Extensions for valueTime
          $ref: '#/components/schemas/Element'
        valueString:
          description: A potential answer that's allowed as the answer to this question.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueCoding:
          description: A potential answer that's allowed as the answer to this question.
          $ref: '#/components/schemas/Coding'
        valueReference:
          description: A potential answer that's allowed as the answer to this question.
          $ref: '#/components/schemas/Reference'
        initialSelected:
          description: Indicates whether the answer value is selected when the list
            of possible answers is initially shown.
          $ref: '#/components/schemas/boolean'
        _initialSelected:
          description: Extensions for initialSelected
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Questionnaire_Initial:
      description: A structured set of questions intended to guide the collection of
        answers from end-users. Questionnaires provide detailed control over order,
        presentation, phraseology and grouping to allow coherent, consistent data collection.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        valueBoolean:
          description: The actual value to for an initial answer.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: The actual value to for an initial answer.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The actual value to for an initial answer.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueDate:
          description: The actual value to for an initial answer.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The actual value to for an initial answer.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valueTime:
          description: The actual value to for an initial answer.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _valueTime:
          description: Extensions for valueTime
          $ref: '#/components/schemas/Element'
        valueString:
          description: The actual value to for an initial answer.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueUri:
          description: The actual value to for an initial answer.
          pattern: ^\S*$
          type: string
        _valueUri:
          description: Extensions for valueUri
          $ref: '#/components/schemas/Element'
        valueAttachment:
          description: The actual value to for an initial answer.
          $ref: '#/components/schemas/Attachment'
        valueCoding:
          description: The actual value to for an initial answer.
          $ref: '#/components/schemas/Coding'
        valueQuantity:
          description: The actual value to for an initial answer.
          $ref: '#/components/schemas/Quantity'
        valueReference:
          description: The actual value to for an initial answer.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    QuestionnaireResponse:
      description: A structured set of questions and their answers. The questions are
        ordered and grouped into coherent subsets, corresponding to the structure of
        the grouping of the questionnaire being responded to.
      properties:
        resourceType:
          description: This is a QuestionnaireResponse resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this questionnaire response
            by the performer and/or other systems.  These identifiers remain constant
            as the resource is updated and propagates from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        basedOn:
          description: A plan, proposal or order that is fulfilled in whole or in part
            by this questionnaire response.  For example, a ServiceRequest seeking an
            intake assessment or a decision support recommendation to assess for post-partum
            depression.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        partOf:
          description: A procedure or observation that this questionnaire was performed
            as part of the execution of.  For example, the surgery a checklist was executed
            as part of.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        questionnaire:
          description: The Questionnaire that defines and organizes the questions for
            which answers are being provided.
          $ref: '#/components/schemas/canonical'
        status:
          description: The current state of the questionnaire response.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        subject:
          description: The subject of the questionnaire response.  This could be a patient,
            organization, practitioner, device, etc.  This is who/what the answers apply
            to, but is not necessarily the source of information.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The Encounter during which this questionnaire response was created
            or to which the creation of this record is tightly associated.
          $ref: '#/components/schemas/Reference'
        authored:
          description: The date and/or time that this questionnaire response was last
            modified by the user - e.g. changing answers or revising status.
          $ref: '#/components/schemas/dateTime'
        _authored:
          description: Extensions for authored
          $ref: '#/components/schemas/Element'
        author:
          description: The individual or device that received the answers to the questions
            in the QuestionnaireResponse and recorded them in the system.
          $ref: '#/components/schemas/Reference'
        source:
          description: The individual or device that answered the questions about the
            subject.
          $ref: '#/components/schemas/Reference'
        item:
          description: A group or question item from the original questionnaire for
            which answers are provided.
          items:
            $ref: '#/components/schemas/QuestionnaireResponse_Item'
          type: array
      type: object
      additionalProperties: false
      required:
      - questionnaire
      - resourceType
    QuestionnaireResponse_Item:
      description: A structured set of questions and their answers. The questions are
        ordered and grouped into coherent subsets, corresponding to the structure of
        the grouping of the questionnaire being responded to.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkId:
          description: The item from the Questionnaire that corresponds to this item
            in the QuestionnaireResponse resource.
          $ref: '#/components/schemas/string'
        _linkId:
          description: Extensions for linkId
          $ref: '#/components/schemas/Element'
        definition:
          description: A reference to an [ElementDefinition](elementdefinition.html)
            that provides the details for the item.
          $ref: '#/components/schemas/uri'
        _definition:
          description: Extensions for definition
          $ref: '#/components/schemas/Element'
        text:
          description: Text that is displayed above the contents of the group or as
            the text of the question being answered.
          $ref: '#/components/schemas/string'
        _text:
          description: Extensions for text
          $ref: '#/components/schemas/Element'
        answer:
          description: The respondent's answer(s) to the question.
          items:
            $ref: '#/components/schemas/QuestionnaireResponse_Answer'
          type: array
        item:
          description: Sub-questions, sub-groups or display items nested beneath a group.
          items:
            $ref: '#/components/schemas/QuestionnaireResponse_Item'
          type: array
      type: object
      additionalProperties: false
    QuestionnaireResponse_Answer:
      description: A structured set of questions and their answers. The questions are
        ordered and grouped into coherent subsets, corresponding to the structure of
        the grouping of the questionnaire being responded to.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        valueBoolean:
          description: The answer (or one of the answers) provided by the respondent
            to the question.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: The answer (or one of the answers) provided by the respondent
            to the question.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The answer (or one of the answers) provided by the respondent
            to the question.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueDate:
          description: The answer (or one of the answers) provided by the respondent
            to the question.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The answer (or one of the answers) provided by the respondent
            to the question.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valueTime:
          description: The answer (or one of the answers) provided by the respondent
            to the question.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _valueTime:
          description: Extensions for valueTime
          $ref: '#/components/schemas/Element'
        valueString:
          description: The answer (or one of the answers) provided by the respondent
            to the question.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueUri:
          description: The answer (or one of the answers) provided by the respondent
            to the question.
          pattern: ^\S*$
          type: string
        _valueUri:
          description: Extensions for valueUri
          $ref: '#/components/schemas/Element'
        valueAttachment:
          description: The answer (or one of the answers) provided by the respondent
            to the question.
          $ref: '#/components/schemas/Attachment'
        valueCoding:
          description: The answer (or one of the answers) provided by the respondent
            to the question.
          $ref: '#/components/schemas/Coding'
        valueQuantity:
          description: The answer (or one of the answers) provided by the respondent
            to the question.
          $ref: '#/components/schemas/Quantity'
        valueReference:
          description: The answer (or one of the answers) provided by the respondent
            to the question.
          $ref: '#/components/schemas/Reference'
        item:
          description: Nested groups and/or questions found within this particular answer.
          items:
            $ref: '#/components/schemas/QuestionnaireResponse_Item'
          type: array
      type: object
      additionalProperties: false
    RegulatedAuthorization:
      description: Regulatory approval, clearance or licencing related to a regulated
        product, treatment, facility or activity that is cited in a guidance, regulation,
        rule or legislative act. An example is Market Authorization relating to a Medicinal
        Product.
      properties:
        resourceType:
          description: This is a RegulatedAuthorization resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifier for the authorization, typically assigned
            by the authorizing body.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        subject:
          description: The product type, treatment, facility or activity that is being
            authorized.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        type:
          description: Overall type of this authorization, for example drug marketing
            approval, orphan drug designation.
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: General textual supporting information.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        region:
          description: The territory (e.g., country, jurisdiction etc.) in which the
            authorization has been granted.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        status:
          description: The status that is authorised e.g. approved. Intermediate states
            and actions can be tracked with cases and applications.
          $ref: '#/components/schemas/CodeableConcept'
        statusDate:
          description: The date at which the current status was assigned.
          $ref: '#/components/schemas/dateTime'
        _statusDate:
          description: Extensions for statusDate
          $ref: '#/components/schemas/Element'
        validityPeriod:
          description: The time period in which the regulatory approval, clearance or
            licencing is in effect. As an example, a Marketing Authorization includes
            the date of authorization and/or an expiration date.
          $ref: '#/components/schemas/Period'
        indication:
          description: Condition for which the use of the regulated product applies.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        intendedUse:
          description: The intended use of the product, e.g. prevention, treatment,
            diagnosis.
          $ref: '#/components/schemas/CodeableConcept'
        basis:
          description: The legal or regulatory framework against which this authorization
            is granted, or other reasons for it.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        holder:
          description: The organization that has been granted this authorization, by
            some authoritative body (the 'regulator').
          $ref: '#/components/schemas/Reference'
        regulator:
          description: The regulatory authority or authorizing body granting the authorization.
            For example, European Medicines Agency (EMA), Food and Drug Administration
            (FDA), Health Canada (HC), etc.
          $ref: '#/components/schemas/Reference'
        attachedDocument:
          description: Additional information or supporting documentation about the
            authorization.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        case:
          description: 'The case or regulatory procedure for granting or amending a
            regulated authorization. An authorization is granted in response to submissions/applications
            by those seeking authorization. A case is the administrative process that
            deals with the application(s) that relate to this and assesses them. Note:
            This area is subject to ongoing review and the workgroup is seeking implementer
            feedback on its use (see link at bottom of page).'
          $ref: '#/components/schemas/RegulatedAuthorization_Case'
      type: object
      additionalProperties: false
      required:
      - resourceType
    RegulatedAuthorization_Case:
      description: Regulatory approval, clearance or licencing related to a regulated
        product, treatment, facility or activity that is cited in a guidance, regulation,
        rule or legislative act. An example is Market Authorization relating to a Medicinal
        Product.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifier by which this case can be referenced.
          $ref: '#/components/schemas/Identifier'
        type:
          description: The defining type of case.
          $ref: '#/components/schemas/CodeableConcept'
        status:
          description: The status associated with the case.
          $ref: '#/components/schemas/CodeableConcept'
        datePeriod:
          description: Relevant date for this case.
          $ref: '#/components/schemas/Period'
        dateDateTime:
          description: Relevant date for this case.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _dateDateTime:
          description: Extensions for dateDateTime
          $ref: '#/components/schemas/Element'
        application:
          description: A regulatory submission from an organization to a regulator,
            as part of an assessing case. Multiple applications may occur over time,
            with more or different information to support or modify the submission or
            the authorization. The applications can be considered as steps within the
            longer running case or procedure for this authorization process.
          items:
            $ref: '#/components/schemas/RegulatedAuthorization_Case'
          type: array
      type: object
      additionalProperties: false
    RelatedPerson:
      description: Information about a person that is involved in a patient's health
        or the care for a patient, but who is not the target of healthcare, nor has
        a formal responsibility in the care process.
      properties:
        resourceType:
          description: This is a RelatedPerson resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifier for a person within a particular scope.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        active:
          description: Whether this related person record is in active use.
          $ref: '#/components/schemas/boolean'
        _active:
          description: Extensions for active
          $ref: '#/components/schemas/Element'
        patient:
          description: The patient this person is related to.
          $ref: '#/components/schemas/Reference'
        relationship:
          description: The nature of the relationship between the related person and
            the patient.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        name:
          description: A name associated with the person.
          items:
            $ref: '#/components/schemas/HumanName'
          type: array
        telecom:
          description: A contact detail for the person, e.g. a telephone number or an
            email address.
          items:
            $ref: '#/components/schemas/ContactPoint'
          type: array
        gender:
          description: Administrative Gender - the gender that the person is considered
            to have for administration and record keeping purposes.
          $ref: '#/components/schemas/code'
        _gender:
          description: Extensions for gender
          $ref: '#/components/schemas/Element'
        birthDate:
          description: The date on which the related person was born.
          $ref: '#/components/schemas/date'
        _birthDate:
          description: Extensions for birthDate
          $ref: '#/components/schemas/Element'
        address:
          description: Address where the related person can be contacted or visited.
          items:
            $ref: '#/components/schemas/Address'
          type: array
        photo:
          description: Image of the person.
          items:
            $ref: '#/components/schemas/Attachment'
          type: array
        period:
          description: The period of time during which this relationship is or was active.
            If there are no dates defined, then the interval is unknown.
          $ref: '#/components/schemas/Period'
        communication:
          description: A language which may be used to communicate with the related
            person about the patient's health.
          items:
            $ref: '#/components/schemas/RelatedPerson_Communication'
          type: array
      type: object
      additionalProperties: false
      required:
      - patient
      - resourceType
    RelatedPerson_Communication:
      description: Information about a person that is involved in a patient's health
        or the care for a patient, but who is not the target of healthcare, nor has
        a formal responsibility in the care process.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        language:
          description: The ISO-639-1 alpha 2 code in lower case for the language, optionally
            followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper
            case; e.g. "en" for English, or "en-US" for American English versus "en-AU"
            for Australian English.
          $ref: '#/components/schemas/CodeableConcept'
        preferred:
          description: Indicates whether or not the related person prefers this language
            (over other languages he or she masters up a certain level).
          $ref: '#/components/schemas/boolean'
        _preferred:
          description: Extensions for preferred
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - language
    RequestOrchestration:
      description: A set of related requests that can be used to capture intended activities
        that have inter-dependencies such as "give this medication after that one".
      properties:
        resourceType:
          description: This is a RequestOrchestration resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Allows a service to provide a unique, business identifier for
            the request.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        instantiatesCanonical:
          description: A canonical URL referencing a FHIR-defined protocol, guideline,
            orderset or other definition that is adhered to in whole or in part by this
            request.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        _instantiatesCanonical:
          description: Extensions for instantiatesCanonical
          items:
            $ref: '#/components/schemas/Element'
          type: array
        instantiatesUri:
          description: A URL referencing an externally defined protocol, guideline,
            orderset or other definition that is adhered to in whole or in part by this
            request.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _instantiatesUri:
          description: Extensions for instantiatesUri
          items:
            $ref: '#/components/schemas/Element'
          type: array
        basedOn:
          description: A plan, proposal or order that is fulfilled in whole or in part
            by this request.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        replaces:
          description: Completed or terminated request(s) whose function is taken by
            this new request.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        groupIdentifier:
          description: A shared identifier common to multiple independent Request instances
            that were activated/authorized more or less simultaneously by a single author.  The
            presence of the same identifier on each request ties those requests together
            and may have business ramifications in terms of reporting of results, billing,
            etc.  E.g. a requisition number shared by a set of lab tests ordered together,
            or a prescription number shared by all meds ordered at one time.
          $ref: '#/components/schemas/Identifier'
        status:
          description: The current state of the request. For request orchestrations,
            the status reflects the status of all the requests in the orchestration.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        intent:
          description: Indicates the level of authority/intentionality associated with
            the request and where the request fits into the workflow chain.
          $ref: '#/components/schemas/code'
        _intent:
          description: Extensions for intent
          $ref: '#/components/schemas/Element'
        priority:
          description: Indicates how quickly the request should be addressed with respect
            to other requests.
          $ref: '#/components/schemas/code'
        _priority:
          description: Extensions for priority
          $ref: '#/components/schemas/Element'
        code:
          description: A code that identifies what the overall request orchestration
            is.
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: The subject for which the request orchestration was created.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: Describes the context of the request orchestration, if any.
          $ref: '#/components/schemas/Reference'
        authoredOn:
          description: Indicates when the request orchestration was created.
          $ref: '#/components/schemas/dateTime'
        _authoredOn:
          description: Extensions for authoredOn
          $ref: '#/components/schemas/Element'
        author:
          description: Provides a reference to the author of the request orchestration.
          $ref: '#/components/schemas/Reference'
        reason:
          description: Describes the reason for the request orchestration in coded or
            textual form.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        goal:
          description: Goals that are intended to be achieved by following the requests
            in this RequestOrchestration.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        note:
          description: Provides a mechanism to communicate additional information about
            the response.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        action:
          description: The actions, if any, produced by the evaluation of the artifact.
          items:
            $ref: '#/components/schemas/RequestOrchestration_Action'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    RequestOrchestration_Action:
      description: A set of related requests that can be used to capture intended activities
        that have inter-dependencies such as "give this medication after that one".
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkId:
          description: The linkId of the action from the PlanDefinition that corresponds
            to this action in the RequestOrchestration resource.
          $ref: '#/components/schemas/string'
        _linkId:
          description: Extensions for linkId
          $ref: '#/components/schemas/Element'
        prefix:
          description: A user-visible prefix for the action. For example a section or
            item numbering such as 1. or A.
          $ref: '#/components/schemas/string'
        _prefix:
          description: Extensions for prefix
          $ref: '#/components/schemas/Element'
        title:
          description: The title of the action displayed to a user.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        description:
          description: A short description of the action used to provide a summary to
            display to the user.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        textEquivalent:
          description: A text equivalent of the action to be performed. This provides
            a human-interpretable description of the action when the definition is consumed
            by a system that might not be capable of interpreting it dynamically.
          $ref: '#/components/schemas/markdown'
        _textEquivalent:
          description: Extensions for textEquivalent
          $ref: '#/components/schemas/Element'
        priority:
          description: Indicates how quickly the action should be addressed with respect
            to other actions.
          $ref: '#/components/schemas/code'
        _priority:
          description: Extensions for priority
          $ref: '#/components/schemas/Element'
        code:
          description: A code that provides meaning for the action or action group.
            For example, a section may have a LOINC code for a section of a documentation
            template.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        documentation:
          description: Didactic or other informational resources associated with the
            action that can be provided to the CDS recipient. Information resources
            can include inline text commentary and links to web resources.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        goal:
          description: Goals that are intended to be achieved by following the requests
            in this action.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        condition:
          description: An expression that describes applicability criteria, or start/stop
            conditions for the action.
          items:
            $ref: '#/components/schemas/RequestOrchestration_Condition'
          type: array
        input:
          description: Defines input data requirements for the action.
          items:
            $ref: '#/components/schemas/RequestOrchestration_Input'
          type: array
        output:
          description: Defines the outputs of the action, if any.
          items:
            $ref: '#/components/schemas/RequestOrchestration_Output'
          type: array
        relatedAction:
          description: A relationship to another action such as "before" or "30-60 minutes
            after start of".
          items:
            $ref: '#/components/schemas/RequestOrchestration_RelatedAction'
          type: array
        timingDateTime:
          description: An optional value describing when the action should be performed.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _timingDateTime:
          description: Extensions for timingDateTime
          $ref: '#/components/schemas/Element'
        timingAge:
          description: An optional value describing when the action should be performed.
          $ref: '#/components/schemas/Age'
        timingPeriod:
          description: An optional value describing when the action should be performed.
          $ref: '#/components/schemas/Period'
        timingDuration:
          description: An optional value describing when the action should be performed.
          $ref: '#/components/schemas/Duration'
        timingRange:
          description: An optional value describing when the action should be performed.
          $ref: '#/components/schemas/Range'
        timingTiming:
          description: An optional value describing when the action should be performed.
          $ref: '#/components/schemas/Timing'
        location:
          description: Identifies the facility where the action will occur; e.g. home,
            hospital, specific clinic, etc.
          $ref: '#/components/schemas/CodeableReference'
        participant:
          description: The participant that should perform or be responsible for this
            action.
          items:
            $ref: '#/components/schemas/RequestOrchestration_Participant'
          type: array
        type:
          description: The type of action to perform (create, update, remove).
          $ref: '#/components/schemas/CodeableConcept'
        groupingBehavior:
          description: Defines the grouping behavior for the action and its children.
          $ref: '#/components/schemas/code'
        _groupingBehavior:
          description: Extensions for groupingBehavior
          $ref: '#/components/schemas/Element'
        selectionBehavior:
          description: Defines the selection behavior for the action and its children.
          $ref: '#/components/schemas/code'
        _selectionBehavior:
          description: Extensions for selectionBehavior
          $ref: '#/components/schemas/Element'
        requiredBehavior:
          description: Defines expectations around whether an action is required.
          $ref: '#/components/schemas/code'
        _requiredBehavior:
          description: Extensions for requiredBehavior
          $ref: '#/components/schemas/Element'
        precheckBehavior:
          description: Defines whether the action should usually be preselected.
          $ref: '#/components/schemas/code'
        _precheckBehavior:
          description: Extensions for precheckBehavior
          $ref: '#/components/schemas/Element'
        cardinalityBehavior:
          description: Defines whether the action can be selected multiple times.
          $ref: '#/components/schemas/code'
        _cardinalityBehavior:
          description: Extensions for cardinalityBehavior
          $ref: '#/components/schemas/Element'
        resource:
          description: The resource that is the target of the action (e.g. CommunicationRequest).
          $ref: '#/components/schemas/Reference'
        definitionCanonical:
          description: A reference to an ActivityDefinition that describes the action
            to be taken in detail, a PlanDefinition that describes a series of actions
            to be taken, a Questionnaire that should be filled out, a SpecimenDefinition
            describing a specimen to be collected, or an ObservationDefinition that
            specifies what observation should be captured.
          pattern: ^\S*$
          type: string
        _definitionCanonical:
          description: Extensions for definitionCanonical
          $ref: '#/components/schemas/Element'
        definitionUri:
          description: A reference to an ActivityDefinition that describes the action
            to be taken in detail, a PlanDefinition that describes a series of actions
            to be taken, a Questionnaire that should be filled out, a SpecimenDefinition
            describing a specimen to be collected, or an ObservationDefinition that
            specifies what observation should be captured.
          pattern: ^\S*$
          type: string
        _definitionUri:
          description: Extensions for definitionUri
          $ref: '#/components/schemas/Element'
        transform:
          description: A reference to a StructureMap resource that defines a transform
            that can be executed to produce the intent resource using the ActivityDefinition
            instance as the input.
          $ref: '#/components/schemas/canonical'
        dynamicValue:
          description: Customizations that should be applied to the statically defined
            resource. For example, if the dosage of a medication must be computed based
            on the patient's weight, a customization would be used to specify an expression
            that calculated the weight, and the path on the resource that would contain
            the result.
          items:
            $ref: '#/components/schemas/RequestOrchestration_DynamicValue'
          type: array
        action:
          description: Sub actions.
          items:
            $ref: '#/components/schemas/RequestOrchestration_Action'
          type: array
      type: object
      additionalProperties: false
    RequestOrchestration_Condition:
      description: A set of related requests that can be used to capture intended activities
        that have inter-dependencies such as "give this medication after that one".
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        kind:
          description: The kind of condition.
          $ref: '#/components/schemas/code'
        _kind:
          description: Extensions for kind
          $ref: '#/components/schemas/Element'
        expression:
          description: An expression that returns true or false, indicating whether
            or not the condition is satisfied.
          $ref: '#/components/schemas/Expression'
      type: object
      additionalProperties: false
    RequestOrchestration_Input:
      description: A set of related requests that can be used to capture intended activities
        that have inter-dependencies such as "give this medication after that one".
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        title:
          description: A human-readable label for the data requirement used to label
            data flows in BPMN or similar diagrams. Also provides a human readable label
            when rendering the data requirement that conveys its purpose to human readers.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        requirement:
          description: Defines the data that is to be provided as input to the action.
          $ref: '#/components/schemas/DataRequirement'
        relatedData:
          description: Points to an existing input or output element that provides data
            to this input.
          $ref: '#/components/schemas/id'
        _relatedData:
          description: Extensions for relatedData
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    RequestOrchestration_Output:
      description: A set of related requests that can be used to capture intended activities
        that have inter-dependencies such as "give this medication after that one".
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        title:
          description: A human-readable label for the data requirement used to label
            data flows in BPMN or similar diagrams. Also provides a human readable label
            when rendering the data requirement that conveys its purpose to human readers.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        requirement:
          description: Defines the data that results as output from the action.
          $ref: '#/components/schemas/DataRequirement'
        relatedData:
          description: Points to an existing input or output element that is results
            as output from the action.
          $ref: '#/components/schemas/string'
        _relatedData:
          description: Extensions for relatedData
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    RequestOrchestration_RelatedAction:
      description: A set of related requests that can be used to capture intended activities
        that have inter-dependencies such as "give this medication after that one".
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        targetId:
          description: The element id of the target related action.
          $ref: '#/components/schemas/id'
        _targetId:
          description: Extensions for targetId
          $ref: '#/components/schemas/Element'
        relationship:
          description: The relationship of this action to the related action.
          $ref: '#/components/schemas/code'
        _relationship:
          description: Extensions for relationship
          $ref: '#/components/schemas/Element'
        endRelationship:
          description: The relationship of the end of this action to the related action.
          $ref: '#/components/schemas/code'
        _endRelationship:
          description: Extensions for endRelationship
          $ref: '#/components/schemas/Element'
        offsetDuration:
          description: A duration or range of durations to apply to the relationship.
            For example, 30-60 minutes before.
          $ref: '#/components/schemas/Duration'
        offsetRange:
          description: A duration or range of durations to apply to the relationship.
            For example, 30-60 minutes before.
          $ref: '#/components/schemas/Range'
      type: object
      additionalProperties: false
    RequestOrchestration_Participant:
      description: A set of related requests that can be used to capture intended activities
        that have inter-dependencies such as "give this medication after that one".
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of participant in the action.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        typeCanonical:
          description: The type of participant in the action.
          $ref: '#/components/schemas/canonical'
        typeReference:
          description: The type of participant in the action.
          $ref: '#/components/schemas/Reference'
        role:
          description: The role the participant should play in performing the described
            action.
          $ref: '#/components/schemas/CodeableConcept'
        function:
          description: Indicates how the actor will be involved in the action - author,
            reviewer, witness, etc.
          $ref: '#/components/schemas/CodeableConcept'
        actorCanonical:
          description: A reference to the actual participant.
          pattern: ^\S*$
          type: string
        _actorCanonical:
          description: Extensions for actorCanonical
          $ref: '#/components/schemas/Element'
        actorReference:
          description: A reference to the actual participant.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    RequestOrchestration_DynamicValue:
      description: A set of related requests that can be used to capture intended activities
        that have inter-dependencies such as "give this medication after that one".
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        path:
          description: The path to the element to be customized. This is the path on
            the resource that will hold the result of the calculation defined by the
            expression. The specified path SHALL be a FHIRPath resolvable on the specified
            target type of the ActivityDefinition, and SHALL consist only of identifiers,
            constant indexers, and a restricted subset of functions. The path is allowed
            to contain qualifiers (.) to traverse sub-elements, as well as indexers
            ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath
            Profile](fhirpath.html#simple) for full details).
          $ref: '#/components/schemas/string'
        _path:
          description: Extensions for path
          $ref: '#/components/schemas/Element'
        expression:
          description: An expression specifying the value of the customized element.
          $ref: '#/components/schemas/Expression'
      type: object
      additionalProperties: false
    Requirements:
      description: A set of requirements - a list of features or behaviors of designed
        systems that are necessary to achieve organizational or regulatory goals.
      properties:
        resourceType:
          description: This is a Requirements resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this Requirements when
            it is referenced in a specification, model, design or an instance; also
            called its canonical identifier. This SHOULD be globally unique and SHOULD
            be a literal address at which an authoritative instance of this Requirements
            is (or will be) published. This URL can be the target of a canonical reference.
            It SHALL remain the same when the Requirements is stored on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this Requirements
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the Requirements
            when it is referenced in a specification, model, design or instance. This
            is an arbitrary value managed by the Requirements author and is not expected
            to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd)
            if a managed version is not available. There is also no expectation that
            versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the Requirements. This name
            should be usable as an identifier for the module by machine processing applications
            such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the Requirements.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this Requirements. Enables tracking the life-cycle
            of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this Requirements is authored
            for testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the Requirements was published.
            The date must change when the business version changes and it must change
            if the status code changes. In addition, it should change when the substantive
            content of the Requirements changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the Requirements.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the requirements.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            Requirements instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the Requirements is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this Requirements is needed and why it has
            been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the Requirements and/or its
            contents. Copyright statements are generally legal restrictions on the use
            and publishing of the Requirements.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        derivedFrom:
          description: Another set of Requirements that this set of Requirements builds
            on and updates.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        reference:
          description: A reference to another artifact that created this set of requirements.
            This could be a Profile, etc., or external regulation, or business requirements
            expressed elsewhere.
          items:
            $ref: '#/components/schemas/url'
          type: array
        _reference:
          description: Extensions for reference
          items:
            $ref: '#/components/schemas/Element'
          type: array
        actor:
          description: An actor these requirements are in regard to.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        statement:
          description: The actual statement of requirement, in markdown format.
          items:
            $ref: '#/components/schemas/Requirements_Statement'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    Requirements_Statement:
      description: A set of requirements - a list of features or behaviors of designed
        systems that are necessary to achieve organizational or regulatory goals.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        key:
          description: Key that identifies this statement (unique within this resource).
          $ref: '#/components/schemas/id'
        _key:
          description: Extensions for key
          $ref: '#/components/schemas/Element'
        label:
          description: A short human usable label for this statement.
          $ref: '#/components/schemas/string'
        _label:
          description: Extensions for label
          $ref: '#/components/schemas/Element'
        conformance:
          description: A short human usable label for this statement.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _conformance:
          description: Extensions for conformance
          items:
            $ref: '#/components/schemas/Element'
          type: array
        conditionality:
          description: This boolean flag is set to true of the text of the requirement
            is conditional on something e.g. it includes lanauage like 'if x then y'.
            This conditionality flag is introduced for purposes of filtering and colour
            highlighting etc.
          $ref: '#/components/schemas/boolean'
        _conditionality:
          description: Extensions for conditionality
          $ref: '#/components/schemas/Element'
        requirement:
          description: The actual requirement for human consumption.
          $ref: '#/components/schemas/markdown'
        _requirement:
          description: Extensions for requirement
          $ref: '#/components/schemas/Element'
        derivedFrom:
          description: Another statement on one of the requirements that this requirement
            clarifies or restricts.
          $ref: '#/components/schemas/string'
        _derivedFrom:
          description: Extensions for derivedFrom
          $ref: '#/components/schemas/Element'
        parent:
          description: A larger requirement that this requirement helps to refine and
            enable.
          $ref: '#/components/schemas/string'
        _parent:
          description: Extensions for parent
          $ref: '#/components/schemas/Element'
        satisfiedBy:
          description: A reference to another artifact that satisfies this requirement.
            This could be a Profile, extension, or an element in one of those, or a
            CapabilityStatement, OperationDefinition, SearchParameter, CodeSystem(/code),
            ValueSet, Libary etc.
          items:
            $ref: '#/components/schemas/url'
          type: array
        _satisfiedBy:
          description: Extensions for satisfiedBy
          items:
            $ref: '#/components/schemas/Element'
          type: array
        reference:
          description: A reference to another artifact that created this requirement.
            This could be a Profile, etc., or external regulation, or business requirements
            expressed elsewhere.
          items:
            $ref: '#/components/schemas/url'
          type: array
        _reference:
          description: Extensions for reference
          items:
            $ref: '#/components/schemas/Element'
          type: array
        source:
          description: Who asked for this statement to be a requirement. By default,
            it's assumed that the publisher knows who it is if it matters.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    ResearchStudy:
      description: A scientific study of nature that sometimes includes processes involved
        in health and disease. For example, clinical trials are research studies that
        involve people. These studies may be related to new ways to screen, prevent,
        diagnose, and treat disease. They may also study certain outcomes and certain
        groups of people by looking at data collected in the past or future.
      properties:
        resourceType:
          description: This is a ResearchStudy resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: Canonical identifier for this study resource, represented as
            a globally unique URI.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: Identifiers assigned to this research study by the sponsor or
            other systems.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The business version for the study record.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        name:
          description: Name for this study (computer friendly).
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: The human readable name of the research study.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        label:
          description: Additional names for the study.
          items:
            $ref: '#/components/schemas/ResearchStudy_Label'
          type: array
        protocol:
          description: The set of steps expected to be performed as part of the execution
            of the study.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        partOf:
          description: A larger research study of which this particular study is a component
            or step.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        relatedArtifact:
          description: Citations, references, URLs and other related documents.  When
            using relatedArtifact to share URLs, the relatedArtifact.type will often
            be set to one of "documentation" or "supported-with" and the URL value will
            often be in relatedArtifact.document.url but another possible location is
            relatedArtifact.resource when it is a canonical URL.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        date:
          description: The date (and optionally time) when the ResearchStudy Resource
            was last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the ResearchStudy Resource changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        status:
          description: The publication state of the resource (not of the study).
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        primaryPurposeType:
          description: The type of study based upon the intent of the study activities.
            A classification of the intent of the study.
          $ref: '#/components/schemas/CodeableConcept'
        phase:
          description: The stage in the progression of a therapy from initial experimental
            use in humans in clinical trials to post-market evaluation.
          $ref: '#/components/schemas/CodeableConcept'
        studyDesign:
          description: Codes categorizing the type of study such as investigational
            vs. observational, type of blinding, type of randomization, safety vs. efficacy,
            etc.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        focus:
          description: The medication(s), food(s), therapy(ies), device(s) or other
            concerns or interventions that the study is seeking to gain more information
            about.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        condition:
          description: The condition that is the focus of the study.  For example, In
            a study to examine risk factors for Lupus, might have as an inclusion criterion
            "healthy volunteer", but the target condition code would be a Lupus SNOMED
            code.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        keyword:
          description: Key terms to aid in searching for or filtering the study.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        region:
          description: A country, state or other area where the study is taking place
            rather than its precise geographic location or address.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        descriptionSummary:
          description: A brief text for explaining the study.
          $ref: '#/components/schemas/markdown'
        _descriptionSummary:
          description: Extensions for descriptionSummary
          $ref: '#/components/schemas/Element'
        description:
          description: A detailed and human-readable narrative of the study. E.g., study
            abstract.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        period:
          description: Identifies the start date and the expected (or actual, depending
            on status) end date for the study.
          $ref: '#/components/schemas/Period'
        site:
          description: A facility in which study activities are conducted.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        note:
          description: Comments made about the study by the performer, subject or other
            participants.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        classifier:
          description: 'Additional grouping mechanism or categorization of a research
            study. Example: FDA regulated device, FDA regulated drug, MPG Paragraph
            23b (a German legal requirement), IRB-exempt, etc. Implementation Note:
            do not use the classifier element to support existing semantics that are
            already supported thru explicit elements in the resource.'
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        associatedParty:
          description: Sponsors, collaborators, and other parties.
          items:
            $ref: '#/components/schemas/ResearchStudy_AssociatedParty'
          type: array
        progressStatus:
          description: Status of study with time for that status.
          items:
            $ref: '#/components/schemas/ResearchStudy_ProgressStatus'
          type: array
        whyStopped:
          description: A description and/or code explaining the premature termination
            of the study.
          $ref: '#/components/schemas/CodeableConcept'
        recruitment:
          description: Target or actual group of participants enrolled in study.
          $ref: '#/components/schemas/ResearchStudy_Recruitment'
        comparisonGroup:
          description: 'Describes an expected event or sequence of events for one of
            the subjects of a study. E.g. for a living subject: exposure to drug A,
            wash-out, exposure to drug B, wash-out, follow-up. E.g. for a stability
            study: {store sample from lot A at 25 degrees for 1 month}, {store sample
            from lot A at 40 degrees for 1 month}.'
          items:
            $ref: '#/components/schemas/ResearchStudy_ComparisonGroup'
          type: array
        objective:
          description: A goal that the study is aiming to achieve in terms of a scientific
            question to be answered by the analysis of data collected during the study.
          items:
            $ref: '#/components/schemas/ResearchStudy_Objective'
          type: array
        outcomeMeasure:
          description: An "outcome measure", "endpoint", "effect measure" or "measure
            of effect" is a specific measurement or observation used to quantify the
            effect of experimental variables on the participants in a study, or for
            observational studies, to describe patterns of diseases or traits or associations
            with exposures, risk factors or treatment.
          items:
            $ref: '#/components/schemas/ResearchStudy_OutcomeMeasure'
          type: array
        result:
          description: Link to one or more sets of results generated by the study.  Could
            also link to a research registry holding the results such as ClinicalTrials.gov.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    ResearchStudy_Label:
      description: A scientific study of nature that sometimes includes processes involved
        in health and disease. For example, clinical trials are research studies that
        involve people. These studies may be related to new ways to screen, prevent,
        diagnose, and treat disease. They may also study certain outcomes and certain
        groups of people by looking at data collected in the past or future.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Kind of name.
          $ref: '#/components/schemas/CodeableConcept'
        value:
          description: The name.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ResearchStudy_AssociatedParty:
      description: A scientific study of nature that sometimes includes processes involved
        in health and disease. For example, clinical trials are research studies that
        involve people. These studies may be related to new ways to screen, prevent,
        diagnose, and treat disease. They may also study certain outcomes and certain
        groups of people by looking at data collected in the past or future.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: Name of associated party.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        role:
          description: Type of association.
          $ref: '#/components/schemas/CodeableConcept'
        period:
          description: Identifies the start date and the end date of the associated
            party in the role.
          items:
            $ref: '#/components/schemas/Period'
          type: array
        classifier:
          description: A categorization other than role for the associated party.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        party:
          description: Individual or organization associated with study (use practitionerRole
            to specify their organisation).
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - role
    ResearchStudy_ProgressStatus:
      description: A scientific study of nature that sometimes includes processes involved
        in health and disease. For example, clinical trials are research studies that
        involve people. These studies may be related to new ways to screen, prevent,
        diagnose, and treat disease. They may also study certain outcomes and certain
        groups of people by looking at data collected in the past or future.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        state:
          description: Label for status or state (e.g. recruitment status).
          $ref: '#/components/schemas/CodeableConcept'
        actual:
          description: An indication of whether or not the date is a known date when
            the state changed or will change. A value of true indicates a known date.
            A value of false indicates an estimated date.
          $ref: '#/components/schemas/boolean'
        _actual:
          description: Extensions for actual
          $ref: '#/components/schemas/Element'
        period:
          description: Date range.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - state
    ResearchStudy_Recruitment:
      description: A scientific study of nature that sometimes includes processes involved
        in health and disease. For example, clinical trials are research studies that
        involve people. These studies may be related to new ways to screen, prevent,
        diagnose, and treat disease. They may also study certain outcomes and certain
        groups of people by looking at data collected in the past or future.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        targetNumber:
          description: Estimated total number of participants to be enrolled.
          $ref: '#/components/schemas/unsignedInt'
        _targetNumber:
          description: Extensions for targetNumber
          $ref: '#/components/schemas/Element'
        actualNumber:
          description: Actual total number of participants enrolled in study.
          $ref: '#/components/schemas/unsignedInt'
        _actualNumber:
          description: Extensions for actualNumber
          $ref: '#/components/schemas/Element'
        eligibility:
          description: Inclusion and exclusion criteria.
          $ref: '#/components/schemas/Reference'
        actualGroup:
          description: Group of participants who were enrolled in study.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    ResearchStudy_ComparisonGroup:
      description: A scientific study of nature that sometimes includes processes involved
        in health and disease. For example, clinical trials are research studies that
        involve people. These studies may be related to new ways to screen, prevent,
        diagnose, and treat disease. They may also study certain outcomes and certain
        groups of people by looking at data collected in the past or future.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkId:
          description: Allows the comparisonGroup for the study and the comparisonGroup
            for the subject to be linked easily.
          $ref: '#/components/schemas/id'
        _linkId:
          description: Extensions for linkId
          $ref: '#/components/schemas/Element'
        name:
          description: Unique, human-readable label for this comparisonGroup of the
            study.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        type:
          description: Categorization of study comparisonGroup, e.g. experimental, active
            comparator, placebo comparater.
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: A succinct description of the path through the study that would
            be followed by a subject adhering to this comparisonGroup.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        intendedExposure:
          description: Interventions or exposures in this comparisonGroup or cohort.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        observedGroup:
          description: Group of participants who were enrolled in study comparisonGroup.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    ResearchStudy_Objective:
      description: A scientific study of nature that sometimes includes processes involved
        in health and disease. For example, clinical trials are research studies that
        involve people. These studies may be related to new ways to screen, prevent,
        diagnose, and treat disease. They may also study certain outcomes and certain
        groups of people by looking at data collected in the past or future.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: Unique, human-readable label for this objective of the study.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        type:
          description: The kind of study objective.
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: Free text description of the objective of the study.  This is
            what the study is trying to achieve rather than how it is going to achieve
            it (see ResearchStudy.description).
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ResearchStudy_OutcomeMeasure:
      description: A scientific study of nature that sometimes includes processes involved
        in health and disease. For example, clinical trials are research studies that
        involve people. These studies may be related to new ways to screen, prevent,
        diagnose, and treat disease. They may also study certain outcomes and certain
        groups of people by looking at data collected in the past or future.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: Label for the outcome.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        type:
          description: The parameter or characteristic being assessed as one of the
            values by which the study is assessed.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        description:
          description: Description of the outcome.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        reference:
          description: Structured outcome definition.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    ResearchSubject:
      description: A ResearchSubject is a participant or object which is the recipient
        of investigative activities in a research study.
      properties:
        resourceType:
          description: This is a ResearchSubject resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifiers assigned to this research subject for a study.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The publication state of the resource (not of the subject).
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        progress:
          description: The current state (status) of the subject and resons for status
            change where appropriate.
          items:
            $ref: '#/components/schemas/ResearchSubject_Progress'
          type: array
        period:
          description: The dates the subject began and ended their participation in
            the study.
          $ref: '#/components/schemas/Period'
        study:
          description: Reference to the study the subject is participating in.
          $ref: '#/components/schemas/Reference'
        subject:
          description: The record of the person, animal or other entity involved in
            the study.
          $ref: '#/components/schemas/Reference'
        assignedComparisonGroup:
          description: The name of the arm in the study the subject is expected to follow
            as part of this study.
          $ref: '#/components/schemas/id'
        _assignedComparisonGroup:
          description: Extensions for assignedComparisonGroup
          $ref: '#/components/schemas/Element'
        actualComparisonGroup:
          description: The name of the arm in the study the subject actually followed
            as part of this study.
          $ref: '#/components/schemas/id'
        _actualComparisonGroup:
          description: Extensions for actualComparisonGroup
          $ref: '#/components/schemas/Element'
        consent:
          description: A record of the patient's informed agreement to participate in
            the study.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - study
      - subject
      - resourceType
    ResearchSubject_Progress:
      description: A ResearchSubject is a participant or object which is the recipient
        of investigative activities in a research study.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Identifies the aspect of the subject's journey that the state
            refers to.
          $ref: '#/components/schemas/CodeableConcept'
        subjectState:
          description: The current state of the subject.
          $ref: '#/components/schemas/CodeableConcept'
        milestone:
          description: The milestones the subject has passed through.
          $ref: '#/components/schemas/CodeableConcept'
        reason:
          description: The reason for the state change.  If coded it should follow the
            formal subject state model.
          $ref: '#/components/schemas/CodeableConcept'
        startDate:
          description: The date when the new status started.
          $ref: '#/components/schemas/dateTime'
        _startDate:
          description: Extensions for startDate
          $ref: '#/components/schemas/Element'
        endDate:
          description: The date when the state ended.
          $ref: '#/components/schemas/dateTime'
        _endDate:
          description: Extensions for endDate
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    RiskAssessment:
      description: An assessment of the likely outcome(s) for a patient or other subject
        as well as the likelihood of each outcome.
      properties:
        resourceType:
          description: This is a RiskAssessment resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifier assigned to the risk assessment.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        basedOn:
          description: A reference to the request that is fulfilled by this risk assessment.
          $ref: '#/components/schemas/Reference'
        parent:
          description: A reference to a resource that this risk assessment is part of,
            such as a Procedure.
          $ref: '#/components/schemas/Reference'
        status:
          description: The status of the RiskAssessment, using the same statuses as
            an Observation.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        method:
          description: The algorithm, process or mechanism used to evaluate the risk.
          $ref: '#/components/schemas/CodeableConcept'
        code:
          description: The type of the risk assessment performed.
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: The patient or group the risk assessment applies to.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The encounter where the assessment was performed.
          $ref: '#/components/schemas/Reference'
        occurrenceDateTime:
          description: The date (and possibly time) the risk assessment was performed.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _occurrenceDateTime:
          description: Extensions for occurrenceDateTime
          $ref: '#/components/schemas/Element'
        occurrencePeriod:
          description: The date (and possibly time) the risk assessment was performed.
          $ref: '#/components/schemas/Period'
        condition:
          description: For assessments or prognosis specific to a particular condition,
            indicates the condition being assessed.
          $ref: '#/components/schemas/Reference'
        performer:
          description: The provider, patient, related person, or software application
            that performed the assessment.
          $ref: '#/components/schemas/Reference'
        reason:
          description: The reason the risk assessment was performed.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        basis:
          description: Indicates the source data considered as part of the assessment
            (for example, FamilyHistory, Observations, Procedures, Conditions, etc.).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        prediction:
          description: Describes the expected outcome for the subject.
          items:
            $ref: '#/components/schemas/RiskAssessment_Prediction'
          type: array
        mitigation:
          description: A description of the steps that might be taken to reduce the
            identified risk(s).
          $ref: '#/components/schemas/string'
        _mitigation:
          description: Extensions for mitigation
          $ref: '#/components/schemas/Element'
        note:
          description: Additional comments about the risk assessment.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - resourceType
    RiskAssessment_Prediction:
      description: An assessment of the likely outcome(s) for a patient or other subject
        as well as the likelihood of each outcome.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        outcome:
          description: One of the potential outcomes for the patient (e.g. remission,
            death,  a particular condition).
          $ref: '#/components/schemas/CodeableConcept'
        probabilityDecimal:
          description: Indicates how likely the outcome is (in the specified timeframe).
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _probabilityDecimal:
          description: Extensions for probabilityDecimal
          $ref: '#/components/schemas/Element'
        probabilityRange:
          description: Indicates how likely the outcome is (in the specified timeframe).
          $ref: '#/components/schemas/Range'
        qualitativeRisk:
          description: Indicates how likely the outcome is (in the specified timeframe),
            expressed as a qualitative value (e.g. low, medium, or high).
          $ref: '#/components/schemas/CodeableConcept'
        relativeRisk:
          description: Indicates the risk for this particular subject (with their specific
            characteristics) divided by the risk of the population in general.  (Numbers
            greater than 1 = higher risk than the population, numbers less than 1 =
            lower risk.).
          $ref: '#/components/schemas/decimal'
        _relativeRisk:
          description: Extensions for relativeRisk
          $ref: '#/components/schemas/Element'
        whenPeriod:
          description: Indicates the period of time or age range of the subject to which
            the specified probability applies.
          $ref: '#/components/schemas/Period'
        whenRange:
          description: Indicates the period of time or age range of the subject to which
            the specified probability applies.
          $ref: '#/components/schemas/Range'
        rationale:
          description: Additional information explaining the basis for the prediction.
          $ref: '#/components/schemas/string'
        _rationale:
          description: Extensions for rationale
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Schedule:
      description: A container for slots of time that may be available for booking appointments.
      properties:
        resourceType:
          description: This is a Schedule resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: External Ids for this item.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        active:
          description: Whether this schedule record is in active use or should not be
            used (such as was entered in error).
          $ref: '#/components/schemas/boolean'
        _active:
          description: Extensions for active
          $ref: '#/components/schemas/Element'
        serviceCategory:
          description: A broad categorization of the service that is to be performed
            during this appointment.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        serviceType:
          description: The specific service that is to be performed during this appointment.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        specialty:
          description: The specialty of a practitioner that would be required to perform
            the service requested in this appointment.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        name:
          description: Further description of the schedule as it would be presented
            to a consumer while searching.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        actor:
          description: Slots that reference this schedule resource provide the availability
            details to these referenced resource(s).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        planningHorizon:
          description: The period of time that the slots that reference this Schedule
            resource cover (even if none exist). These  cover the amount of time that
            an organization's planning horizon; the interval for which they are currently
            accepting appointments. This does not define a "template" for planning outside
            these dates.
          $ref: '#/components/schemas/Period'
        comment:
          description: Comments on the availability to describe any extended information.
            Such as custom constraints on the slots that may be associated.
          $ref: '#/components/schemas/markdown'
        _comment:
          description: Extensions for comment
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - actor
      - resourceType
    SearchParameter:
      description: A search parameter that defines a named search item that can be used
        to search/filter on a resource.
      properties:
        resourceType:
          description: This is a SearchParameter resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this search parameter
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this search
            parameter is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the search parameter is stored
            on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this search parameter
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the search
            parameter when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the search parameter author and is
            not expected to be globally unique. For example, it might be a timestamp
            (e.g. yyyymmdd) if a managed version is not available. There is also no
            expectation that versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the search parameter. This
            name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the search parameter.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this search parameter. Enables tracking the life-cycle
            of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this search parameter is authored
            for testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the search parameter was
            last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the search parameter changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual tresponsible for the
            release and ongoing maintenance of the search parameter.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: And how it used.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            search parameter instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the search parameter is
            intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this search parameter is needed and why it
            has been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the search parameter and/or
            its contents. Copyright statements are generally legal restrictions on the
            use and publishing of the search parameter.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        derivedFrom:
          description: Where this search parameter is originally defined. If a derivedFrom
            is provided, then the details in the search parameter must be consistent
            with the definition from which it is defined. i.e. the parameter should
            have the same meaning, and (usually) the functionality should be a proper
            subset of the underlying search parameter.
          $ref: '#/components/schemas/canonical'
        code:
          description: The label that is recommended to be used in the URL or the parameter
            name in a parameters resource for this search parameter.  In some cases,
            servers may need to use a different CapabilityStatement searchParam.name
            to differentiate between multiple SearchParameters that happen to have the
            same code.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        base:
          description: The base resource type(s) that this search parameter can be used
            against.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _base:
          description: Extensions for base
          items:
            $ref: '#/components/schemas/Element'
          type: array
        type:
          description: The type of value that a search parameter may contain, and how
            the content is interpreted.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        expression:
          description: A FHIRPath expression that returns a set of elements for the
            search parameter.
          $ref: '#/components/schemas/string'
        _expression:
          description: Extensions for expression
          $ref: '#/components/schemas/Element'
        processingMode:
          description: How the search parameter relates to the set of elements returned
            by evaluating the expression query.
          $ref: '#/components/schemas/code'
        _processingMode:
          description: Extensions for processingMode
          $ref: '#/components/schemas/Element'
        constraint:
          description: FHIRPath expression that defines/sets a complex constraint for
            when this SearchParameter is applicable.
          $ref: '#/components/schemas/string'
        _constraint:
          description: Extensions for constraint
          $ref: '#/components/schemas/Element'
        target:
          description: Types of resource (if a resource is referenced).
          items:
            $ref: '#/components/schemas/code'
          type: array
        _target:
          description: Extensions for target
          items:
            $ref: '#/components/schemas/Element'
          type: array
        multipleOr:
          description: Whether multiple values are allowed for each time the parameter
            exists. Values are separated by commas, and the parameter matches if any
            of the values match.
          $ref: '#/components/schemas/boolean'
        _multipleOr:
          description: Extensions for multipleOr
          $ref: '#/components/schemas/Element'
        multipleAnd:
          description: Whether multiple parameters are allowed - e.g. more than one
            parameter with the same name. The search matches if all the parameters match.
          $ref: '#/components/schemas/boolean'
        _multipleAnd:
          description: Extensions for multipleAnd
          $ref: '#/components/schemas/Element'
        comparator:
          description: Comparators supported for the search parameter.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _comparator:
          description: Extensions for comparator
          items:
            $ref: '#/components/schemas/Element'
          type: array
        modifier:
          description: A modifier supported for the search parameter.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _modifier:
          description: Extensions for modifier
          items:
            $ref: '#/components/schemas/Element'
          type: array
        chain:
          description: Contains the names of any search parameters which may be chained
            to the containing search parameter. Chained parameters may be added to search
            parameters of type reference and specify that resources will only be returned
            if they contain a reference to a resource which matches the chained parameter
            value. Values for this field should be drawn from SearchParameter.code for
            a parameter on the target resource type.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _chain:
          description: Extensions for chain
          items:
            $ref: '#/components/schemas/Element'
          type: array
        component:
          description: Used to define the parts of a composite search parameter.
          items:
            $ref: '#/components/schemas/SearchParameter_Component'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    SearchParameter_Component:
      description: A search parameter that defines a named search item that can be used
        to search/filter on a resource.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        definition:
          description: The definition of the search parameter that describes this part.
          $ref: '#/components/schemas/canonical'
        expression:
          description: A sub-expression that defines how to extract values for this
            component from the output of the main SearchParameter.expression.
          $ref: '#/components/schemas/string'
        _expression:
          description: Extensions for expression
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - definition
    ServiceRequest:
      description: A record of a request for service such as diagnostic investigations,
        treatments, or operations to be performed.
      properties:
        resourceType:
          description: This is a ServiceRequest resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifiers assigned to this order instance by the orderer and/or
            the receiver and/or order fulfiller.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        instantiatesCanonical:
          description: The URL pointing to a FHIR-defined protocol, guideline, orderset
            or other definition that is adhered to in whole or in part by this ServiceRequest.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        instantiatesUri:
          description: The URL pointing to an externally maintained protocol, guideline,
            orderset or other definition that is adhered to in whole or in part by this
            ServiceRequest.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _instantiatesUri:
          description: Extensions for instantiatesUri
          items:
            $ref: '#/components/schemas/Element'
          type: array
        basedOn:
          description: Plan/proposal/order fulfilled by this request.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        replaces:
          description: The request takes the place of the referenced completed or terminated
            request(s).
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        requisition:
          description: A shared identifier common to all service requests that were
            authorized more or less simultaneously by a single author, representing
            the composite or group identifier.
          $ref: '#/components/schemas/Identifier'
        status:
          description: The status of the order.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        intent:
          description: Whether the request is a proposal, plan, an original order or
            a reflex order.
          $ref: '#/components/schemas/code'
        _intent:
          description: Extensions for intent
          $ref: '#/components/schemas/Element'
        category:
          description: A code that classifies the service for searching, sorting and
            display purposes (e.g. "Surgical Procedure").
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        priority:
          description: Indicates how quickly the ServiceRequest should be addressed
            with respect to other requests.
          $ref: '#/components/schemas/code'
        _priority:
          description: Extensions for priority
          $ref: '#/components/schemas/Element'
        doNotPerform:
          description: Set this to true if the record is saying that the service/procedure
            should NOT be performed.
          $ref: '#/components/schemas/boolean'
        _doNotPerform:
          description: Extensions for doNotPerform
          $ref: '#/components/schemas/Element'
        code:
          description: A code or reference that identifies a particular service (i.e.,
            procedure, diagnostic investigation, or panel of investigations) that have
            been requested.
          $ref: '#/components/schemas/CodeableReference'
        orderDetail:
          description: Additional details and instructions about the how the services
            are to be delivered.   For example, and order for a urinary catheter may
            have an order detail for an external or indwelling catheter, or an order
            for a bandage may require additional instructions specifying how the bandage
            should be applied.
          items:
            $ref: '#/components/schemas/ServiceRequest_OrderDetail'
          type: array
        quantityQuantity:
          description: An amount of service being requested which can be a quantity
            ( for example $1,500 home modification), a ratio ( for example, 20 half
            day visits per month), or a range (2.0 to 1.8 Gy per fraction).
          $ref: '#/components/schemas/Quantity'
        quantityRatio:
          description: An amount of service being requested which can be a quantity
            ( for example $1,500 home modification), a ratio ( for example, 20 half
            day visits per month), or a range (2.0 to 1.8 Gy per fraction).
          $ref: '#/components/schemas/Ratio'
        quantityRange:
          description: An amount of service being requested which can be a quantity
            ( for example $1,500 home modification), a ratio ( for example, 20 half
            day visits per month), or a range (2.0 to 1.8 Gy per fraction).
          $ref: '#/components/schemas/Range'
        subject:
          description: On whom or what the service is to be performed. This is usually
            a human patient, but can also be requested on animals, groups of humans
            or animals, devices such as dialysis machines, or even locations (typically
            for environmental scans).
          $ref: '#/components/schemas/Reference'
        focus:
          description: The actual focus of a service request when it is not the subject
            of record representing something or someone associated with the subject
            such as a spouse, parent, fetus, or donor. The focus of a service request
            could also be an existing condition,  an intervention, the subject's diet,  another
            service request on the subject,  or a body structure such as tumor or implanted
            device.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        encounter:
          description: An encounter that provides additional information about the healthcare
            context in which this request is made.
          $ref: '#/components/schemas/Reference'
        occurrenceDateTime:
          description: The date/time at which the requested service should occur.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _occurrenceDateTime:
          description: Extensions for occurrenceDateTime
          $ref: '#/components/schemas/Element'
        occurrencePeriod:
          description: The date/time at which the requested service should occur.
          $ref: '#/components/schemas/Period'
        occurrenceTiming:
          description: The date/time at which the requested service should occur.
          $ref: '#/components/schemas/Timing'
        asNeededBoolean:
          description: If a CodeableConcept is present, it indicates the pre-condition
            for performing the service.  For example "pain", "on flare-up", etc.
          pattern: ^true|false$
          type: boolean
        _asNeededBoolean:
          description: Extensions for asNeededBoolean
          $ref: '#/components/schemas/Element'
        asNeededCodeableConcept:
          description: If a CodeableConcept is present, it indicates the pre-condition
            for performing the service.  For example "pain", "on flare-up", etc.
          $ref: '#/components/schemas/CodeableConcept'
        authoredOn:
          description: When the request transitioned to being actionable.
          $ref: '#/components/schemas/dateTime'
        _authoredOn:
          description: Extensions for authoredOn
          $ref: '#/components/schemas/Element'
        requester:
          description: The individual who initiated the request and has responsibility
            for its activation.
          $ref: '#/components/schemas/Reference'
        performerType:
          description: Desired type of performer for doing the requested service.
          $ref: '#/components/schemas/CodeableConcept'
        performer:
          description: The desired performer for doing the requested service.  For example,
            the surgeon, dermatopathologist, endoscopist, etc.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        location:
          description: The preferred location(s) where the procedure should actually
            happen in coded or free text form. E.g. at home or nursing day care center.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        reason:
          description: An explanation or justification for why this service is being
            requested in coded or textual form.   This is often for billing purposes.  May
            relate to the resources referred to in `supportingInfo`.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        insurance:
          description: Insurance plans, coverage extensions, pre-authorizations and/or
            pre-determinations that may be needed for delivering the requested service.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        supportingInfo:
          description: Additional clinical information about the patient or specimen
            that may influence the services or their interpretations.     This information
            includes diagnosis, clinical findings and other observations.  In laboratory
            ordering these are typically referred to as "ask at order entry questions
            (AOEs)".  This includes observations explicitly requested by the producer
            (filler) to provide context or supporting information needed to complete
            the order. For example,  reporting the amount of inspired oxygen for blood
            gas measurements.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        specimen:
          description: One or more specimens that the laboratory procedure will use.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        bodySite:
          description: Anatomic location where the procedure should be performed. This
            is the target site.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        bodyStructure:
          description: Anatomic location where the procedure should be performed. This
            is the target site.
          $ref: '#/components/schemas/Reference'
        note:
          description: Any other notes and comments made about the service request.
            For example, internal billing notes.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        patientInstruction:
          description: Instructions in terms that are understood by the patient or consumer.
          items:
            $ref: '#/components/schemas/ServiceRequest_PatientInstruction'
          type: array
        relevantHistory:
          description: Key events in the history of the request.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - subject
      - resourceType
    ServiceRequest_OrderDetail:
      description: A record of a request for service such as diagnostic investigations,
        treatments, or operations to be performed.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        parameterFocus:
          description: Indicates the context of the order details by reference.
          $ref: '#/components/schemas/CodeableReference'
        parameter:
          description: The parameter details for the service being requested.
          items:
            $ref: '#/components/schemas/ServiceRequest_Parameter'
          type: array
      type: object
      additionalProperties: false
      required:
      - parameter
    ServiceRequest_Parameter:
      description: A record of a request for service such as diagnostic investigations,
        treatments, or operations to be performed.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A value representing the additional detail or instructions for
            the order (e.g., catheter insertion, body elevation, descriptive device
            configuration and/or setting instructions).
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: Indicates a value for the order detail.
          $ref: '#/components/schemas/Quantity'
        valueRatio:
          description: Indicates a value for the order detail.
          $ref: '#/components/schemas/Ratio'
        valueRange:
          description: Indicates a value for the order detail.
          $ref: '#/components/schemas/Range'
        valueBoolean:
          description: Indicates a value for the order detail.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueCodeableConcept:
          description: Indicates a value for the order detail.
          $ref: '#/components/schemas/CodeableConcept'
        valueString:
          description: Indicates a value for the order detail.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valuePeriod:
          description: Indicates a value for the order detail.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
      required:
      - code
    ServiceRequest_PatientInstruction:
      description: A record of a request for service such as diagnostic investigations,
        treatments, or operations to be performed.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        instructionMarkdown:
          description: Instructions in terms that are understood by the patient or consumer.
          pattern: ^^[\s\S]+$$
          type: string
        _instructionMarkdown:
          description: Extensions for instructionMarkdown
          $ref: '#/components/schemas/Element'
        instructionReference:
          description: Instructions in terms that are understood by the patient or consumer.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    Slot:
      description: A slot of time on a schedule that may be available for booking appointments.
      properties:
        resourceType:
          description: This is a Slot resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: External Ids for this item.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        serviceCategory:
          description: A broad categorization of the service that is to be performed
            during this appointment.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        serviceType:
          description: The type of appointments that can be booked into this slot (ideally
            this would be an identifiable service - which is at a location, rather than
            the location itself). If provided then this overrides the value provided
            on the Schedule resource.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        specialty:
          description: The specialty of a practitioner that would be required to perform
            the service requested in this appointment.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        appointmentType:
          description: The style of appointment or patient that may be booked in the
            slot (not service type).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        schedule:
          description: The schedule resource that this slot defines an interval of status
            information.
          $ref: '#/components/schemas/Reference'
        status:
          description: busy | free | busy-unavailable | busy-tentative | entered-in-error.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        start:
          description: Date/Time that the slot is to begin.
          $ref: '#/components/schemas/instant'
        _start:
          description: Extensions for start
          $ref: '#/components/schemas/Element'
        end:
          description: Date/Time that the slot is to conclude.
          $ref: '#/components/schemas/instant'
        _end:
          description: Extensions for end
          $ref: '#/components/schemas/Element'
        overbooked:
          description: This slot has already been overbooked, appointments are unlikely
            to be accepted for this time.
          $ref: '#/components/schemas/boolean'
        _overbooked:
          description: Extensions for overbooked
          $ref: '#/components/schemas/Element'
        comment:
          description: Comments on the slot to describe any extended information. Such
            as custom constraints on the slot.
          $ref: '#/components/schemas/string'
        _comment:
          description: Extensions for comment
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - schedule
      - resourceType
    Specimen:
      description: A sample to be used for analysis.
      properties:
        resourceType:
          description: This is a Specimen resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Id for specimen.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        accessionIdentifier:
          description: The identifier assigned by the lab when accessioning specimen(s).
            This is not necessarily the same as the specimen identifier, depending on
            local lab procedures.
          $ref: '#/components/schemas/Identifier'
        status:
          description: The availability of the specimen.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        type:
          description: The kind of material that forms the specimen.
          $ref: '#/components/schemas/CodeableConcept'
        subject:
          description: Where the specimen came from. This may be from patient(s), from
            a location (e.g., the source of an environmental sample), or a sampling
            of a substance, a biologically-derived product, or a device.
          $ref: '#/components/schemas/Reference'
        receivedTime:
          description: Time when specimen is received by the testing laboratory for
            processing or testing.
          $ref: '#/components/schemas/dateTime'
        _receivedTime:
          description: Extensions for receivedTime
          $ref: '#/components/schemas/Element'
        parent:
          description: Reference to the parent (source) specimen which is used when
            the specimen was either derived from or a component of another specimen.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        request:
          description: Details concerning a service request that required a specimen
            to be collected.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        combined:
          description: This element signifies if the specimen is part of a group or
            pooled.
          $ref: '#/components/schemas/code'
        _combined:
          description: Extensions for combined
          $ref: '#/components/schemas/Element'
        role:
          description: The role or reason for the specimen in the testing workflow.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        feature:
          description: A physical feature or landmark on a specimen, highlighted for
            context by the collector of the specimen (e.g. surgeon), that identifies
            the type of feature as well as its meaning (e.g. the red ink indicating
            the resection margin of the right lobe of the excised prostate tissue or
            wire loop at radiologically suspected tumor location).
          items:
            $ref: '#/components/schemas/Specimen_Feature'
          type: array
        collection:
          description: Details concerning the specimen collection.
          $ref: '#/components/schemas/Specimen_Collection'
        processing:
          description: Details concerning processing and processing steps for the specimen.
          items:
            $ref: '#/components/schemas/Specimen_Processing'
          type: array
        container:
          description: The container holding the specimen.  The recursive nature of
            containers; i.e. blood in tube in tray in rack is not addressed here.
          items:
            $ref: '#/components/schemas/Specimen_Container'
          type: array
        condition:
          description: A mode or state of being that describes the nature of the specimen.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        note:
          description: 'To communicate any details or issues about the specimen or during
            the specimen collection. (for example: broken vial, sent with patient, frozen).'
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    Specimen_Feature:
      description: A sample to be used for analysis.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The landmark or feature being highlighted.
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: Description of the feature of the specimen.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - type
    Specimen_Collection:
      description: A sample to be used for analysis.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        collector:
          description: Person who collected the specimen.
          $ref: '#/components/schemas/Reference'
        collectedDateTime:
          description: Time when specimen was collected from subject - the physiologically
            relevant time.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _collectedDateTime:
          description: Extensions for collectedDateTime
          $ref: '#/components/schemas/Element'
        collectedPeriod:
          description: Time when specimen was collected from subject - the physiologically
            relevant time.
          $ref: '#/components/schemas/Period'
        duration:
          description: The span of time over which the collection of a specimen occurred.
          $ref: '#/components/schemas/Duration'
        quantity:
          description: The quantity of specimen collected; for instance the volume of
            a blood sample, or the physical measurement of an anatomic pathology sample.
          $ref: '#/components/schemas/Quantity'
        method:
          description: A coded value specifying the technique that is used to perform
            the procedure.
          $ref: '#/components/schemas/CodeableConcept'
        device:
          description: A coded value specifying the technique that is used to perform
            the procedure.
          $ref: '#/components/schemas/CodeableReference'
        procedure:
          description: The procedure event during which the specimen was collected (e.g.
            the surgery leading to the collection of a pathology sample).
          $ref: '#/components/schemas/Reference'
        bodySite:
          description: Anatomical location from which the specimen was collected (if
            subject is a patient). This is the target site.  This element is not used
            for environmental specimens.
          $ref: '#/components/schemas/CodeableReference'
        fastingStatusCodeableConcept:
          description: Abstinence or reduction from some or all food, drink, or both,
            for a period of time prior to sample collection.
          $ref: '#/components/schemas/CodeableConcept'
        fastingStatusDuration:
          description: Abstinence or reduction from some or all food, drink, or both,
            for a period of time prior to sample collection.
          $ref: '#/components/schemas/Duration'
      type: object
      additionalProperties: false
    Specimen_Processing:
      description: A sample to be used for analysis.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: Textual description of procedure.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        method:
          description: A coded value specifying the method used to process the specimen.
          $ref: '#/components/schemas/CodeableConcept'
        additive:
          description: Material used in the processing step.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        timeDateTime:
          description: A record of the time or period when the specimen processing occurred.  For
            example the time of sample fixation or the period of time the sample was
            in formalin.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _timeDateTime:
          description: Extensions for timeDateTime
          $ref: '#/components/schemas/Element'
        timePeriod:
          description: A record of the time or period when the specimen processing occurred.  For
            example the time of sample fixation or the period of time the sample was
            in formalin.
          $ref: '#/components/schemas/Period'
      type: object
      additionalProperties: false
    Specimen_Container:
      description: A sample to be used for analysis.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        device:
          description: The device resource for the the container holding the specimen.
            If the container is in a holder then the referenced device will point to
            a parent device.
          $ref: '#/components/schemas/Reference'
        location:
          description: The location of the container holding the specimen.
          $ref: '#/components/schemas/Reference'
        specimenQuantity:
          description: The quantity of specimen in the container; may be volume, dimensions,
            or other appropriate measurements, depending on the specimen type.
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
      required:
      - device
    SpecimenDefinition:
      description: A kind of specimen with associated set of requirements.
      properties:
        resourceType:
          description: This is a SpecimenDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URL that is used to identify this SpecimenDefinition
            when it is referenced in a specification, model, design or an instance.
            This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address
            at which this SpecimenDefinition is (or will be) published. The URL SHOULD
            include the major version of the SpecimenDefinition. For more information
            see Technical and Business Versions.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A business identifier assigned to this SpecimenDefinition.
          $ref: '#/components/schemas/Identifier'
        version:
          description: The identifier that is used to identify this version of the SpecimenDefinition
            when it is referenced in a specification, model, design or instance. This
            is an arbitrary value managed by the SpecimenDefinition author and is not
            expected to be globally unique.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the {{title}}. This name
            should be usable as an identifier for the module by machine processing applications
            such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the SpecimenDefinition.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The current state of theSpecimenDefinition.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A flag to indicate that this SpecimenDefinition is not authored
            for  genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: For draft definitions, indicates the date of initial creation.
            For active definitions, represents the date of activation. For withdrawn
            definitions, indicates the date of withdrawal.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: Helps establish the "authority/credibility" of the SpecimenDefinition.
            May also allow for contact.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the SpecimenDefinition
            from the consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These terms may be used to assist with indexing
            and searching of specimen definitions.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A jurisdiction in which the SpecimenDefinition is intended to
            be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explains why this SpecimeDefinition is needed and why it has
            been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: Copyright statement relating to the SpecimenDefinition and/or
            its contents. Copyright statements are generally legal restrictions on the
            use and publishing of the SpecimenDefinition.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the asset content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the asset content was last reviewed. Review
            happens periodically after that, but doesn't change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the SpecimenDefinition content was or
            is planned to be effective.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptive topics related to the content of the {{title}}. Topics
            provide a high-level categorization as well as keywords for the {{title}}
            that can be useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual or organization primarily involved in the creation
            and maintenance of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individual or organization primarily responsible for internal
            coherence of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individual or organization asserted by the publisher to be
            primarily responsible for review of some aspect of the {{title}}.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individual or organization asserted by the publisher to be
            responsible for officially endorsing the {{title}} for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Related artifacts such as additional documentation, justification,
            dependencies, bibliographic references, and predecessor and successor artifacts.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        derivedFromCanonical:
          description: The canonical URL pointing to another FHIR-defined SpecimenDefinition
            that is adhered to in whole or in part by this definition.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        derivedFromUri:
          description: The URL pointing to an externally-defined type of specimen, guideline
            or other definition that is adhered to in whole or in part by this definition.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _derivedFromUri:
          description: Extensions for derivedFromUri
          items:
            $ref: '#/components/schemas/Element'
          type: array
        subjectCodeableConcept:
          description: A code or group definition that describes the intended subject  from
            which this kind of specimen is to be collected.
          $ref: '#/components/schemas/CodeableConcept'
        subjectReference:
          description: A code or group definition that describes the intended subject  from
            which this kind of specimen is to be collected.
          $ref: '#/components/schemas/Reference'
        typeCollected:
          description: The kind of material to be collected.
          $ref: '#/components/schemas/CodeableConcept'
        patientPreparation:
          description: Preparation of the patient for specimen collection.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        timeAspect:
          description: Time aspect of specimen collection (duration or offset).
          $ref: '#/components/schemas/string'
        _timeAspect:
          description: Extensions for timeAspect
          $ref: '#/components/schemas/Element'
        collection:
          description: The action to be performed for collecting the specimen.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        typeTested:
          description: Specimen conditioned in a container as expected by the testing
            laboratory.
          items:
            $ref: '#/components/schemas/SpecimenDefinition_TypeTested'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    SpecimenDefinition_TypeTested:
      description: A kind of specimen with associated set of requirements.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        isDerived:
          description: Primary of secondary specimen.
          $ref: '#/components/schemas/boolean'
        _isDerived:
          description: Extensions for isDerived
          $ref: '#/components/schemas/Element'
        type:
          description: The kind of specimen conditioned for testing expected by lab.
          $ref: '#/components/schemas/CodeableConcept'
        preference:
          description: The preference for this type of conditioned specimen.
          $ref: '#/components/schemas/code'
        _preference:
          description: Extensions for preference
          $ref: '#/components/schemas/Element'
        container:
          description: The specimen's container.
          $ref: '#/components/schemas/SpecimenDefinition_Container'
        requirement:
          description: Requirements for delivery and special handling of this kind of
            conditioned specimen.
          $ref: '#/components/schemas/markdown'
        _requirement:
          description: Extensions for requirement
          $ref: '#/components/schemas/Element'
        retentionTime:
          description: The usual time that a specimen of this kind is retained after
            the ordered tests are completed, for the purpose of additional testing.
          $ref: '#/components/schemas/Duration'
        singleUse:
          description: Specimen can be used by only one test or panel if the value is
            "true".
          $ref: '#/components/schemas/boolean'
        _singleUse:
          description: Extensions for singleUse
          $ref: '#/components/schemas/Element'
        rejectionCriterion:
          description: Criterion for rejection of the specimen in its container by the
            laboratory.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        handling:
          description: Set of instructions for preservation/transport of the specimen
            at a defined temperature interval, prior the testing process.
          items:
            $ref: '#/components/schemas/SpecimenDefinition_Handling'
          type: array
        testingDestination:
          description: 'Where the specimen will be tested: e.g., lab, sector, device
            or any combination of these.'
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
    SpecimenDefinition_Container:
      description: A kind of specimen with associated set of requirements.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        material:
          description: The type of material of the container.
          $ref: '#/components/schemas/CodeableConcept'
        type:
          description: The type of container used to contain this kind of specimen.
          $ref: '#/components/schemas/CodeableConcept'
        cap:
          description: Color of container cap.
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: The textual description of the kind of container.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        capacity:
          description: The capacity (volume or other measure) of this kind of container.
          $ref: '#/components/schemas/Quantity'
        minimumVolumeQuantity:
          description: The minimum volume to be conditioned in the container.
          $ref: '#/components/schemas/Quantity'
        minimumVolumeString:
          description: The minimum volume to be conditioned in the container.
          pattern: ^^[\s\S]+$$
          type: string
        _minimumVolumeString:
          description: Extensions for minimumVolumeString
          $ref: '#/components/schemas/Element'
        additive:
          description: 'Substance introduced in the kind of container to preserve, maintain
            or enhance the specimen. Examples: Formalin, Citrate, EDTA.'
          items:
            $ref: '#/components/schemas/SpecimenDefinition_Additive'
          type: array
        preparation:
          description: Special processing that should be applied to the container for
            this kind of specimen.
          $ref: '#/components/schemas/markdown'
        _preparation:
          description: Extensions for preparation
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    SpecimenDefinition_Additive:
      description: A kind of specimen with associated set of requirements.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        additiveCodeableConcept:
          description: 'Substance introduced in the kind of container to preserve, maintain
            or enhance the specimen. Examples: Formalin, Citrate, EDTA.'
          $ref: '#/components/schemas/CodeableConcept'
        additiveReference:
          description: 'Substance introduced in the kind of container to preserve, maintain
            or enhance the specimen. Examples: Formalin, Citrate, EDTA.'
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    SpecimenDefinition_Handling:
      description: A kind of specimen with associated set of requirements.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        temperatureQualifier:
          description: It qualifies the interval of temperature, which characterizes
            an occurrence of handling. Conditions that are not related to temperature
            may be handled in the instruction element.
          $ref: '#/components/schemas/CodeableConcept'
        temperatureRange:
          description: The temperature interval for this set of handling instructions.
          $ref: '#/components/schemas/Range'
        maxDuration:
          description: The maximum time interval of preservation of the specimen with
            these conditions.
          $ref: '#/components/schemas/Duration'
        instruction:
          description: Additional textual instructions for the preservation or transport
            of the specimen. For instance, 'Protect from light exposure'.
          $ref: '#/components/schemas/markdown'
        _instruction:
          description: Extensions for instruction
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    StructureDefinition:
      description: A definition of a FHIR structure. This resource is used to describe
        the underlying resources, data types defined in FHIR, and also for describing
        extensions and constraints on resources and data types.
      properties:
        resourceType:
          description: This is a StructureDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this structure definition
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this structure
            definition is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the structure definition is stored
            on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this structure definition
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the structure
            definition when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the structure definition author and
            is not expected to be globally unique. There is no expectation that versions
            can be placed in a lexicographical sequence, so authors are encouraged to
            populate the StructureDefinition.versionAlgorithm[x] element to enable comparisons.
            If there is no managed version available, authors can consider using ISO
            date/time syntax (e.g., '2023-01-01').
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the structure definition.
            This name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the structure definition.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this structure definition. Enables tracking the
            life-cycle of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this structure definition is
            authored for testing purposes (or education/evaluation/marketing) and is
            not intended to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the structure definition
            was last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the structure definition changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the structure definition.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the structure definition
            from a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            structure definition instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the structure definition
            is intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this structure definition is needed and why
            it has been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the structure definition and/or
            its contents. Copyright statements are generally legal restrictions on the
            use and publishing of the structure definition.  The short copyright declaration
            (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel
            element.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        keyword:
          description: (DEPRECATED) A set of key words or terms from external terminologies
            that may be used to assist with indexing and searching of templates nby
            describing the use of this structure definition, or the content it describes.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        fhirVersion:
          description: The version of the FHIR specification on which this StructureDefinition
            is based - this is the formal version of the specification, without the
            revision number, e.g. [publication].[major].[minor], which is 4.6.0. for
            this version.
          $ref: '#/components/schemas/code'
        _fhirVersion:
          description: Extensions for fhirVersion
          $ref: '#/components/schemas/Element'
        mapping:
          description: An external specification that the content is mapped to.
          items:
            $ref: '#/components/schemas/StructureDefinition_Mapping'
          type: array
        kind:
          description: Defines the kind of structure that this definition is describing.
          $ref: '#/components/schemas/code'
        _kind:
          description: Extensions for kind
          $ref: '#/components/schemas/Element'
        abstract:
          description: Whether structure this definition describes is abstract or not  -
            that is, whether the structure is not intended to be instantiated. For Resources
            and Data types, abstract types will never be exchanged  between systems.
          $ref: '#/components/schemas/boolean'
        _abstract:
          description: Extensions for abstract
          $ref: '#/components/schemas/Element'
        context:
          description: Identifies the types of resource or data type elements to which
            the extension can be applied. For more guidance on using the 'context' element,
            see the [defining extensions page](defining-extensions.html#context).
          items:
            $ref: '#/components/schemas/StructureDefinition_Context'
          type: array
        contextInvariant:
          description: A set of rules as FHIRPath Invariants about when the extension
            can be used (e.g. co-occurrence variants for the extension). All the rules
            must be true.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _contextInvariant:
          description: Extensions for contextInvariant
          items:
            $ref: '#/components/schemas/Element'
          type: array
        type:
          description: The type this structure describes. If the derivation kind is
            'specialization' then this is the master definition for a type, and there
            is always one of these (a data type, an extension, a resource, including
            abstract ones). Otherwise the structure definition is a constraint on the
            stated type (and in this case, the type cannot be an abstract type).  References
            are URLs that are relative to http://hl7.org/fhir/StructureDefinition e.g.
            "string" is a reference to http://hl7.org/fhir/StructureDefinition/string.
            Absolute URLs are only allowed in logical models, where they are required.
          $ref: '#/components/schemas/uri'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        baseDefinition:
          description: An absolute URI that is the base structure from which this type
            is derived, either by specialization or constraint.
          $ref: '#/components/schemas/canonical'
        derivation:
          description: How the type relates to the baseDefinition.
          $ref: '#/components/schemas/code'
        _derivation:
          description: Extensions for derivation
          $ref: '#/components/schemas/Element'
        snapshot:
          description: A snapshot view is expressed in a standalone form that can be
            used and interpreted without considering the base StructureDefinition.
          $ref: '#/components/schemas/StructureDefinition_Snapshot'
        differential:
          description: A differential view is expressed relative to the base StructureDefinition
            - a statement of differences that it applies.
          $ref: '#/components/schemas/StructureDefinition_Differential'
      type: object
      additionalProperties: false
      required:
      - resourceType
    StructureDefinition_Mapping:
      description: A definition of a FHIR structure. This resource is used to describe
        the underlying resources, data types defined in FHIR, and also for describing
        extensions and constraints on resources and data types.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identity:
          description: An Internal id that is used to identify this mapping set when
            specific mappings are made.
          $ref: '#/components/schemas/id'
        _identity:
          description: Extensions for identity
          $ref: '#/components/schemas/Element'
        uri:
          description: An absolute URI that identifies the specification that this mapping
            is expressed to.
          $ref: '#/components/schemas/uri'
        _uri:
          description: Extensions for uri
          $ref: '#/components/schemas/Element'
        name:
          description: A name for the specification that is being mapped to.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        comment:
          description: Comments about this mapping, including version notes, issues,
            scope limitations, and other important notes for usage.
          $ref: '#/components/schemas/string'
        _comment:
          description: Extensions for comment
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    StructureDefinition_Context:
      description: A definition of a FHIR structure. This resource is used to describe
        the underlying resources, data types defined in FHIR, and also for describing
        extensions and constraints on resources and data types.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Defines how to interpret the expression that defines what the
            context of the extension is.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        expression:
          description: An expression that defines where an extension can be used in
            resources.
          $ref: '#/components/schemas/string'
        _expression:
          description: Extensions for expression
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    StructureDefinition_Snapshot:
      description: A definition of a FHIR structure. This resource is used to describe
        the underlying resources, data types defined in FHIR, and also for describing
        extensions and constraints on resources and data types.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        element:
          description: Captures constraints on each element within the resource.
          items:
            $ref: '#/components/schemas/ElementDefinition'
          type: array
      type: object
      additionalProperties: false
      required:
      - element
    StructureDefinition_Differential:
      description: A definition of a FHIR structure. This resource is used to describe
        the underlying resources, data types defined in FHIR, and also for describing
        extensions and constraints on resources and data types.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        element:
          description: Captures constraints on each element within the resource.
          items:
            $ref: '#/components/schemas/ElementDefinition'
          type: array
      type: object
      additionalProperties: false
      required:
      - element
    StructureMap:
      description: A Map of relationships between 2 structures that can be used to transform
        data.
      properties:
        resourceType:
          description: This is a StructureMap resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this structure map when
            it is referenced in a specification, model, design or an instance; also
            called its canonical identifier. This SHOULD be globally unique and SHOULD
            be a literal address at which an authoritative instance of this structure
            map is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the structure map is stored on
            different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this structure map
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the structure
            map when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the structure map author and is not
            expected to be globally unique. For example, it might be a timestamp (e.g.
            yyyymmdd) if a managed version is not available. There is also no expectation
            that versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the structure map. This name
            should be usable as an identifier for the module by machine processing applications
            such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the structure map.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this structure map. Enables tracking the life-cycle
            of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this structure map is authored
            for testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the structure map was last
            significantly changed. The date must change when the business version changes
            and it must change if the status code changes. In addition, it should change
            when the substantive content of the structure map changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the structure map.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the structure map
            from a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            structure map instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the structure map is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this structure map is needed and why it has
            been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the structure map and/or its
            contents. Copyright statements are generally legal restrictions on the use
            and publishing of the structure map.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        structure:
          description: A structure definition used by this map. The structure definition
            may describe instances that are converted, or the instances that are produced.
          items:
            $ref: '#/components/schemas/StructureMap_Structure'
          type: array
        import:
          description: Other maps used by this map (canonical URLs).
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        const:
          description: Definition of a constant value used in the map rules.
          items:
            $ref: '#/components/schemas/StructureMap_Const'
          type: array
        group:
          description: Organizes the mapping into managable chunks for human review/ease
            of maintenance.
          items:
            $ref: '#/components/schemas/StructureMap_Group'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
      - group
    StructureMap_Structure:
      description: A Map of relationships between 2 structures that can be used to transform
        data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: The canonical reference to the structure.
          $ref: '#/components/schemas/canonical'
        mode:
          description: How the referenced structure is used in this mapping.
          $ref: '#/components/schemas/code'
        _mode:
          description: Extensions for mode
          $ref: '#/components/schemas/Element'
        alias:
          description: The name used for this type in the map.
          $ref: '#/components/schemas/string'
        _alias:
          description: Extensions for alias
          $ref: '#/components/schemas/Element'
        documentation:
          description: Documentation that describes how the structure is used in the
            mapping.
          $ref: '#/components/schemas/string'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - url
    StructureMap_Const:
      description: A Map of relationships between 2 structures that can be used to transform
        data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: Other maps used by this map (canonical URLs).
          $ref: '#/components/schemas/id'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        value:
          description: A FHIRPath expression that is the value of this variable.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    StructureMap_Group:
      description: A Map of relationships between 2 structures that can be used to transform
        data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: A unique name for the group for the convenience of human readers.
          $ref: '#/components/schemas/id'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        extends:
          description: Another group that this group adds rules to.
          $ref: '#/components/schemas/id'
        _extends:
          description: Extensions for extends
          $ref: '#/components/schemas/Element'
        typeMode:
          description: If this is the default rule set to apply for the source type
            or this combination of types.
          $ref: '#/components/schemas/code'
        _typeMode:
          description: Extensions for typeMode
          $ref: '#/components/schemas/Element'
        documentation:
          description: Additional supporting documentation that explains the purpose
            of the group and the types of mappings within it.
          $ref: '#/components/schemas/string'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
        input:
          description: A name assigned to an instance of data. The instance must be
            provided when the mapping is invoked.
          items:
            $ref: '#/components/schemas/StructureMap_Input'
          type: array
        rule:
          description: Transform Rule from source to target.
          items:
            $ref: '#/components/schemas/StructureMap_Rule'
          type: array
      type: object
      additionalProperties: false
      required:
      - input
    StructureMap_Input:
      description: A Map of relationships between 2 structures that can be used to transform
        data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: Name for this instance of data.
          $ref: '#/components/schemas/id'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        type:
          description: Type for this instance of data.
          $ref: '#/components/schemas/string'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        mode:
          description: Mode for this instance of data.
          $ref: '#/components/schemas/code'
        _mode:
          description: Extensions for mode
          $ref: '#/components/schemas/Element'
        documentation:
          description: Documentation for this instance of data.
          $ref: '#/components/schemas/string'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    StructureMap_Rule:
      description: A Map of relationships between 2 structures that can be used to transform
        data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: Name of the rule for internal references.
          $ref: '#/components/schemas/id'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        source:
          description: Source inputs to the mapping.
          items:
            $ref: '#/components/schemas/StructureMap_Source'
          type: array
        target:
          description: Content to create because of this mapping rule.
          items:
            $ref: '#/components/schemas/StructureMap_Target'
          type: array
        rule:
          description: Rules contained in this rule.
          items:
            $ref: '#/components/schemas/StructureMap_Rule'
          type: array
        dependent:
          description: Which other rules to apply in the context of this rule.
          items:
            $ref: '#/components/schemas/StructureMap_Dependent'
          type: array
        documentation:
          description: Documentation for this instance of data.
          $ref: '#/components/schemas/string'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - source
    StructureMap_Source:
      description: A Map of relationships between 2 structures that can be used to transform
        data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        context:
          description: Type or variable this rule applies to.
          $ref: '#/components/schemas/id'
        _context:
          description: Extensions for context
          $ref: '#/components/schemas/Element'
        min:
          description: Specified minimum cardinality for the element. This is optional;
            if present, it acts an implicit check on the input content.
          $ref: '#/components/schemas/integer'
        _min:
          description: Extensions for min
          $ref: '#/components/schemas/Element'
        max:
          description: Specified maximum cardinality for the element - a number or a
            "*". This is optional; if present, it acts an implicit check on the input
            content (* just serves as documentation; it's the default value).
          $ref: '#/components/schemas/string'
        _max:
          description: Extensions for max
          $ref: '#/components/schemas/Element'
        type:
          description: Specified type for the element. This works as a condition on
            the mapping - use for polymorphic elements.
          $ref: '#/components/schemas/string'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        defaultValue:
          description: A value to use if there is no existing value in the source object.
          $ref: '#/components/schemas/string'
        _defaultValue:
          description: Extensions for defaultValue
          $ref: '#/components/schemas/Element'
        element:
          description: Optional field for this source.
          $ref: '#/components/schemas/string'
        _element:
          description: Extensions for element
          $ref: '#/components/schemas/Element'
        listMode:
          description: How to handle the list mode for this element.
          $ref: '#/components/schemas/code'
        _listMode:
          description: Extensions for listMode
          $ref: '#/components/schemas/Element'
        variable:
          description: Named context for field, if a field is specified.
          $ref: '#/components/schemas/id'
        _variable:
          description: Extensions for variable
          $ref: '#/components/schemas/Element'
        condition:
          description: FHIRPath expression  - must be true or the rule does not apply.
          $ref: '#/components/schemas/string'
        _condition:
          description: Extensions for condition
          $ref: '#/components/schemas/Element'
        check:
          description: FHIRPath expression  - must be true or the mapping engine throws
            an error instead of completing.
          $ref: '#/components/schemas/string'
        _check:
          description: Extensions for check
          $ref: '#/components/schemas/Element'
        logMessage:
          description: A FHIRPath expression which specifies a message to put in the
            transform log when content matching the source rule is found.
          $ref: '#/components/schemas/string'
        _logMessage:
          description: Extensions for logMessage
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    StructureMap_Target:
      description: A Map of relationships between 2 structures that can be used to transform
        data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        context:
          description: Variable this rule applies to.
          $ref: '#/components/schemas/string'
        _context:
          description: Extensions for context
          $ref: '#/components/schemas/Element'
        element:
          description: Field to create in the context.
          $ref: '#/components/schemas/string'
        _element:
          description: Extensions for element
          $ref: '#/components/schemas/Element'
        variable:
          description: Named context for field, if desired, and a field is specified.
          $ref: '#/components/schemas/id'
        _variable:
          description: Extensions for variable
          $ref: '#/components/schemas/Element'
        listMode:
          description: If field is a list, how to manage the list.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _listMode:
          description: Extensions for listMode
          items:
            $ref: '#/components/schemas/Element'
          type: array
        listRuleId:
          description: Internal rule reference for shared list items.
          $ref: '#/components/schemas/id'
        _listRuleId:
          description: Extensions for listRuleId
          $ref: '#/components/schemas/Element'
        transform:
          description: How the data is copied / created.
          $ref: '#/components/schemas/code'
        _transform:
          description: Extensions for transform
          $ref: '#/components/schemas/Element'
        parameter:
          description: Parameters to the transform.
          items:
            $ref: '#/components/schemas/StructureMap_Parameter'
          type: array
      type: object
      additionalProperties: false
    StructureMap_Parameter:
      description: A Map of relationships between 2 structures that can be used to transform
        data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        valueId:
          description: Parameter value - variable or literal.
          pattern: ^[A-Za-z0-9\-\.]{1,64}$
          type: string
        _valueId:
          description: Extensions for valueId
          $ref: '#/components/schemas/Element'
        valueString:
          description: Parameter value - variable or literal.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: Parameter value - variable or literal.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: Parameter value - variable or literal.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: Parameter value - variable or literal.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
        valueDate:
          description: Parameter value - variable or literal.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueTime:
          description: Parameter value - variable or literal.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _valueTime:
          description: Extensions for valueTime
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: Parameter value - variable or literal.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    StructureMap_Dependent:
      description: A Map of relationships between 2 structures that can be used to transform
        data.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: Name of a rule or group to apply.
          $ref: '#/components/schemas/id'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        parameter:
          description: Parameter to pass to the rule or group.
          items:
            $ref: '#/components/schemas/StructureMap_Parameter'
          type: array
      type: object
      additionalProperties: false
      required:
      - parameter
    Subscription:
      description: The subscription resource describes a particular client's request
        to be notified about a SubscriptionTopic.
      properties:
        resourceType:
          description: This is a Subscription resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A formal identifier that is used to identify this code system
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        name:
          description: A natural language name identifying the subscription.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        status:
          description: The status of the subscription, which marks the server state
            for managing the subscription.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        topic:
          description: The reference to the subscription topic to be notified about.
          $ref: '#/components/schemas/canonical'
        contact:
          description: Contact details for a human to contact about the subscription.
            The primary use of this for system administrator troubleshooting.
          items:
            $ref: '#/components/schemas/ContactPoint'
          type: array
        end:
          description: The time for the server to turn the subscription off.
          $ref: '#/components/schemas/instant'
        _end:
          description: Extensions for end
          $ref: '#/components/schemas/Element'
        managingEntity:
          description: Entity with authorization to make subsequent revisions to the
            Subscription and also determines what data the subscription is authorized
            to disclose.
          $ref: '#/components/schemas/Reference'
        reason:
          description: A description of why this subscription is defined.
          $ref: '#/components/schemas/string'
        _reason:
          description: Extensions for reason
          $ref: '#/components/schemas/Element'
        filterBy:
          description: The filter properties to be applied to narrow the subscription
            topic stream.  When multiple filters are applied, evaluates to true if all
            the conditions applicable to that resource are met; otherwise it returns
            false (i.e., logical AND).
          items:
            $ref: '#/components/schemas/Subscription_FilterBy'
          type: array
        channelType:
          description: The type of channel to send notifications on.
          $ref: '#/components/schemas/Coding'
        endpoint:
          description: The url that describes the actual end-point to send notifications
            to.
          $ref: '#/components/schemas/url'
        _endpoint:
          description: Extensions for endpoint
          $ref: '#/components/schemas/Element'
        parameter:
          description: Channel-dependent information to send as part of the notification
            (e.g., HTTP Headers).
          items:
            $ref: '#/components/schemas/Subscription_Parameter'
          type: array
        heartbeatPeriod:
          description: If present, a 'heartbeat' notification (keep-alive) is sent via
            this channel with an interval period equal to this elements integer value
            in seconds.  If not present, a heartbeat notification is not sent.
          $ref: '#/components/schemas/unsignedInt'
        _heartbeatPeriod:
          description: Extensions for heartbeatPeriod
          $ref: '#/components/schemas/Element'
        timeout:
          description: If present, the maximum amount of time a server will allow before
            failing a notification attempt.
          $ref: '#/components/schemas/unsignedInt'
        _timeout:
          description: Extensions for timeout
          $ref: '#/components/schemas/Element'
        contentType:
          description: 'The MIME type to send the payload in - e.g., `application/fhir+xml`
            or `application/fhir+json`. Note that:


            * clients may request notifications in a specific FHIR version by using
            the [FHIR Version Parameter](http.html#version-parameter) - e.g., `application/fhir+json;
            fhirVersion=4.0`.


            * additional MIME types can be allowed by channels - e.g., `text/plain`
            and `text/html` are defined by the Email channel.'
          $ref: '#/components/schemas/code'
        _contentType:
          description: Extensions for contentType
          $ref: '#/components/schemas/Element'
        content:
          description: How much of the resource content to deliver in the notification
            payload. The choices are an empty payload, only the resource id, or the
            full resource content.
          $ref: '#/components/schemas/code'
        _content:
          description: Extensions for content
          $ref: '#/components/schemas/Element'
        maxCount:
          description: If present, the maximum number of events that will be included
            in a notification bundle. Note that this is not a strict limit on the number
            of entries in a bundle, as dependent resources can be included.
          $ref: '#/components/schemas/positiveInt'
        _maxCount:
          description: Extensions for maxCount
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - topic
      - channelType
      - resourceType
    Subscription_FilterBy:
      description: The subscription resource describes a particular client's request
        to be notified about a SubscriptionTopic.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        resourceType:
          description: A resource listed in the `SubscriptionTopic` this `Subscription`
            references (`SubscriptionTopic.canFilterBy.resource`). This element can
            be used to differentiate filters for topics that include more than one resource
            type.
          $ref: '#/components/schemas/uri'
        _resourceType:
          description: Extensions for resourceType
          $ref: '#/components/schemas/Element'
        filterParameter:
          description: The filter as defined in the `SubscriptionTopic.canFilterBy.filterParameter`
            element.
          $ref: '#/components/schemas/string'
        _filterParameter:
          description: Extensions for filterParameter
          $ref: '#/components/schemas/Element'
        comparator:
          description: Comparator applied to this filter parameter.
          $ref: '#/components/schemas/code'
        _comparator:
          description: Extensions for comparator
          $ref: '#/components/schemas/Element'
        modifier:
          description: Modifier applied to this filter parameter.
          $ref: '#/components/schemas/code'
        _modifier:
          description: Extensions for modifier
          $ref: '#/components/schemas/Element'
        value:
          description: The literal value or resource path as is legal in search - for
            example, `Patient/123` or `le1950`.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Subscription_Parameter:
      description: The subscription resource describes a particular client's request
        to be notified about a SubscriptionTopic.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: Parameter name for information passed to the channel for notifications,
            for example in the case of a REST hook wanting to pass through an authorization
            header, the name would be Authorization.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        value:
          description: Parameter value for information passed to the channel for notifications,
            for example in the case of a REST hook wanting to pass through an authorization
            header, the value would be `Bearer 0193...`.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    SubscriptionStatus:
      description: The SubscriptionStatus resource describes the state of a Subscription
        during notifications.
      properties:
        resourceType:
          description: This is a SubscriptionStatus resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        status:
          description: The status of the subscription, which marks the server state
            for managing the subscription.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        type:
          description: The type of event being conveyed with this notification.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        eventsSinceSubscriptionStart:
          description: The total number of actual events which have been generated since
            the Subscription was created (inclusive of this notification) - regardless
            of how many have been successfully communicated.  This number is NOT incremented
            for handshake and heartbeat notifications.
          $ref: '#/components/schemas/integer64'
        _eventsSinceSubscriptionStart:
          description: Extensions for eventsSinceSubscriptionStart
          $ref: '#/components/schemas/Element'
        notificationEvent:
          description: Detailed information about events relevant to this subscription
            notification.
          items:
            $ref: '#/components/schemas/SubscriptionStatus_NotificationEvent'
          type: array
        subscription:
          description: The reference to the Subscription which generated this notification.
          $ref: '#/components/schemas/Reference'
        topic:
          description: The reference to the SubscriptionTopic for the Subscription which
            generated this notification.
          $ref: '#/components/schemas/canonical'
        error:
          description: A record of errors that occurred when the server processed a
            notification.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
      required:
      - subscription
      - resourceType
    SubscriptionStatus_NotificationEvent:
      description: The SubscriptionStatus resource describes the state of a Subscription
        during notifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        eventNumber:
          description: Either the sequential number of this event in this subscription
            context or a relative event number for this notification.
          $ref: '#/components/schemas/integer64'
        _eventNumber:
          description: Extensions for eventNumber
          $ref: '#/components/schemas/Element'
        timestamp:
          description: The actual time this event occurred on the server.
          $ref: '#/components/schemas/instant'
        _timestamp:
          description: Extensions for timestamp
          $ref: '#/components/schemas/Element'
        focus:
          description: The focus of this event. While this will usually be a reference
            to the focus resource of the event, it MAY contain a reference to a non-FHIR
            object.
          $ref: '#/components/schemas/Reference'
        additionalContext:
          description: Additional context information for this event. Generally, this
            will contain references to additional resources included with the event
            (e.g., the Patient relevant to an Encounter), however it MAY refer to non-FHIR
            objects.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    SubscriptionTopic:
      description: Describes a stream of resource state changes or events and annotated
        with labels useful to filter projections from this topic.
      properties:
        resourceType:
          description: This is a SubscriptionTopic resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this subscription topic
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this subscription
            topic is (or will be) published. This URL can be the target of a canonical
            reference. It SHALL remain the same when the subscription topic is stored
            on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: Business identifiers assigned to this subscription topic by the
            performer and/or other systems.  These identifiers remain constant as the
            resource is updated and propagates from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the subscription
            topic when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the Topic author and is not expected
            to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd)
            if a managed version is not available. There is also no expectation that
            versions are orderable.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the subscription topic This
            name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the subscription
            topic.  For example, "admission".
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The current state of the SubscriptionTopic.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A flag to indicate that this TopSubscriptionTopicic is authored
            for testing purposes (or education/evaluation/marketing), and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date (and optionally time) when the subscription topic was
            last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the subscription topic changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: Helps establish the "authority/credibility" of the SubscriptionTopic.  May
            also allow for contact.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the Topic from the
            consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These terms may be used to assist with indexing
            and searching of code system definitions.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A jurisdiction in which the Topic is intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explains why this Topic is needed and why it has been designed
            as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the SubscriptionTopic and/or
            its contents. Copyright statements are generally legal restrictions on the
            use and publishing of the SubscriptionTopic.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        derivedFrom:
          description: The canonical URL pointing to another FHIR-defined SubscriptionTopic
            that is adhered to in whole or in part by this SubscriptionTopic.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        approvalDate:
          description: The date on which the asset content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the asset content was last reviewed. Review
            happens periodically after that, but doesn't change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the SubscriptionTopic content was or
            is planned to be effective.
          $ref: '#/components/schemas/Period'
        resourceTrigger:
          description: A definition of a resource-based event that triggers a notification
            based on the SubscriptionTopic. The criteria may be just a human readable
            description and/or a full FHIR search string or FHIRPath expression. Multiple
            triggers are considered OR joined (e.g., a resource update matching ANY
            of the definitions will trigger a notification).
          items:
            $ref: '#/components/schemas/SubscriptionTopic_ResourceTrigger'
          type: array
        eventTrigger:
          description: Event definition which can be used to trigger the SubscriptionTopic.
          items:
            $ref: '#/components/schemas/SubscriptionTopic_EventTrigger'
          type: array
        canFilterBy:
          description: List of properties by which Subscriptions on the SubscriptionTopic
            can be filtered. May be defined Search Parameters (e.g., Encounter.patient)
            or parameters defined within this SubscriptionTopic context (e.g., hub.event).
          items:
            $ref: '#/components/schemas/SubscriptionTopic_CanFilterBy'
          type: array
        notificationShape:
          description: List of properties to describe the shape (e.g., resources) included
            in notifications from this Subscription Topic.
          items:
            $ref: '#/components/schemas/SubscriptionTopic_NotificationShape'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    SubscriptionTopic_ResourceTrigger:
      description: Describes a stream of resource state changes or events and annotated
        with labels useful to filter projections from this topic.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: The human readable description of this resource trigger for the
            SubscriptionTopic -  for example, "An Encounter enters the 'in-progress'
            state".
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        resource:
          description: URL of the Resource that is the type used in this resource trigger.  Relative
            URLs are relative to the StructureDefinition root of the implemented FHIR
            version (e.g., http://hl7.org/fhir/StructureDefinition). For example, "Patient"
            maps to http://hl7.org/fhir/StructureDefinition/Patient.  For more information,
            see <a href="elementdefinition-definitions.html#ElementDefinition.type.code">ElementDefinition.type.code</a>.
          $ref: '#/components/schemas/uri'
        _resource:
          description: Extensions for resource
          $ref: '#/components/schemas/Element'
        supportedInteraction:
          description: The FHIR RESTful interaction which can be used to trigger a notification
            for the SubscriptionTopic. Multiple values are considered OR joined (e.g.,
            CREATE or UPDATE). If not present, all supported interactions are assumed.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _supportedInteraction:
          description: Extensions for supportedInteraction
          items:
            $ref: '#/components/schemas/Element'
          type: array
        queryCriteria:
          description: The FHIR query based rules that the server should use to determine
            when to trigger a notification for this subscription topic.
          $ref: '#/components/schemas/SubscriptionTopic_QueryCriteria'
        fhirPathCriteria:
          description: The FHIRPath based rules that the server should use to determine
            when to trigger a notification for this topic.
          $ref: '#/components/schemas/string'
        _fhirPathCriteria:
          description: Extensions for fhirPathCriteria
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    SubscriptionTopic_QueryCriteria:
      description: Describes a stream of resource state changes or events and annotated
        with labels useful to filter projections from this topic.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        previous:
          description: The FHIR query based rules are applied to the previous resource
            state (e.g., state before an update).
          $ref: '#/components/schemas/string'
        _previous:
          description: Extensions for previous
          $ref: '#/components/schemas/Element'
        resultForCreate:
          description: For `create` interactions, should the `previous` criteria count
            as an automatic pass or an automatic fail. If not present, the testing behavior
            during `create` interactions is unspecified (server discretion).
          $ref: '#/components/schemas/code'
        _resultForCreate:
          description: Extensions for resultForCreate
          $ref: '#/components/schemas/Element'
        current:
          description: The FHIR query based rules are applied to the current resource
            state (e.g., state after an update).
          $ref: '#/components/schemas/string'
        _current:
          description: Extensions for current
          $ref: '#/components/schemas/Element'
        resultForDelete:
          description: For 'delete' interactions, should the 'current' query criteria
            count as an automatic pass or an automatic fail. If not present, the testing
            behavior during `delete` interactions is unspecified (server discretion).
          $ref: '#/components/schemas/code'
        _resultForDelete:
          description: Extensions for resultForDelete
          $ref: '#/components/schemas/Element'
        requireBoth:
          description: If set to `true`, both the `current` and `previous` query criteria
            must evaluate `true` to trigger a notification for this topic.  If set to
            `false` or not present, a notification for this topic will be triggered
            if either the `current` or `previous` tests evaluate to `true`.
          $ref: '#/components/schemas/boolean'
        _requireBoth:
          description: Extensions for requireBoth
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    SubscriptionTopic_EventTrigger:
      description: Describes a stream of resource state changes or events and annotated
        with labels useful to filter projections from this topic.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: The human readable description of an event to trigger a notification
            for the SubscriptionTopic - for example, "Patient Admission, as defined
            in HL7v2 via message ADT^A01". Multiple values are considered OR joined
            (e.g., matching any single event listed).
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        event:
          description: A well-defined event which can be used to trigger notifications
            from the SubscriptionTopic.
          $ref: '#/components/schemas/CodeableConcept'
        resource:
          description: URL of the Resource that is the focus type used in this event
            trigger.  Relative URLs are relative to the StructureDefinition root of
            the implemented FHIR version (e.g., http://hl7.org/fhir/StructureDefinition).
            For example, "Patient" maps to http://hl7.org/fhir/StructureDefinition/Patient.  For
            more information, see <a href="elementdefinition-definitions.html#ElementDefinition.type.code">ElementDefinition.type.code</a>.
          $ref: '#/components/schemas/uri'
        _resource:
          description: Extensions for resource
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - event
    SubscriptionTopic_CanFilterBy:
      description: Describes a stream of resource state changes or events and annotated
        with labels useful to filter projections from this topic.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: Description of how this filtering parameter is intended to be
            used.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        resource:
          description: URL of the Resource that is the type used in this filter. This
            is the "focus" of the topic (or one of them if there are more than one).
            It will be the same, a generality, or a specificity of SubscriptionTopic.resourceTrigger.resource
            or SubscriptionTopic.eventTrigger.resource when they are present.
          $ref: '#/components/schemas/uri'
        _resource:
          description: Extensions for resource
          $ref: '#/components/schemas/Element'
        filterParameter:
          description: Either the canonical URL to a search parameter (like "http://hl7.org/fhir/SearchParameter/encounter-patient")
            or topic-defined parameter (like "hub.event") which is a label for the filter.
          $ref: '#/components/schemas/string'
        _filterParameter:
          description: Extensions for filterParameter
          $ref: '#/components/schemas/Element'
        filterDefinition:
          description: Either the canonical URL to a search parameter (like "http://hl7.org/fhir/SearchParameter/encounter-patient")
            or the officially-defined URI for a shared filter concept (like "http://example.org/concepts/shared-common-event").
          $ref: '#/components/schemas/uri'
        _filterDefinition:
          description: Extensions for filterDefinition
          $ref: '#/components/schemas/Element'
        comparator:
          description: Comparators allowed for the filter parameter.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _comparator:
          description: Extensions for comparator
          items:
            $ref: '#/components/schemas/Element'
          type: array
        modifier:
          description: Modifiers allowed for the filter parameter.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _modifier:
          description: Extensions for modifier
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
    SubscriptionTopic_NotificationShape:
      description: Describes a stream of resource state changes or events and annotated
        with labels useful to filter projections from this topic.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        resource:
          description: URL of the Resource that is the type used in this shape. This
            is the 'focus' resource of the topic (or one of them if there are more than
            one) and the root resource for this shape definition. It will be the same,
            a generality, or a specificity of SubscriptionTopic.resourceTrigger.resource
            or SubscriptionTopic.eventTrigger.resource when they are present.
          $ref: '#/components/schemas/uri'
        _resource:
          description: Extensions for resource
          $ref: '#/components/schemas/Element'
        include:
          description: Search-style _include directives, rooted in the resource for
            this shape. Servers SHOULD include resources listed here, if they exist
            and the user is authorized to receive them.  Clients SHOULD be prepared
            to receive these additional resources, but SHALL function properly without
            them.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _include:
          description: Extensions for include
          items:
            $ref: '#/components/schemas/Element'
          type: array
        revInclude:
          description: Search-style _revinclude directives, rooted in the resource for
            this shape. Servers SHOULD include resources listed here, if they exist
            and the user is authorized to receive them.  Clients SHOULD be prepared
            to receive these additional resources, but SHALL function properly without
            them.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _revInclude:
          description: Extensions for revInclude
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
    Substance:
      description: A homogeneous material with a definite composition.
      properties:
        resourceType:
          description: This is a Substance resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Unique identifier for the substance. For an instance, an identifier
            associated with the package/container (usually a label affixed directly).
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        instance:
          description: A boolean to indicate if this an instance of a substance or a
            kind of one (a definition).
          $ref: '#/components/schemas/boolean'
        _instance:
          description: Extensions for instance
          $ref: '#/components/schemas/Element'
        status:
          description: A code to indicate if the substance is actively used.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        category:
          description: A code that classifies the general type of substance.  This is
            used  for searching, sorting and display purposes.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        code:
          description: A code (or set of codes) that identify this substance.
          $ref: '#/components/schemas/CodeableReference'
        description:
          description: A description of the substance - its appearance, handling requirements,
            and other usage notes.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        expiry:
          description: When the substance is no longer valid to use. For some substances,
            a single arbitrary date is used for expiry.
          $ref: '#/components/schemas/dateTime'
        _expiry:
          description: Extensions for expiry
          $ref: '#/components/schemas/Element'
        quantity:
          description: The amount of the substance.
          $ref: '#/components/schemas/Quantity'
        ingredient:
          description: A substance can be composed of other substances.
          items:
            $ref: '#/components/schemas/Substance_Ingredient'
          type: array
      type: object
      additionalProperties: false
      required:
      - code
      - resourceType
    Substance_Ingredient:
      description: A homogeneous material with a definite composition.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        quantity:
          description: The amount of the ingredient in the substance - a concentration
            ratio.
          $ref: '#/components/schemas/Ratio'
        substanceCodeableConcept:
          description: Another substance that is a component of this substance.
          $ref: '#/components/schemas/CodeableConcept'
        substanceReference:
          description: Another substance that is a component of this substance.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    SubstanceDefinition:
      description: The detailed description of a substance, typically at a level beyond
        what is used for prescribing.
      properties:
        resourceType:
          description: This is a SubstanceDefinition resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifier by which this substance is known.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: A business level version identifier of the substance.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        status:
          description: Status of substance within the catalogue e.g. active, retired.
          $ref: '#/components/schemas/CodeableConcept'
        classification:
          description: A high level categorization, e.g. polymer or nucleic acid, or
            food, chemical, biological, or a lower level such as the general types of
            polymer (linear or branch chain) or type of impurity (process related or
            contaminant).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        domain:
          description: If the substance applies to human or veterinary use.
          $ref: '#/components/schemas/CodeableConcept'
        grade:
          description: The quality standard, established benchmark, to which substance
            complies (e.g. USP/NF, Ph. Eur, JP, BP, Company Standard).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        description:
          description: Textual description of the substance.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        informationSource:
          description: Supporting literature.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        note:
          description: Textual comment about the substance's catalogue or registry record.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        manufacturer:
          description: The entity that creates, makes, produces or fabricates the substance.
            This is a set of potential manufacturers but is not necessarily comprehensive.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        supplier:
          description: An entity that is the source for the substance. It may be different
            from the manufacturer. Supplier is synonymous to a distributor.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        moiety:
          description: Moiety, for structural modifications.
          items:
            $ref: '#/components/schemas/SubstanceDefinition_Moiety'
          type: array
        characterization:
          description: General specifications for this substance.
          items:
            $ref: '#/components/schemas/SubstanceDefinition_Characterization'
          type: array
        property:
          description: General specifications for this substance.
          items:
            $ref: '#/components/schemas/SubstanceDefinition_Property'
          type: array
        referenceInformation:
          description: General information detailing this substance.
          $ref: '#/components/schemas/Reference'
        molecularWeight:
          description: The average mass of a molecule of a compound compared to 1/12
            the mass of carbon 12 and calculated as the sum of the atomic weights of
            the constituent atoms.
          items:
            $ref: '#/components/schemas/SubstanceDefinition_MolecularWeight'
          type: array
        structure:
          description: Structural information.
          $ref: '#/components/schemas/SubstanceDefinition_Structure'
        code:
          description: Codes associated with the substance.
          items:
            $ref: '#/components/schemas/SubstanceDefinition_Code'
          type: array
        name:
          description: Names applicable to this substance.
          items:
            $ref: '#/components/schemas/SubstanceDefinition_Name'
          type: array
        relationship:
          description: A link between this substance and another, with details of the
            relationship.
          items:
            $ref: '#/components/schemas/SubstanceDefinition_Relationship'
          type: array
        nucleicAcid:
          description: Data items specific to nucleic acids.
          $ref: '#/components/schemas/Reference'
        polymer:
          description: Data items specific to polymers.
          $ref: '#/components/schemas/Reference'
        protein:
          description: Data items specific to proteins.
          $ref: '#/components/schemas/Reference'
        sourceMaterial:
          description: Material or taxonomic/anatomical source for the substance.
          $ref: '#/components/schemas/SubstanceDefinition_SourceMaterial'
      type: object
      additionalProperties: false
      required:
      - resourceType
    SubstanceDefinition_Moiety:
      description: The detailed description of a substance, typically at a level beyond
        what is used for prescribing.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        role:
          description: Role that the moiety is playing.
          $ref: '#/components/schemas/CodeableConcept'
        identifier:
          description: Identifier by which this moiety substance is known.
          $ref: '#/components/schemas/Identifier'
        name:
          description: Textual name for this moiety substance.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        stereochemistry:
          description: Stereochemistry type.
          $ref: '#/components/schemas/CodeableConcept'
        opticalActivity:
          description: Optical activity type.
          $ref: '#/components/schemas/CodeableConcept'
        molecularFormula:
          description: Molecular formula for this moiety of this substance, typically
            using the Hill system.
          $ref: '#/components/schemas/string'
        _molecularFormula:
          description: Extensions for molecularFormula
          $ref: '#/components/schemas/Element'
        amountQuantity:
          description: Quantitative value for this moiety.
          $ref: '#/components/schemas/Quantity'
        amountString:
          description: Quantitative value for this moiety.
          pattern: ^^[\s\S]+$$
          type: string
        _amountString:
          description: Extensions for amountString
          $ref: '#/components/schemas/Element'
        measurementType:
          description: The measurement type of the quantitative value. In capturing
            the actual relative amounts of substances or molecular fragments it may
            be necessary to indicate whether the amount refers to, for example, a mole
            ratio or weight ratio.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    SubstanceDefinition_Characterization:
      description: The detailed description of a substance, typically at a level beyond
        what is used for prescribing.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        technique:
          description: 'The method used to elucidate the characterization of the drug
            substance. Example: HPLC.'
          $ref: '#/components/schemas/CodeableConcept'
        form:
          description: Describes the nature of the chemical entity and explains, for
            instance, whether this is a base or a salt form.
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: The description or justification in support of the interpretation
            of the data file.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        file:
          description: 'The data produced by the analytical instrument or a pictorial
            representation of that data. Examples: a JCAMP, JDX, or ADX file, or a chromatogram
            or spectrum analysis.'
          items:
            $ref: '#/components/schemas/Attachment'
          type: array
      type: object
      additionalProperties: false
    SubstanceDefinition_Property:
      description: The detailed description of a substance, typically at a level beyond
        what is used for prescribing.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: A code expressing the type of property.
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableConcept:
          description: A value for the property.
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: A value for the property.
          $ref: '#/components/schemas/Quantity'
        valueDate:
          description: A value for the property.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: A value for the property.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueAttachment:
          description: A value for the property.
          $ref: '#/components/schemas/Attachment'
      type: object
      additionalProperties: false
      required:
      - type
    SubstanceDefinition_MolecularWeight:
      description: The detailed description of a substance, typically at a level beyond
        what is used for prescribing.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        method:
          description: The method by which the molecular weight was determined.
          $ref: '#/components/schemas/CodeableConcept'
        type:
          description: Type of molecular weight such as exact, average (also known as.
            number average), weight average.
          $ref: '#/components/schemas/CodeableConcept'
        amount:
          description: Used to capture quantitative values for a variety of elements.
            If only limits are given, the arithmetic mean would be the average. If only
            a single definite value for a given element is given, it would be captured
            in this field.
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
      required:
      - amount
    SubstanceDefinition_Structure:
      description: The detailed description of a substance, typically at a level beyond
        what is used for prescribing.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        stereochemistry:
          description: Stereochemistry type.
          $ref: '#/components/schemas/CodeableConcept'
        opticalActivity:
          description: Optical activity type.
          $ref: '#/components/schemas/CodeableConcept'
        molecularFormula:
          description: An expression which states the number and type of atoms present
            in a molecule of a substance.
          $ref: '#/components/schemas/string'
        _molecularFormula:
          description: Extensions for molecularFormula
          $ref: '#/components/schemas/Element'
        molecularFormulaByMoiety:
          description: Specified per moiety according to the Hill system, i.e. first
            C, then H, then alphabetical, each moiety separated by a dot.
          $ref: '#/components/schemas/string'
        _molecularFormulaByMoiety:
          description: Extensions for molecularFormulaByMoiety
          $ref: '#/components/schemas/Element'
        molecularWeight:
          description: The molecular weight or weight range (for proteins, polymers
            or nucleic acids).
          $ref: '#/components/schemas/SubstanceDefinition_MolecularWeight'
        technique:
          description: 'The method used to elucidate the structure of the drug substance.
            Examples: X-ray, NMR, Peptide mapping, Ligand binding assay.'
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        sourceDocument:
          description: The source of information about the structure.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        representation:
          description: A depiction of the structure of the substance.
          items:
            $ref: '#/components/schemas/SubstanceDefinition_Representation'
          type: array
      type: object
      additionalProperties: false
    SubstanceDefinition_Representation:
      description: The detailed description of a substance, typically at a level beyond
        what is used for prescribing.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The kind of structural representation (e.g. full, partial).
          $ref: '#/components/schemas/CodeableConcept'
        representation:
          description: The structural representation as a text string in a standard
            format.
          $ref: '#/components/schemas/string'
        _representation:
          description: Extensions for representation
          $ref: '#/components/schemas/Element'
        format:
          description: The format of the representation e.g. InChI, SMILES, MOLFILE,
            CDX, SDF, PDB, mmCIF. The logical content type rather than the physical
            file format of a document.
          $ref: '#/components/schemas/CodeableConcept'
        document:
          description: An attached file with the structural representation e.g. a molecular
            structure graphic of the substance, a JCAMP or AnIML file.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    SubstanceDefinition_Code:
      description: The detailed description of a substance, typically at a level beyond
        what is used for prescribing.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: The specific code.
          $ref: '#/components/schemas/CodeableConcept'
        status:
          description: Status of the code assignment, for example 'provisional', 'approved'.
          $ref: '#/components/schemas/CodeableConcept'
        statusDate:
          description: The date at which the code status was changed as part of the
            terminology maintenance.
          $ref: '#/components/schemas/dateTime'
        _statusDate:
          description: Extensions for statusDate
          $ref: '#/components/schemas/Element'
        note:
          description: Any comment can be provided in this field, if necessary.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        source:
          description: Supporting literature.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    SubstanceDefinition_Name:
      description: The detailed description of a substance, typically at a level beyond
        what is used for prescribing.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: The actual name.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        type:
          description: Name type, for example 'systematic',  'scientific, 'brand'.
          $ref: '#/components/schemas/CodeableConcept'
        status:
          description: The status of the name, for example 'current', 'proposed'.
          $ref: '#/components/schemas/CodeableConcept'
        preferred:
          description: If this is the preferred name for this substance.
          $ref: '#/components/schemas/boolean'
        _preferred:
          description: Extensions for preferred
          $ref: '#/components/schemas/Element'
        language:
          description: Human language that the name is written in.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        domain:
          description: The use context of this name for example if there is a different
            name a drug active ingredient as opposed to a food colour additive.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        jurisdiction:
          description: The jurisdiction where this name applies.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        synonym:
          description: A synonym of this particular name, by which the substance is
            also known.
          items:
            $ref: '#/components/schemas/SubstanceDefinition_Name'
          type: array
        translation:
          description: A translation for this name into another human language.
          items:
            $ref: '#/components/schemas/SubstanceDefinition_Name'
          type: array
        official:
          description: Details of the official nature of this name.
          items:
            $ref: '#/components/schemas/SubstanceDefinition_Official'
          type: array
        source:
          description: Supporting literature.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    SubstanceDefinition_Official:
      description: The detailed description of a substance, typically at a level beyond
        what is used for prescribing.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        authority:
          description: Which authority uses this official name.
          $ref: '#/components/schemas/CodeableConcept'
        status:
          description: The status of the official name, for example 'draft', 'active',
            'retired'.
          $ref: '#/components/schemas/CodeableConcept'
        date:
          description: Date of the official name change.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    SubstanceDefinition_Relationship:
      description: The detailed description of a substance, typically at a level beyond
        what is used for prescribing.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        substanceDefinitionReference:
          description: A pointer to another substance, as a resource or just a representational
            code.
          $ref: '#/components/schemas/Reference'
        substanceDefinitionCodeableConcept:
          description: A pointer to another substance, as a resource or just a representational
            code.
          $ref: '#/components/schemas/CodeableConcept'
        type:
          description: For example "salt to parent", "active moiety", "starting material",
            "polymorph", "impurity of".
          $ref: '#/components/schemas/CodeableConcept'
        isDefining:
          description: For example where an enzyme strongly bonds with a particular
            substance, this is a defining relationship for that enzyme, out of several
            possible substance relationships.
          $ref: '#/components/schemas/boolean'
        _isDefining:
          description: Extensions for isDefining
          $ref: '#/components/schemas/Element'
        amountQuantity:
          description: A numeric factor for the relationship, for instance to express
            that the salt of a substance has some percentage of the active substance
            in relation to some other.
          $ref: '#/components/schemas/Quantity'
        amountRatio:
          description: A numeric factor for the relationship, for instance to express
            that the salt of a substance has some percentage of the active substance
            in relation to some other.
          $ref: '#/components/schemas/Ratio'
        amountString:
          description: A numeric factor for the relationship, for instance to express
            that the salt of a substance has some percentage of the active substance
            in relation to some other.
          pattern: ^^[\s\S]+$$
          type: string
        _amountString:
          description: Extensions for amountString
          $ref: '#/components/schemas/Element'
        ratioHighLimitAmount:
          description: For use when the numeric has an uncertain range.
          $ref: '#/components/schemas/Ratio'
        comparator:
          description: An operator for the amount, for example "average", "approximately",
            "less than".
          $ref: '#/components/schemas/CodeableConcept'
        source:
          description: Supporting literature.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - type
    SubstanceDefinition_SourceMaterial:
      description: The detailed description of a substance, typically at a level beyond
        what is used for prescribing.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: 'A classification that provides the origin of the raw material.
            Example: cat hair would be an Animal source type.'
          $ref: '#/components/schemas/CodeableConcept'
        genus:
          description: The genus of an organism, typically referring to the Latin epithet
            of the genus element of the plant/animal scientific name.
          $ref: '#/components/schemas/CodeableConcept'
        species:
          description: The species of an organism, typically referring to the Latin
            epithet of the species of the plant/animal.
          $ref: '#/components/schemas/CodeableConcept'
        part:
          description: An anatomical origin of the source material within an organism.
          $ref: '#/components/schemas/CodeableConcept'
        countryOfOrigin:
          description: The country or countries where the material is harvested.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
    SubstanceNucleicAcid:
      description: 'Nucleic acids are defined by three distinct elements: the base,
        sugar and linkage. Individual substance/moiety IDs will be created for each
        of these elements. The nucleotide sequence will be always entered in the 5’-3’
        direction.'
      properties:
        resourceType:
          description: This is a SubstanceNucleicAcid resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequenceType:
          description: The type of the sequence shall be specified based on a controlled
            vocabulary.
          $ref: '#/components/schemas/CodeableConcept'
        numberOfSubunits:
          description: 'The number of linear sequences of nucleotides linked through
            phosphodiester bonds shall be described. Subunits would be strands of nucleic
            acids that are tightly associated typically through Watson-Crick base pairing.
            NOTE: If not specified in the reference source, the assumption is that there
            is 1 subunit.'
          $ref: '#/components/schemas/integer'
        _numberOfSubunits:
          description: Extensions for numberOfSubunits
          $ref: '#/components/schemas/Element'
        areaOfHybridisation:
          description: 'The area of hybridisation shall be described if applicable for
            double stranded RNA or DNA. The number associated with the subunit followed
            by the number associated to the residue shall be specified in increasing
            order. The underscore “” shall be used as separator as follows: “Subunitnumber
            Residue”.'
          $ref: '#/components/schemas/string'
        _areaOfHybridisation:
          description: Extensions for areaOfHybridisation
          $ref: '#/components/schemas/Element'
        oligoNucleotideType:
          description: (TBC).
          $ref: '#/components/schemas/CodeableConcept'
        subunit:
          description: Subunits are listed in order of decreasing length; sequences
            of the same length will be ordered by molecular weight; subunits that have
            identical sequences will be repeated multiple times.
          items:
            $ref: '#/components/schemas/SubstanceNucleicAcid_Subunit'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    SubstanceNucleicAcid_Subunit:
      description: 'Nucleic acids are defined by three distinct elements: the base,
        sugar and linkage. Individual substance/moiety IDs will be created for each
        of these elements. The nucleotide sequence will be always entered in the 5’-3’
        direction.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        subunit:
          description: Index of linear sequences of nucleic acids in order of decreasing
            length. Sequences of the same length will be ordered by molecular weight.
            Subunits that have identical sequences will be repeated and have sequential
            subscripts.
          $ref: '#/components/schemas/integer'
        _subunit:
          description: Extensions for subunit
          $ref: '#/components/schemas/Element'
        sequence:
          description: Actual nucleotide sequence notation from 5' to 3' end using standard
            single letter codes. In addition to the base sequence, sugar and type of
            phosphate or non-phosphate linkage should also be captured.
          $ref: '#/components/schemas/string'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        length:
          description: The length of the sequence shall be captured.
          $ref: '#/components/schemas/integer'
        _length:
          description: Extensions for length
          $ref: '#/components/schemas/Element'
        sequenceAttachment:
          description: (TBC).
          $ref: '#/components/schemas/Attachment'
        fivePrime:
          description: The nucleotide present at the 5’ terminal shall be specified
            based on a controlled vocabulary. Since the sequence is represented from
            the 5' to the 3' end, the 5’ prime nucleotide is the letter at the first
            position in the sequence. A separate representation would be redundant.
          $ref: '#/components/schemas/CodeableConcept'
        threePrime:
          description: The nucleotide present at the 3’ terminal shall be specified
            based on a controlled vocabulary. Since the sequence is represented from
            the 5' to the 3' end, the 5’ prime nucleotide is the letter at the last
            position in the sequence. A separate representation would be redundant.
          $ref: '#/components/schemas/CodeableConcept'
        linkage:
          description: The linkages between sugar residues will also be captured.
          items:
            $ref: '#/components/schemas/SubstanceNucleicAcid_Linkage'
          type: array
        sugar:
          description: 5.3.6.8.1 Sugar ID (Mandatory).
          items:
            $ref: '#/components/schemas/SubstanceNucleicAcid_Sugar'
          type: array
      type: object
      additionalProperties: false
    SubstanceNucleicAcid_Linkage:
      description: 'Nucleic acids are defined by three distinct elements: the base,
        sugar and linkage. Individual substance/moiety IDs will be created for each
        of these elements. The nucleotide sequence will be always entered in the 5’-3’
        direction.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        connectivity:
          description: The entity that links the sugar residues together should also
            be captured for nearly all naturally occurring nucleic acid the linkage
            is a phosphate group. For many synthetic oligonucleotides phosphorothioate
            linkages are often seen. Linkage connectivity is assumed to be 3’-5’. If
            the linkage is either 3’-3’ or 5’-5’ this should be specified.
          $ref: '#/components/schemas/string'
        _connectivity:
          description: Extensions for connectivity
          $ref: '#/components/schemas/Element'
        identifier:
          description: Each linkage will be registered as a fragment and have an ID.
          $ref: '#/components/schemas/Identifier'
        name:
          description: Each linkage will be registered as a fragment and have at least
            one name. A single name shall be assigned to each linkage.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        residueSite:
          description: Residues shall be captured as described in 5.3.6.8.3.
          $ref: '#/components/schemas/string'
        _residueSite:
          description: Extensions for residueSite
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    SubstanceNucleicAcid_Sugar:
      description: 'Nucleic acids are defined by three distinct elements: the base,
        sugar and linkage. Individual substance/moiety IDs will be created for each
        of these elements. The nucleotide sequence will be always entered in the 5’-3’
        direction.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: The Substance ID of the sugar or sugar-like component that make
            up the nucleotide.
          $ref: '#/components/schemas/Identifier'
        name:
          description: The name of the sugar or sugar-like component that make up the
            nucleotide.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        residueSite:
          description: The residues that contain a given sugar will be captured. The
            order of given residues will be captured in the 5‘-3‘direction consistent
            with the base sequences listed above.
          $ref: '#/components/schemas/string'
        _residueSite:
          description: Extensions for residueSite
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    SubstancePolymer:
      description: Properties of a substance specific to it being a polymer.
      properties:
        resourceType:
          description: This is a SubstancePolymer resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A business idenfier for this polymer, but typically this is handled
            by a SubstanceDefinition identifier.
          $ref: '#/components/schemas/Identifier'
        class:
          description: Overall type of the polymer.
          $ref: '#/components/schemas/CodeableConcept'
        geometry:
          description: Polymer geometry, e.g. linear, branched, cross-linked, network
            or dendritic.
          $ref: '#/components/schemas/CodeableConcept'
        copolymerConnectivity:
          description: Descrtibes the copolymer sequence type (polymer connectivity).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        modification:
          description: Todo - this is intended to connect to a repeating full modification
            structure, also used by Protein and Nucleic Acid . String is just a placeholder.
          $ref: '#/components/schemas/string'
        _modification:
          description: Extensions for modification
          $ref: '#/components/schemas/Element'
        monomerSet:
          description: Todo.
          items:
            $ref: '#/components/schemas/SubstancePolymer_MonomerSet'
          type: array
        repeat:
          description: Specifies and quantifies the repeated units and their configuration.
          items:
            $ref: '#/components/schemas/SubstancePolymer_Repeat'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    SubstancePolymer_MonomerSet:
      description: Properties of a substance specific to it being a polymer.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        ratioType:
          description: Captures the type of ratio to the entire polymer, e.g. Monomer/Polymer
            ratio, SRU/Polymer Ratio.
          $ref: '#/components/schemas/CodeableConcept'
        startingMaterial:
          description: The starting materials - monomer(s) used in the synthesis of
            the polymer.
          items:
            $ref: '#/components/schemas/SubstancePolymer_StartingMaterial'
          type: array
      type: object
      additionalProperties: false
    SubstancePolymer_StartingMaterial:
      description: Properties of a substance specific to it being a polymer.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: The type of substance for this starting material.
          $ref: '#/components/schemas/CodeableConcept'
        category:
          description: Substance high level category, e.g. chemical substance.
          $ref: '#/components/schemas/CodeableConcept'
        isDefining:
          description: Used to specify whether the attribute described is a defining
            element for the unique identification of the polymer.
          $ref: '#/components/schemas/boolean'
        _isDefining:
          description: Extensions for isDefining
          $ref: '#/components/schemas/Element'
        amount:
          description: A percentage.
          $ref: '#/components/schemas/Quantity'
      type: object
      additionalProperties: false
    SubstancePolymer_Repeat:
      description: Properties of a substance specific to it being a polymer.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        averageMolecularFormula:
          description: A representation of an (average) molecular formula from a polymer.
          $ref: '#/components/schemas/string'
        _averageMolecularFormula:
          description: Extensions for averageMolecularFormula
          $ref: '#/components/schemas/Element'
        repeatUnitAmountType:
          description: How the quantitative amount of Structural Repeat Units is captured
            (e.g. Exact, Numeric, Average).
          $ref: '#/components/schemas/CodeableConcept'
        repeatUnit:
          description: An SRU - Structural Repeat Unit.
          items:
            $ref: '#/components/schemas/SubstancePolymer_RepeatUnit'
          type: array
      type: object
      additionalProperties: false
    SubstancePolymer_RepeatUnit:
      description: Properties of a substance specific to it being a polymer.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        unit:
          description: Structural repeat units are essential elements for defining polymers.
          $ref: '#/components/schemas/string'
        _unit:
          description: Extensions for unit
          $ref: '#/components/schemas/Element'
        orientation:
          description: The orientation of the polymerisation, e.g. head-tail, head-head,
            random.
          $ref: '#/components/schemas/CodeableConcept'
        amount:
          description: Number of repeats of this unit.
          $ref: '#/components/schemas/integer'
        _amount:
          description: Extensions for amount
          $ref: '#/components/schemas/Element'
        degreeOfPolymerisation:
          description: Applies to homopolymer and block co-polymers where the degree
            of polymerisation within a block can be described.
          items:
            $ref: '#/components/schemas/SubstancePolymer_DegreeOfPolymerisation'
          type: array
        structuralRepresentation:
          description: A graphical structure for this SRU.
          items:
            $ref: '#/components/schemas/SubstancePolymer_StructuralRepresentation'
          type: array
      type: object
      additionalProperties: false
    SubstancePolymer_DegreeOfPolymerisation:
      description: Properties of a substance specific to it being a polymer.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of the degree of polymerisation shall be described,
            e.g. SRU/Polymer Ratio.
          $ref: '#/components/schemas/CodeableConcept'
        average:
          description: An average amount of polymerisation.
          $ref: '#/components/schemas/integer'
        _average:
          description: Extensions for average
          $ref: '#/components/schemas/Element'
        low:
          description: A low expected limit of the amount.
          $ref: '#/components/schemas/integer'
        _low:
          description: Extensions for low
          $ref: '#/components/schemas/Element'
        high:
          description: A high expected limit of the amount.
          $ref: '#/components/schemas/integer'
        _high:
          description: Extensions for high
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    SubstancePolymer_StructuralRepresentation:
      description: Properties of a substance specific to it being a polymer.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of structure (e.g. Full, Partial, Representative).
          $ref: '#/components/schemas/CodeableConcept'
        representation:
          description: The structural representation as text string in a standard format
            e.g. InChI, SMILES, MOLFILE, CDX, SDF, PDB, mmCIF.
          $ref: '#/components/schemas/string'
        _representation:
          description: Extensions for representation
          $ref: '#/components/schemas/Element'
        format:
          description: The format of the representation e.g. InChI, SMILES, MOLFILE,
            CDX, SDF, PDB, mmCIF.
          $ref: '#/components/schemas/CodeableConcept'
        attachment:
          description: An attached file with the structural representation.
          $ref: '#/components/schemas/Attachment'
      type: object
      additionalProperties: false
    SubstanceProtein:
      description: A SubstanceProtein is defined as a single unit of a linear amino
        acid sequence, or a combination of subunits that are either covalently linked
        or have a defined invariant stoichiometric relationship. This includes all synthetic,
        recombinant and purified SubstanceProteins of defined sequence, whether the
        use is therapeutic or prophylactic. This set of elements will be used to describe
        albumins, coagulation factors, cytokines, growth factors, peptide/SubstanceProtein
        hormones, enzymes, toxins, toxoids, recombinant vaccines, and immunomodulators.
      properties:
        resourceType:
          description: This is a SubstanceProtein resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequenceType:
          description: The SubstanceProtein descriptive elements will only be used when
            a complete or partial amino acid sequence is available or derivable from
            a nucleic acid sequence.
          $ref: '#/components/schemas/CodeableConcept'
        numberOfSubunits:
          description: Number of linear sequences of amino acids linked through peptide
            bonds. The number of subunits constituting the SubstanceProtein shall be
            described. It is possible that the number of subunits can be variable.
          $ref: '#/components/schemas/integer'
        _numberOfSubunits:
          description: Extensions for numberOfSubunits
          $ref: '#/components/schemas/Element'
        disulfideLinkage:
          description: The disulphide bond between two cysteine residues either on the
            same subunit or on two different subunits shall be described. The position
            of the disulfide bonds in the SubstanceProtein shall be listed in increasing
            order of subunit number and position within subunit followed by the abbreviation
            of the amino acids involved. The disulfide linkage positions shall actually
            contain the amino acid Cysteine at the respective positions.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _disulfideLinkage:
          description: Extensions for disulfideLinkage
          items:
            $ref: '#/components/schemas/Element'
          type: array
        subunit:
          description: This subclause refers to the description of each subunit constituting
            the SubstanceProtein. A subunit is a linear sequence of amino acids linked
            through peptide bonds. The Subunit information shall be provided when the
            finished SubstanceProtein is a complex of multiple sequences; subunits are
            not used to delineate domains within a single sequence. Subunits are listed
            in order of decreasing length; sequences of the same length will be ordered
            by decreasing molecular weight; subunits that have identical sequences will
            be repeated multiple times.
          items:
            $ref: '#/components/schemas/SubstanceProtein_Subunit'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    SubstanceProtein_Subunit:
      description: A SubstanceProtein is defined as a single unit of a linear amino
        acid sequence, or a combination of subunits that are either covalently linked
        or have a defined invariant stoichiometric relationship. This includes all synthetic,
        recombinant and purified SubstanceProteins of defined sequence, whether the
        use is therapeutic or prophylactic. This set of elements will be used to describe
        albumins, coagulation factors, cytokines, growth factors, peptide/SubstanceProtein
        hormones, enzymes, toxins, toxoids, recombinant vaccines, and immunomodulators.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        subunit:
          description: Index of primary sequences of amino acids linked through peptide
            bonds in order of decreasing length. Sequences of the same length will be
            ordered by molecular weight. Subunits that have identical sequences will
            be repeated and have sequential subscripts.
          $ref: '#/components/schemas/integer'
        _subunit:
          description: Extensions for subunit
          $ref: '#/components/schemas/Element'
        sequence:
          description: The sequence information shall be provided enumerating the amino
            acids from N- to C-terminal end using standard single-letter amino acid
            codes. Uppercase shall be used for L-amino acids and lowercase for D-amino
            acids. Transcribed SubstanceProteins will always be described using the
            translated sequence; for synthetic peptide containing amino acids that are
            not represented with a single letter code an X should be used within the
            sequence. The modified amino acids will be distinguished by their position
            in the sequence.
          $ref: '#/components/schemas/string'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        length:
          description: Length of linear sequences of amino acids contained in the subunit.
          $ref: '#/components/schemas/integer'
        _length:
          description: Extensions for length
          $ref: '#/components/schemas/Element'
        sequenceAttachment:
          description: The sequence information shall be provided enumerating the amino
            acids from N- to C-terminal end using standard single-letter amino acid
            codes. Uppercase shall be used for L-amino acids and lowercase for D-amino
            acids. Transcribed SubstanceProteins will always be described using the
            translated sequence; for synthetic peptide containing amino acids that are
            not represented with a single letter code an X should be used within the
            sequence. The modified amino acids will be distinguished by their position
            in the sequence.
          $ref: '#/components/schemas/Attachment'
        nTerminalModificationId:
          description: Unique identifier for molecular fragment modification based on
            the ISO 11238 Substance ID.
          $ref: '#/components/schemas/Identifier'
        nTerminalModification:
          description: The name of the fragment modified at the N-terminal of the SubstanceProtein
            shall be specified.
          $ref: '#/components/schemas/string'
        _nTerminalModification:
          description: Extensions for nTerminalModification
          $ref: '#/components/schemas/Element'
        cTerminalModificationId:
          description: Unique identifier for molecular fragment modification based on
            the ISO 11238 Substance ID.
          $ref: '#/components/schemas/Identifier'
        cTerminalModification:
          description: The modification at the C-terminal shall be specified.
          $ref: '#/components/schemas/string'
        _cTerminalModification:
          description: Extensions for cTerminalModification
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    SubstanceReferenceInformation:
      description: Todo.
      properties:
        resourceType:
          description: This is a SubstanceReferenceInformation resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        comment:
          description: Todo.
          $ref: '#/components/schemas/string'
        _comment:
          description: Extensions for comment
          $ref: '#/components/schemas/Element'
        gene:
          description: Todo.
          items:
            $ref: '#/components/schemas/SubstanceReferenceInformation_Gene'
          type: array
        geneElement:
          description: Todo.
          items:
            $ref: '#/components/schemas/SubstanceReferenceInformation_GeneElement'
          type: array
        target:
          description: Todo.
          items:
            $ref: '#/components/schemas/SubstanceReferenceInformation_Target'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    SubstanceReferenceInformation_Gene:
      description: Todo.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        geneSequenceOrigin:
          description: Todo.
          $ref: '#/components/schemas/CodeableConcept'
        gene:
          description: Todo.
          $ref: '#/components/schemas/CodeableConcept'
        source:
          description: Todo.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    SubstanceReferenceInformation_GeneElement:
      description: Todo.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Todo.
          $ref: '#/components/schemas/CodeableConcept'
        element:
          description: Todo.
          $ref: '#/components/schemas/Identifier'
        source:
          description: Todo.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    SubstanceReferenceInformation_Target:
      description: Todo.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        target:
          description: Todo.
          $ref: '#/components/schemas/Identifier'
        type:
          description: Todo.
          $ref: '#/components/schemas/CodeableConcept'
        interaction:
          description: Todo.
          $ref: '#/components/schemas/CodeableConcept'
        organism:
          description: Todo.
          $ref: '#/components/schemas/CodeableConcept'
        organismType:
          description: Todo.
          $ref: '#/components/schemas/CodeableConcept'
        amountQuantity:
          description: Todo.
          $ref: '#/components/schemas/Quantity'
        amountRange:
          description: Todo.
          $ref: '#/components/schemas/Range'
        amountString:
          description: Todo.
          pattern: ^^[\s\S]+$$
          type: string
        _amountString:
          description: Extensions for amountString
          $ref: '#/components/schemas/Element'
        amountType:
          description: Todo.
          $ref: '#/components/schemas/CodeableConcept'
        source:
          description: Todo.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    SubstanceSourceMaterial:
      description: 'Source material shall capture information on the taxonomic and anatomical
        origins as well as the fraction of a material that can result in or can be modified
        to form a substance. This set of data elements shall be used to define polymer
        substances isolated from biological matrices. Taxonomic and anatomical origins
        shall be described using a controlled vocabulary as required. This information
        is captured for naturally derived polymers ( . starch) and structurally diverse
        substances. For Organisms belonging to the Kingdom Plantae the Substance level
        defines the fresh material of a single species or infraspecies, the Herbal Drug
        and the Herbal preparation. For Herbal preparations, the fraction information
        will be captured at the Substance information level and additional information
        for herbal extracts will be captured at the Specified Substance Group 1 information
        level. See for further explanation the Substance Class: Structurally Diverse
        and the herbal annex.'
      properties:
        resourceType:
          description: This is a SubstanceSourceMaterial resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sourceMaterialClass:
          description: General high level classification of the source material specific
            to the origin of the material.
          $ref: '#/components/schemas/CodeableConcept'
        sourceMaterialType:
          description: The type of the source material shall be specified based on a
            controlled vocabulary. For vaccines, this subclause refers to the class
            of infectious agent.
          $ref: '#/components/schemas/CodeableConcept'
        sourceMaterialState:
          description: The state of the source material when extracted.
          $ref: '#/components/schemas/CodeableConcept'
        organismId:
          description: The unique identifier associated with the source material parent
            organism shall be specified.
          $ref: '#/components/schemas/Identifier'
        organismName:
          description: The organism accepted Scientific name shall be provided based
            on the organism taxonomy.
          $ref: '#/components/schemas/string'
        _organismName:
          description: Extensions for organismName
          $ref: '#/components/schemas/Element'
        parentSubstanceId:
          description: The parent of the herbal drug Ginkgo biloba, Leaf is the substance
            ID of the substance (fresh) of Ginkgo biloba L. or Ginkgo biloba L. (Whole
            plant).
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        parentSubstanceName:
          description: The parent substance of the Herbal Drug, or Herbal preparation.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _parentSubstanceName:
          description: Extensions for parentSubstanceName
          items:
            $ref: '#/components/schemas/Element'
          type: array
        countryOfOrigin:
          description: The country where the plant material is harvested or the countries
            where the plasma is sourced from as laid down in accordance with the Plasma
            Master File. For “Plasma-derived substances” the attribute country of origin
            provides information about the countries used for the manufacturing of the
            Cryopoor plama or Crioprecipitate.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        geographicalLocation:
          description: The place/region where the plant is harvested or the places/regions
            where the animal source material has its habitat.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _geographicalLocation:
          description: Extensions for geographicalLocation
          items:
            $ref: '#/components/schemas/Element'
          type: array
        developmentStage:
          description: Stage of life for animals, plants, insects and microorganisms.
            This information shall be provided only when the substance is significantly
            different in these stages (e.g. foetal bovine serum).
          $ref: '#/components/schemas/CodeableConcept'
        fractionDescription:
          description: Many complex materials are fractions of parts of plants, animals,
            or minerals. Fraction elements are often necessary to define both Substances
            and Specified Group 1 Substances. For substances derived from Plants, fraction
            information will be captured at the Substance information level ( . Oils,
            Juices and Exudates). Additional information for Extracts, such as extraction
            solvent composition, will be captured at the Specified Substance Group 1
            information level. For plasma-derived products fraction information will
            be captured at the Substance and the Specified Substance Group 1 levels.
          items:
            $ref: '#/components/schemas/SubstanceSourceMaterial_FractionDescription'
          type: array
        organism:
          description: 'This subclause describes the organism which the substance is
            derived from. For vaccines, the parent organism shall be specified based
            on these subclause elements. As an example, full taxonomy will be described
            for the Substance Name: ., Leaf.'
          $ref: '#/components/schemas/SubstanceSourceMaterial_Organism'
        partDescription:
          description: To do.
          items:
            $ref: '#/components/schemas/SubstanceSourceMaterial_PartDescription'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    SubstanceSourceMaterial_FractionDescription:
      description: 'Source material shall capture information on the taxonomic and anatomical
        origins as well as the fraction of a material that can result in or can be modified
        to form a substance. This set of data elements shall be used to define polymer
        substances isolated from biological matrices. Taxonomic and anatomical origins
        shall be described using a controlled vocabulary as required. This information
        is captured for naturally derived polymers ( . starch) and structurally diverse
        substances. For Organisms belonging to the Kingdom Plantae the Substance level
        defines the fresh material of a single species or infraspecies, the Herbal Drug
        and the Herbal preparation. For Herbal preparations, the fraction information
        will be captured at the Substance information level and additional information
        for herbal extracts will be captured at the Specified Substance Group 1 information
        level. See for further explanation the Substance Class: Structurally Diverse
        and the herbal annex.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        fraction:
          description: This element is capturing information about the fraction of a
            plant part, or human plasma for fractionation.
          $ref: '#/components/schemas/string'
        _fraction:
          description: Extensions for fraction
          $ref: '#/components/schemas/Element'
        materialType:
          description: The specific type of the material constituting the component.
            For Herbal preparations the particulars of the extracts (liquid/dry) is
            described in Specified Substance Group 1.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    SubstanceSourceMaterial_Organism:
      description: 'Source material shall capture information on the taxonomic and anatomical
        origins as well as the fraction of a material that can result in or can be modified
        to form a substance. This set of data elements shall be used to define polymer
        substances isolated from biological matrices. Taxonomic and anatomical origins
        shall be described using a controlled vocabulary as required. This information
        is captured for naturally derived polymers ( . starch) and structurally diverse
        substances. For Organisms belonging to the Kingdom Plantae the Substance level
        defines the fresh material of a single species or infraspecies, the Herbal Drug
        and the Herbal preparation. For Herbal preparations, the fraction information
        will be captured at the Substance information level and additional information
        for herbal extracts will be captured at the Specified Substance Group 1 information
        level. See for further explanation the Substance Class: Structurally Diverse
        and the herbal annex.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        family:
          description: The family of an organism shall be specified.
          $ref: '#/components/schemas/CodeableConcept'
        genus:
          description: The genus of an organism shall be specified; refers to the Latin
            epithet of the genus element of the plant/animal scientific name; it is
            present in names for genera, species and infraspecies.
          $ref: '#/components/schemas/CodeableConcept'
        species:
          description: The species of an organism shall be specified; refers to the
            Latin epithet of the species of the plant/animal; it is present in names
            for species and infraspecies.
          $ref: '#/components/schemas/CodeableConcept'
        intraspecificType:
          description: The Intraspecific type of an organism shall be specified.
          $ref: '#/components/schemas/CodeableConcept'
        intraspecificDescription:
          description: The intraspecific description of an organism shall be specified
            based on a controlled vocabulary. For Influenza Vaccine, the intraspecific
            description shall contain the syntax of the antigen in line with the WHO
            convention.
          $ref: '#/components/schemas/string'
        _intraspecificDescription:
          description: Extensions for intraspecificDescription
          $ref: '#/components/schemas/Element'
        author:
          description: 4.9.13.6.1 Author type (Conditional).
          items:
            $ref: '#/components/schemas/SubstanceSourceMaterial_Author'
          type: array
        hybrid:
          description: 4.9.13.8.1 Hybrid species maternal organism ID (Optional).
          $ref: '#/components/schemas/SubstanceSourceMaterial_Hybrid'
        organismGeneral:
          description: 4.9.13.7.1 Kingdom (Conditional).
          $ref: '#/components/schemas/SubstanceSourceMaterial_OrganismGeneral'
      type: object
      additionalProperties: false
    SubstanceSourceMaterial_Author:
      description: 'Source material shall capture information on the taxonomic and anatomical
        origins as well as the fraction of a material that can result in or can be modified
        to form a substance. This set of data elements shall be used to define polymer
        substances isolated from biological matrices. Taxonomic and anatomical origins
        shall be described using a controlled vocabulary as required. This information
        is captured for naturally derived polymers ( . starch) and structurally diverse
        substances. For Organisms belonging to the Kingdom Plantae the Substance level
        defines the fresh material of a single species or infraspecies, the Herbal Drug
        and the Herbal preparation. For Herbal preparations, the fraction information
        will be captured at the Substance information level and additional information
        for herbal extracts will be captured at the Specified Substance Group 1 information
        level. See for further explanation the Substance Class: Structurally Diverse
        and the herbal annex.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        authorType:
          description: The type of author of an organism species shall be specified.
            The parenthetical author of an organism species refers to the first author
            who published the plant/animal name (of any rank). The primary author of
            an organism species refers to the first author(s), who validly published
            the plant/animal name.
          $ref: '#/components/schemas/CodeableConcept'
        authorDescription:
          description: The author of an organism species shall be specified. The author
            year of an organism shall also be specified when applicable; refers to the
            year in which the first author(s) published the infraspecific plant/animal
            name (of any rank).
          $ref: '#/components/schemas/string'
        _authorDescription:
          description: Extensions for authorDescription
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    SubstanceSourceMaterial_Hybrid:
      description: 'Source material shall capture information on the taxonomic and anatomical
        origins as well as the fraction of a material that can result in or can be modified
        to form a substance. This set of data elements shall be used to define polymer
        substances isolated from biological matrices. Taxonomic and anatomical origins
        shall be described using a controlled vocabulary as required. This information
        is captured for naturally derived polymers ( . starch) and structurally diverse
        substances. For Organisms belonging to the Kingdom Plantae the Substance level
        defines the fresh material of a single species or infraspecies, the Herbal Drug
        and the Herbal preparation. For Herbal preparations, the fraction information
        will be captured at the Substance information level and additional information
        for herbal extracts will be captured at the Specified Substance Group 1 information
        level. See for further explanation the Substance Class: Structurally Diverse
        and the herbal annex.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        maternalOrganismId:
          description: The identifier of the maternal species constituting the hybrid
            organism shall be specified based on a controlled vocabulary. For plants,
            the parents aren’t always known, and it is unlikely that it will be known
            which is maternal and which is paternal.
          $ref: '#/components/schemas/string'
        _maternalOrganismId:
          description: Extensions for maternalOrganismId
          $ref: '#/components/schemas/Element'
        maternalOrganismName:
          description: The name of the maternal species constituting the hybrid organism
            shall be specified. For plants, the parents aren’t always known, and it
            is unlikely that it will be known which is maternal and which is paternal.
          $ref: '#/components/schemas/string'
        _maternalOrganismName:
          description: Extensions for maternalOrganismName
          $ref: '#/components/schemas/Element'
        paternalOrganismId:
          description: The identifier of the paternal species constituting the hybrid
            organism shall be specified based on a controlled vocabulary.
          $ref: '#/components/schemas/string'
        _paternalOrganismId:
          description: Extensions for paternalOrganismId
          $ref: '#/components/schemas/Element'
        paternalOrganismName:
          description: The name of the paternal species constituting the hybrid organism
            shall be specified.
          $ref: '#/components/schemas/string'
        _paternalOrganismName:
          description: Extensions for paternalOrganismName
          $ref: '#/components/schemas/Element'
        hybridType:
          description: The hybrid type of an organism shall be specified.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    SubstanceSourceMaterial_OrganismGeneral:
      description: 'Source material shall capture information on the taxonomic and anatomical
        origins as well as the fraction of a material that can result in or can be modified
        to form a substance. This set of data elements shall be used to define polymer
        substances isolated from biological matrices. Taxonomic and anatomical origins
        shall be described using a controlled vocabulary as required. This information
        is captured for naturally derived polymers ( . starch) and structurally diverse
        substances. For Organisms belonging to the Kingdom Plantae the Substance level
        defines the fresh material of a single species or infraspecies, the Herbal Drug
        and the Herbal preparation. For Herbal preparations, the fraction information
        will be captured at the Substance information level and additional information
        for herbal extracts will be captured at the Specified Substance Group 1 information
        level. See for further explanation the Substance Class: Structurally Diverse
        and the herbal annex.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        kingdom:
          description: The kingdom of an organism shall be specified.
          $ref: '#/components/schemas/CodeableConcept'
        phylum:
          description: The phylum of an organism shall be specified.
          $ref: '#/components/schemas/CodeableConcept'
        class:
          description: The class of an organism shall be specified.
          $ref: '#/components/schemas/CodeableConcept'
        order:
          description: The order of an organism shall be specified,.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    SubstanceSourceMaterial_PartDescription:
      description: 'Source material shall capture information on the taxonomic and anatomical
        origins as well as the fraction of a material that can result in or can be modified
        to form a substance. This set of data elements shall be used to define polymer
        substances isolated from biological matrices. Taxonomic and anatomical origins
        shall be described using a controlled vocabulary as required. This information
        is captured for naturally derived polymers ( . starch) and structurally diverse
        substances. For Organisms belonging to the Kingdom Plantae the Substance level
        defines the fresh material of a single species or infraspecies, the Herbal Drug
        and the Herbal preparation. For Herbal preparations, the fraction information
        will be captured at the Substance information level and additional information
        for herbal extracts will be captured at the Specified Substance Group 1 information
        level. See for further explanation the Substance Class: Structurally Diverse
        and the herbal annex.'
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        part:
          description: Entity of anatomical origin of source material within an organism.
          $ref: '#/components/schemas/CodeableConcept'
        partLocation:
          description: The detailed anatomic location when the part can be extracted
            from different anatomical locations of the organism. Multiple alternative
            locations may apply.
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
    SupplyDelivery:
      description: Record of delivery of what is supplied.
      properties:
        resourceType:
          description: This is a SupplyDelivery resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifier for the supply delivery event that is used to identify
            it across multiple disparate systems.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        basedOn:
          description: A plan, proposal or order that is fulfilled in whole or in part
            by this event.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        partOf:
          description: A larger event of which this particular event is a component
            or step.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: A code specifying the state of the dispense event.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        patient:
          description: A link to a resource representing the person whom the delivered
            item is for.
          $ref: '#/components/schemas/Reference'
        type:
          description: 'Indicates the type of supply being provided.  Examples include:
            Medication, Device, Biologically Derived Product.'
          $ref: '#/components/schemas/CodeableConcept'
        suppliedItem:
          description: The item that is being delivered or has been supplied.
          items:
            $ref: '#/components/schemas/SupplyDelivery_SuppliedItem'
          type: array
        occurrenceDateTime:
          description: The date or time(s) the activity occurred.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _occurrenceDateTime:
          description: Extensions for occurrenceDateTime
          $ref: '#/components/schemas/Element'
        occurrencePeriod:
          description: The date or time(s) the activity occurred.
          $ref: '#/components/schemas/Period'
        occurrenceTiming:
          description: The date or time(s) the activity occurred.
          $ref: '#/components/schemas/Timing'
        supplier:
          description: The individual or organization responsible for supplying the
            delivery.
          $ref: '#/components/schemas/Reference'
        destination:
          description: Identification of the facility/location where the delivery was
            shipped to.
          $ref: '#/components/schemas/Reference'
        receiver:
          description: Identifies the individual or organization that received the delivery.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    SupplyDelivery_SuppliedItem:
      description: Record of delivery of what is supplied.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        quantity:
          description: The amount of the item that has been supplied.  Unit of measure
            may be included.
          $ref: '#/components/schemas/Quantity'
        itemCodeableConcept:
          description: Identifies the medication, substance, device or biologically
            derived product being supplied. This is either a link to a resource representing
            the details of the item or a code that identifies the item from a known
            list.
          $ref: '#/components/schemas/CodeableConcept'
        itemReference:
          description: Identifies the medication, substance, device or biologically
            derived product being supplied. This is either a link to a resource representing
            the details of the item or a code that identifies the item from a known
            list.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    SupplyRequest:
      description: A record of a request to deliver a medication, substance or device
        used in the healthcare setting to a particular destination for a particular
        person or organization.
      properties:
        resourceType:
          description: This is a SupplyRequest resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Business identifiers assigned to this SupplyRequest by the author
            and/or other systems. These identifiers remain constant as the resource
            is updated and propagates from server to server.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: Status of the supply request.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        basedOn:
          description: Plan/proposal/order fulfilled by this request.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        category:
          description: Category of supply, e.g.  central, non-stock, etc. This is used
            to support work flows associated with the supply process.
          $ref: '#/components/schemas/CodeableConcept'
        priority:
          description: Indicates how quickly this SupplyRequest should be addressed
            with respect to other requests.
          $ref: '#/components/schemas/code'
        _priority:
          description: Extensions for priority
          $ref: '#/components/schemas/Element'
        deliverFor:
          description: The patient to whom the supply will be given or for whom they
            will be used.
          $ref: '#/components/schemas/Reference'
        item:
          description: The item that is requested to be supplied. This is either a link
            to a resource representing the details of the item or a code that identifies
            the item from a known list.
          $ref: '#/components/schemas/CodeableReference'
        quantity:
          description: The amount that is being ordered of the indicated item.
          $ref: '#/components/schemas/Quantity'
        parameter:
          description: Specific parameters for the ordered item.  For example, the size
            of the indicated item.
          items:
            $ref: '#/components/schemas/SupplyRequest_Parameter'
          type: array
        occurrenceDateTime:
          description: When the request should be fulfilled.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _occurrenceDateTime:
          description: Extensions for occurrenceDateTime
          $ref: '#/components/schemas/Element'
        occurrencePeriod:
          description: When the request should be fulfilled.
          $ref: '#/components/schemas/Period'
        occurrenceTiming:
          description: When the request should be fulfilled.
          $ref: '#/components/schemas/Timing'
        authoredOn:
          description: When the request was made.
          $ref: '#/components/schemas/dateTime'
        _authoredOn:
          description: Extensions for authoredOn
          $ref: '#/components/schemas/Element'
        requester:
          description: The device, practitioner, etc. who initiated the request.
          $ref: '#/components/schemas/Reference'
        supplier:
          description: Who is intended to fulfill the request.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        reason:
          description: The reason why the supply item was requested.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        deliverFrom:
          description: Where the supply is expected to come from.
          $ref: '#/components/schemas/Reference'
        deliverTo:
          description: Where the supply is destined to go.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - item
      - quantity
      - resourceType
    SupplyRequest_Parameter:
      description: A record of a request to deliver a medication, substance or device
        used in the healthcare setting to a particular destination for a particular
        person or organization.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A code or string that identifies the device detail being asserted.
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableConcept:
          description: The value of the device detail.
          $ref: '#/components/schemas/CodeableConcept'
        valueQuantity:
          description: The value of the device detail.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: The value of the device detail.
          $ref: '#/components/schemas/Range'
        valueBoolean:
          description: The value of the device detail.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Task:
      description: A task to be performed.
      properties:
        resourceType:
          description: This is a Task resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: The business identifier for this task.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        instantiatesCanonical:
          description: The URL pointing to a *FHIR*-defined protocol, guideline, orderset
            or other definition that is adhered to in whole or in part by this Task.
          $ref: '#/components/schemas/canonical'
        instantiatesUri:
          description: The URL pointing to an *externally* maintained  protocol, guideline,
            orderset or other definition that is adhered to in whole or in part by this
            Task.
          $ref: '#/components/schemas/uri'
        _instantiatesUri:
          description: Extensions for instantiatesUri
          $ref: '#/components/schemas/Element'
        basedOn:
          description: BasedOn refers to a higher-level authorization that triggered
            the creation of the task.  It references a "request" resource such as a
            ServiceRequest, MedicationRequest, CarePlan, etc. which is distinct from
            the "request" resource the task is seeking to fulfill.  This latter resource
            is referenced by focus.  For example, based on a CarePlan (= basedOn), a
            task is created to fulfill a ServiceRequest ( = focus ) to collect a specimen
            from a patient.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        groupIdentifier:
          description: A shared identifier common to multiple independent Task and Request
            instances that were activated/authorized more or less simultaneously by
            a single author.  The presence of the same identifier on each request ties
            those requests together and may have business ramifications in terms of
            reporting of results, billing, etc.  E.g. a requisition number shared by
            a set of lab tests ordered together, or a prescription number shared by
            all meds ordered at one time.
          $ref: '#/components/schemas/Identifier'
        partOf:
          description: Task that this particular task is part of.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: The current status of the task.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        statusReason:
          description: An explanation as to why this task is held, failed, was refused,
            etc.
          $ref: '#/components/schemas/CodeableReference'
        businessStatus:
          description: Contains business-specific nuances of the business state.
          $ref: '#/components/schemas/CodeableConcept'
        intent:
          description: Indicates the "level" of actionability associated with the Task,
            i.e. i+R[9]Cs this a proposed task, a planned task, an actionable task,
            etc.
          $ref: '#/components/schemas/code'
        _intent:
          description: Extensions for intent
          $ref: '#/components/schemas/Element'
        priority:
          description: Indicates how quickly the Task should be addressed with respect
            to other requests.
          $ref: '#/components/schemas/code'
        _priority:
          description: Extensions for priority
          $ref: '#/components/schemas/Element'
        doNotPerform:
          description: If true indicates that the Task is asking for the specified action
            to *not* occur.
          $ref: '#/components/schemas/boolean'
        _doNotPerform:
          description: Extensions for doNotPerform
          $ref: '#/components/schemas/Element'
        code:
          description: A name or code (or both) briefly describing what the task involves.
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: A free-text description of what is to be performed.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        focus:
          description: The request being fulfilled or the resource being manipulated
            (changed, suspended, etc.) by this task.
          $ref: '#/components/schemas/Reference'
        for:
          description: The entity who benefits from the performance of the service specified
            in the task (e.g., the patient).
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The healthcare event  (e.g. a patient and healthcare provider
            interaction) during which this task was created.
          $ref: '#/components/schemas/Reference'
        requestedPeriod:
          description: Indicates the start and/or end of the period of time when completion
            of the task is desired to take place.
          $ref: '#/components/schemas/Period'
        executionPeriod:
          description: Identifies the time action was first taken against the task (start)
            and/or the time final action was taken against the task prior to marking
            it as completed (end).
          $ref: '#/components/schemas/Period'
        authoredOn:
          description: The date and time this task was created.
          $ref: '#/components/schemas/dateTime'
        _authoredOn:
          description: Extensions for authoredOn
          $ref: '#/components/schemas/Element'
        lastModified:
          description: The date and time of last modification to this task.
          $ref: '#/components/schemas/dateTime'
        _lastModified:
          description: Extensions for lastModified
          $ref: '#/components/schemas/Element'
        requester:
          description: The creator of the task.
          $ref: '#/components/schemas/Reference'
        requestedPerformer:
          description: The kind of participant or specific participant that should perform
            the task.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        owner:
          description: Party responsible for managing task execution.
          $ref: '#/components/schemas/Reference'
        performer:
          description: The entity who performed the requested task.
          items:
            $ref: '#/components/schemas/Task_Performer'
          type: array
        location:
          description: Principal physical location where this task is performed.
          $ref: '#/components/schemas/Reference'
        reason:
          description: A description, code, or reference indicating why this task needs
            to be performed.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        insurance:
          description: Insurance plans, coverage extensions, pre-authorizations and/or
            pre-determinations that may be relevant to the Task.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        note:
          description: Free-text information captured about the task as it progresses.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        relevantHistory:
          description: Links to Provenance records for past versions of this Task that
            identify key state transitions or updates that are likely to be relevant
            to a user looking at the current version of the task.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        restriction:
          description: If the Task.focus is a request resource and the task is seeking
            fulfillment (i.e. is asking for the request to be actioned), this element
            identifies any limitations on what parts of the referenced request should
            be actioned.
          $ref: '#/components/schemas/Task_Restriction'
        input:
          description: Additional information that may be needed in the execution of
            the task.
          items:
            $ref: '#/components/schemas/Task_Input'
          type: array
        output:
          description: Outputs produced by the Task.
          items:
            $ref: '#/components/schemas/Task_Output'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    Task_Performer:
      description: A task to be performed.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        function:
          description: A code or description of the performer of the task.
          $ref: '#/components/schemas/CodeableConcept'
        actor:
          description: The actor or entity who performed the task.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - actor
    Task_Restriction:
      description: A task to be performed.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        repetitions:
          description: Indicates the number of times the requested action should occur.
          $ref: '#/components/schemas/positiveInt'
        _repetitions:
          description: Extensions for repetitions
          $ref: '#/components/schemas/Element'
        period:
          description: The time-period for which fulfillment is sought. This must fall
            within the overall time period authorized in the referenced request.  E.g.
            ServiceRequest.occurance[x].
          $ref: '#/components/schemas/Period'
        recipient:
          description: For requests that are targeted to more than one potential recipient/target,
            to identify who is fulfillment is sought for.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    Task_Input:
      description: A task to be performed.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: A code or description indicating how the input is intended to
            be used as part of the task execution.
          $ref: '#/components/schemas/CodeableConcept'
        valueBase64Binary:
          description: The value of the input parameter as a basic type.
          pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
          type: string
        _valueBase64Binary:
          description: Extensions for valueBase64Binary
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: The value of the input parameter as a basic type.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueCanonical:
          description: The value of the input parameter as a basic type.
          pattern: ^\S*$
          type: string
        _valueCanonical:
          description: Extensions for valueCanonical
          $ref: '#/components/schemas/Element'
        valueCode:
          description: The value of the input parameter as a basic type.
          pattern: ^[^\s]+( [^\s]+)*$
          type: string
        _valueCode:
          description: Extensions for valueCode
          $ref: '#/components/schemas/Element'
        valueDate:
          description: The value of the input parameter as a basic type.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The value of the input parameter as a basic type.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: The value of the input parameter as a basic type.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
        valueId:
          description: The value of the input parameter as a basic type.
          pattern: ^[A-Za-z0-9\-\.]{1,64}$
          type: string
        _valueId:
          description: Extensions for valueId
          $ref: '#/components/schemas/Element'
        valueInstant:
          description: The value of the input parameter as a basic type.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$
          type: string
        _valueInstant:
          description: Extensions for valueInstant
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The value of the input parameter as a basic type.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueInteger64:
          description: The value of the input parameter as a basic type.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: string
        _valueInteger64:
          description: Extensions for valueInteger64
          $ref: '#/components/schemas/Element'
        valueMarkdown:
          description: The value of the input parameter as a basic type.
          pattern: ^^[\s\S]+$$
          type: string
        _valueMarkdown:
          description: Extensions for valueMarkdown
          $ref: '#/components/schemas/Element'
        valueOid:
          description: The value of the input parameter as a basic type.
          pattern: ^urn:oid:[0-2](\.(0|[1-9][0-9]*))+$
          type: string
        _valueOid:
          description: Extensions for valueOid
          $ref: '#/components/schemas/Element'
        valuePositiveInt:
          description: The value of the input parameter as a basic type.
          pattern: ^[1-9][0-9]*$
          type: number
        _valuePositiveInt:
          description: Extensions for valuePositiveInt
          $ref: '#/components/schemas/Element'
        valueString:
          description: The value of the input parameter as a basic type.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueTime:
          description: The value of the input parameter as a basic type.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _valueTime:
          description: Extensions for valueTime
          $ref: '#/components/schemas/Element'
        valueUnsignedInt:
          description: The value of the input parameter as a basic type.
          pattern: ^[0]|([1-9][0-9]*)$
          type: number
        _valueUnsignedInt:
          description: Extensions for valueUnsignedInt
          $ref: '#/components/schemas/Element'
        valueUri:
          description: The value of the input parameter as a basic type.
          pattern: ^\S*$
          type: string
        _valueUri:
          description: Extensions for valueUri
          $ref: '#/components/schemas/Element'
        valueUrl:
          description: The value of the input parameter as a basic type.
          pattern: ^\S*$
          type: string
        _valueUrl:
          description: Extensions for valueUrl
          $ref: '#/components/schemas/Element'
        valueUuid:
          description: The value of the input parameter as a basic type.
          pattern: ^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          type: string
        _valueUuid:
          description: Extensions for valueUuid
          $ref: '#/components/schemas/Element'
        valueAddress:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Address'
        valueAge:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Age'
        valueAnnotation:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Annotation'
        valueAttachment:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Attachment'
        valueCodeableConcept:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableReference:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/CodeableReference'
        valueCoding:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Coding'
        valueContactPoint:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/ContactPoint'
        valueCount:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Count'
        valueDistance:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Distance'
        valueDuration:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Duration'
        valueHumanName:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/HumanName'
        valueIdentifier:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Identifier'
        valueMoney:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Money'
        valuePeriod:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Period'
        valueQuantity:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Range'
        valueRatio:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Ratio'
        valueRatioRange:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/RatioRange'
        valueReference:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Reference'
        valueSampledData:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/SampledData'
        valueSignature:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Signature'
        valueTiming:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Timing'
        valueContactDetail:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/ContactDetail'
        valueDataRequirement:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/DataRequirement'
        valueExpression:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Expression'
        valueParameterDefinition:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/ParameterDefinition'
        valueRelatedArtifact:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/RelatedArtifact'
        valueTriggerDefinition:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/TriggerDefinition'
        valueUsageContext:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/UsageContext'
        valueAvailability:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Availability'
        valueExtendedContactDetail:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/ExtendedContactDetail'
        valueDosage:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Dosage'
        valueMeta:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Meta'
      type: object
      additionalProperties: false
      required:
      - type
    Task_Output:
      description: A task to be performed.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The name of the Output parameter.
          $ref: '#/components/schemas/CodeableConcept'
        valueBase64Binary:
          description: The value of the Output parameter as a basic type.
          pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
          type: string
        _valueBase64Binary:
          description: Extensions for valueBase64Binary
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: The value of the Output parameter as a basic type.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueCanonical:
          description: The value of the Output parameter as a basic type.
          pattern: ^\S*$
          type: string
        _valueCanonical:
          description: Extensions for valueCanonical
          $ref: '#/components/schemas/Element'
        valueCode:
          description: The value of the Output parameter as a basic type.
          pattern: ^[^\s]+( [^\s]+)*$
          type: string
        _valueCode:
          description: Extensions for valueCode
          $ref: '#/components/schemas/Element'
        valueDate:
          description: The value of the Output parameter as a basic type.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The value of the Output parameter as a basic type.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: The value of the Output parameter as a basic type.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
        valueId:
          description: The value of the Output parameter as a basic type.
          pattern: ^[A-Za-z0-9\-\.]{1,64}$
          type: string
        _valueId:
          description: Extensions for valueId
          $ref: '#/components/schemas/Element'
        valueInstant:
          description: The value of the Output parameter as a basic type.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$
          type: string
        _valueInstant:
          description: Extensions for valueInstant
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The value of the Output parameter as a basic type.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueInteger64:
          description: The value of the Output parameter as a basic type.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: string
        _valueInteger64:
          description: Extensions for valueInteger64
          $ref: '#/components/schemas/Element'
        valueMarkdown:
          description: The value of the Output parameter as a basic type.
          pattern: ^^[\s\S]+$$
          type: string
        _valueMarkdown:
          description: Extensions for valueMarkdown
          $ref: '#/components/schemas/Element'
        valueOid:
          description: The value of the Output parameter as a basic type.
          pattern: ^urn:oid:[0-2](\.(0|[1-9][0-9]*))+$
          type: string
        _valueOid:
          description: Extensions for valueOid
          $ref: '#/components/schemas/Element'
        valuePositiveInt:
          description: The value of the Output parameter as a basic type.
          pattern: ^[1-9][0-9]*$
          type: number
        _valuePositiveInt:
          description: Extensions for valuePositiveInt
          $ref: '#/components/schemas/Element'
        valueString:
          description: The value of the Output parameter as a basic type.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueTime:
          description: The value of the Output parameter as a basic type.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _valueTime:
          description: Extensions for valueTime
          $ref: '#/components/schemas/Element'
        valueUnsignedInt:
          description: The value of the Output parameter as a basic type.
          pattern: ^[0]|([1-9][0-9]*)$
          type: number
        _valueUnsignedInt:
          description: Extensions for valueUnsignedInt
          $ref: '#/components/schemas/Element'
        valueUri:
          description: The value of the Output parameter as a basic type.
          pattern: ^\S*$
          type: string
        _valueUri:
          description: Extensions for valueUri
          $ref: '#/components/schemas/Element'
        valueUrl:
          description: The value of the Output parameter as a basic type.
          pattern: ^\S*$
          type: string
        _valueUrl:
          description: Extensions for valueUrl
          $ref: '#/components/schemas/Element'
        valueUuid:
          description: The value of the Output parameter as a basic type.
          pattern: ^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          type: string
        _valueUuid:
          description: Extensions for valueUuid
          $ref: '#/components/schemas/Element'
        valueAddress:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Address'
        valueAge:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Age'
        valueAnnotation:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Annotation'
        valueAttachment:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Attachment'
        valueCodeableConcept:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableReference:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/CodeableReference'
        valueCoding:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Coding'
        valueContactPoint:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/ContactPoint'
        valueCount:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Count'
        valueDistance:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Distance'
        valueDuration:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Duration'
        valueHumanName:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/HumanName'
        valueIdentifier:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Identifier'
        valueMoney:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Money'
        valuePeriod:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Period'
        valueQuantity:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Range'
        valueRatio:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Ratio'
        valueRatioRange:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/RatioRange'
        valueReference:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Reference'
        valueSampledData:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/SampledData'
        valueSignature:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Signature'
        valueTiming:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Timing'
        valueContactDetail:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/ContactDetail'
        valueDataRequirement:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/DataRequirement'
        valueExpression:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Expression'
        valueParameterDefinition:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/ParameterDefinition'
        valueRelatedArtifact:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/RelatedArtifact'
        valueTriggerDefinition:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/TriggerDefinition'
        valueUsageContext:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/UsageContext'
        valueAvailability:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Availability'
        valueExtendedContactDetail:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/ExtendedContactDetail'
        valueDosage:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Dosage'
        valueMeta:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Meta'
      type: object
      additionalProperties: false
      required:
      - type
    TerminologyCapabilities:
      description: A TerminologyCapabilities resource documents a set of capabilities
        (behaviors) of a FHIR Terminology Server that may be used as a statement of
        actual server functionality or a statement of required or desired server implementation.
      properties:
        resourceType:
          description: This is a TerminologyCapabilities resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this terminology capabilities
            when it is referenced in a specification, model, design or an instance;
            also called its canonical identifier. This SHOULD be globally unique and
            SHOULD be a literal address at which an authoritative instance of this terminology
            capabilities is (or will be) published. This URL can be the target of a
            canonical reference. It SHALL remain the same when the terminology capabilities
            is stored on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this terminology
            capabilities when it is represented in other formats, or referenced in a
            specification, model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the terminology
            capabilities when it is referenced in a specification, model, design or
            instance. This is an arbitrary value managed by the terminology capabilities
            author and is not expected to be globally unique. For example, it might
            be a timestamp (e.g. yyyymmdd) if a managed version is not available. There
            is also no expectation that versions can be placed in a lexicographical
            sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the terminology capabilities.
            This name should be usable as an identifier for the module by machine processing
            applications such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the terminology
            capabilities.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this terminology capabilities. Enables tracking
            the life-cycle of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this terminology capabilities
            is authored for testing purposes (or education/evaluation/marketing) and
            is not intended to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date  (and optionally time) when the terminology capabilities
            was last significantly changed. The date must change when the business version
            changes and it must change if the status code changes. In addition, it should
            change when the substantive content of the terminology capabilities changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the terminology capabilities.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the terminology capabilities
            from a consumer's perspective. Typically, this is used when the capability
            statement describes a desired rather than an actual solution, for example
            as a formal expression of requirements as part of an RFP.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            terminology capabilities instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the terminology capabilities
            is intended to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this terminology capabilities is needed and
            why it has been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the terminology capabilities
            and/or its contents. Copyright statements are generally legal restrictions
            on the use and publishing of the terminology capabilities.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        kind:
          description: The way that this statement is intended to be used, to describe
            an actual running instance of software, a particular product (kind, not
            instance of software) or a class of implementation (e.g. a desired purchase).
          $ref: '#/components/schemas/code'
        _kind:
          description: Extensions for kind
          $ref: '#/components/schemas/Element'
        software:
          description: Software that is covered by this terminology capability statement.  It
            is used when the statement describes the capabilities of a particular software
            version, independent of an installation.
          $ref: '#/components/schemas/TerminologyCapabilities_Software'
        implementation:
          description: Identifies a specific implementation instance that is described
            by the terminology capability statement - i.e. a particular installation,
            rather than the capabilities of a software program.
          $ref: '#/components/schemas/TerminologyCapabilities_Implementation'
        lockedDate:
          description: Whether the server supports lockedDate.
          $ref: '#/components/schemas/boolean'
        _lockedDate:
          description: Extensions for lockedDate
          $ref: '#/components/schemas/Element'
        codeSystem:
          description: Identifies a code system that is supported by the server. If
            there is a no code system URL, then this declares the general assumptions
            a client can make about support for any CodeSystem resource.
          items:
            $ref: '#/components/schemas/TerminologyCapabilities_CodeSystem'
          type: array
        expansion:
          description: Information about the [ValueSet/$expand](valueset-operation-expand.html)
            operation.
          $ref: '#/components/schemas/TerminologyCapabilities_Expansion'
        codeSearch:
          description: The degree to which the server supports the code search parameter
            on ValueSet, if it is supported.
          $ref: '#/components/schemas/code'
        _codeSearch:
          description: Extensions for codeSearch
          $ref: '#/components/schemas/Element'
        validateCode:
          description: Information about the [ValueSet/$validate-code](valueset-operation-validate-code.html)
            operation.
          $ref: '#/components/schemas/TerminologyCapabilities_ValidateCode'
        translation:
          description: Information about the [ConceptMap/$translate](conceptmap-operation-translate.html)
            operation.
          $ref: '#/components/schemas/TerminologyCapabilities_Translation'
        closure:
          description: Whether the $closure operation is supported.
          $ref: '#/components/schemas/TerminologyCapabilities_Closure'
      type: object
      additionalProperties: false
      required:
      - resourceType
    TerminologyCapabilities_Software:
      description: A TerminologyCapabilities resource documents a set of capabilities
        (behaviors) of a FHIR Terminology Server that may be used as a statement of
        actual server functionality or a statement of required or desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: Name the software is known by.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        version:
          description: The version identifier for the software covered by this statement.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TerminologyCapabilities_Implementation:
      description: A TerminologyCapabilities resource documents a set of capabilities
        (behaviors) of a FHIR Terminology Server that may be used as a statement of
        actual server functionality or a statement of required or desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: Information about the specific installation that this terminology
            capability statement relates to.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        url:
          description: An absolute base URL for the implementation.
          $ref: '#/components/schemas/url'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TerminologyCapabilities_CodeSystem:
      description: A TerminologyCapabilities resource documents a set of capabilities
        (behaviors) of a FHIR Terminology Server that may be used as a statement of
        actual server functionality or a statement of required or desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        uri:
          description: Canonical identifier for the code system, represented as a URI.
          $ref: '#/components/schemas/canonical'
        version:
          description: For the code system, a list of versions that are supported by
            the server.
          items:
            $ref: '#/components/schemas/TerminologyCapabilities_Version'
          type: array
        content:
          description: The extent of the content of the code system (the concepts and
            codes it defines) are represented in this resource instance.
          $ref: '#/components/schemas/code'
        _content:
          description: Extensions for content
          $ref: '#/components/schemas/Element'
        subsumption:
          description: True if subsumption is supported for this version of the code
            system.
          $ref: '#/components/schemas/boolean'
        _subsumption:
          description: Extensions for subsumption
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TerminologyCapabilities_Version:
      description: A TerminologyCapabilities resource documents a set of capabilities
        (behaviors) of a FHIR Terminology Server that may be used as a statement of
        actual server functionality or a statement of required or desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: For version-less code systems, there should be a single version
            with no identifier.
          $ref: '#/components/schemas/string'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        isDefault:
          description: If this is the default version for this code system.
          $ref: '#/components/schemas/boolean'
        _isDefault:
          description: Extensions for isDefault
          $ref: '#/components/schemas/Element'
        compositional:
          description: If the compositional grammar defined by the code system is supported.
          $ref: '#/components/schemas/boolean'
        _compositional:
          description: Extensions for compositional
          $ref: '#/components/schemas/Element'
        language:
          description: Language Displays supported.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _language:
          description: Extensions for language
          items:
            $ref: '#/components/schemas/Element'
          type: array
        filter:
          description: Filter Properties supported.
          items:
            $ref: '#/components/schemas/TerminologyCapabilities_Filter'
          type: array
        property:
          description: Properties supported for $lookup.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _property:
          description: Extensions for property
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
    TerminologyCapabilities_Filter:
      description: A TerminologyCapabilities resource documents a set of capabilities
        (behaviors) of a FHIR Terminology Server that may be used as a statement of
        actual server functionality or a statement of required or desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Code of the property supported.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        op:
          description: Operations supported for the property.
          items:
            $ref: '#/components/schemas/code'
          type: array
        _op:
          description: Extensions for op
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
    TerminologyCapabilities_Expansion:
      description: A TerminologyCapabilities resource documents a set of capabilities
        (behaviors) of a FHIR Terminology Server that may be used as a statement of
        actual server functionality or a statement of required or desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        hierarchical:
          description: Whether the server can return nested value sets.
          $ref: '#/components/schemas/boolean'
        _hierarchical:
          description: Extensions for hierarchical
          $ref: '#/components/schemas/Element'
        paging:
          description: Whether the server supports paging on expansion.
          $ref: '#/components/schemas/boolean'
        _paging:
          description: Extensions for paging
          $ref: '#/components/schemas/Element'
        incomplete:
          description: True if requests for incomplete expansions are allowed.
          $ref: '#/components/schemas/boolean'
        _incomplete:
          description: Extensions for incomplete
          $ref: '#/components/schemas/Element'
        parameter:
          description: Supported expansion parameter.
          items:
            $ref: '#/components/schemas/TerminologyCapabilities_Parameter'
          type: array
        textFilter:
          description: Documentation about text searching works.
          $ref: '#/components/schemas/markdown'
        _textFilter:
          description: Extensions for textFilter
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TerminologyCapabilities_Parameter:
      description: A TerminologyCapabilities resource documents a set of capabilities
        (behaviors) of a FHIR Terminology Server that may be used as a statement of
        actual server functionality or a statement of required or desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: Name of the supported expansion parameter.
          $ref: '#/components/schemas/code'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        documentation:
          description: Description of support for parameter.
          $ref: '#/components/schemas/string'
        _documentation:
          description: Extensions for documentation
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TerminologyCapabilities_ValidateCode:
      description: A TerminologyCapabilities resource documents a set of capabilities
        (behaviors) of a FHIR Terminology Server that may be used as a statement of
        actual server functionality or a statement of required or desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        translations:
          description: Whether translations are validated.
          $ref: '#/components/schemas/boolean'
        _translations:
          description: Extensions for translations
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TerminologyCapabilities_Translation:
      description: A TerminologyCapabilities resource documents a set of capabilities
        (behaviors) of a FHIR Terminology Server that may be used as a statement of
        actual server functionality or a statement of required or desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        needsMap:
          description: Whether the client must identify the map.
          $ref: '#/components/schemas/boolean'
        _needsMap:
          description: Extensions for needsMap
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TerminologyCapabilities_Closure:
      description: A TerminologyCapabilities resource documents a set of capabilities
        (behaviors) of a FHIR Terminology Server that may be used as a statement of
        actual server functionality or a statement of required or desired server implementation.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        translation:
          description: If cross-system closure is supported.
          $ref: '#/components/schemas/boolean'
        _translation:
          description: Extensions for translation
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TestPlan:
      description: A plan for executing testing on an artifact or specifications.
      properties:
        resourceType:
          description: This is a TestPlan resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this test plan when
            it is referenced in a specification, model, design or an instance; also
            called its canonical identifier. This SHOULD be globally unique and SHOULD
            be a literal address at which an authoritative instance of this test plan
            is (or will be) published. This URL can be the target of a canonical reference.
            It SHALL remain the same when the test plan is stored on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this test plan when
            it is represented in other formats, or referenced in a specification, model,
            design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the test
            plan when it is referenced in a specification, model, design or instance.  This
            is an arbitrary value managed by the test plan author and is not expected
            to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd)
            if a managed version is not available. There is also no expectation that
            versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the test plan. This name
            should be usable as an identifier for the module by machine processing applications
            such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the test plan.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this test plan. Enables tracking the life-cycle
            of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this test plan is authored for
            testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date (and optionally time) when the test plan was last significantly
            changed. The date must change when the business version changes and it must
            change if the status code changes. In addition, it should change when the
            substantive content of the test plan changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the test plan.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the test plan from
            a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            test plan instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the test plan is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this test plan is needed and why it has been
            designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the test plan and/or its contents.
            Copyright statements are generally legal restrictions on the use and publishing
            of the test plan. The short copyright declaration (e.g. (c) '2015+ xyz organization'
            should be sent in the copyrightLabel element.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        category:
          description: The category of the Test Plan - can be acceptance, unit, performance,
            etc.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        scope:
          description: What is being tested with this Test Plan - a conformance resource,
            or narrative criteria, or an external reference...
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        testTools:
          description: A description of test tools to be used in the test plan.
          $ref: '#/components/schemas/markdown'
        _testTools:
          description: Extensions for testTools
          $ref: '#/components/schemas/Element'
        dependency:
          description: The required criteria to execute the test plan - e.g. preconditions,
            previous tests...
          items:
            $ref: '#/components/schemas/TestPlan_Dependency'
          type: array
        exitCriteria:
          description: The threshold or criteria for the test plan to be considered
            successfully executed - narrative.
          $ref: '#/components/schemas/markdown'
        _exitCriteria:
          description: Extensions for exitCriteria
          $ref: '#/components/schemas/Element'
        testCase:
          description: The individual test cases that are part of this plan, when they
            they are made explicit.
          items:
            $ref: '#/components/schemas/TestPlan_TestCase'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    TestPlan_Dependency:
      description: A plan for executing testing on an artifact or specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: A textual description of the criterium - what is needed for the
            dependency to be considered met.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        predecessor:
          description: Predecessor test plans - those that are expected to be successfully
            performed as a dependency for the execution of this test plan.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    TestPlan_TestCase:
      description: A plan for executing testing on an artifact or specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        sequence:
          description: Sequence of test case - an ordinal number that indicates the
            order for the present test case in the test plan.
          $ref: '#/components/schemas/integer'
        _sequence:
          description: Extensions for sequence
          $ref: '#/components/schemas/Element'
        scope:
          description: The scope or artifact covered by the case, when the individual
            test case is associated with a testable artifact.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        dependency:
          description: The required criteria to execute the test case - e.g. preconditions,
            previous tests.
          items:
            $ref: '#/components/schemas/TestPlan_Dependency1'
          type: array
        testRun:
          description: The actual test to be executed.
          items:
            $ref: '#/components/schemas/TestPlan_TestRun'
          type: array
        testData:
          description: The test data used in the test case.
          items:
            $ref: '#/components/schemas/TestPlan_TestData'
          type: array
        assertion:
          description: The test assertions - the expectations of test results from the
            execution of the test case.
          items:
            $ref: '#/components/schemas/TestPlan_Assertion'
          type: array
      type: object
      additionalProperties: false
    TestPlan_Dependency1:
      description: A plan for executing testing on an artifact or specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        description:
          description: Description of the criteria.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        predecessor:
          description: Link to predecessor test plans.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    TestPlan_TestRun:
      description: A plan for executing testing on an artifact or specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        narrative:
          description: The narrative description of the tests.
          $ref: '#/components/schemas/markdown'
        _narrative:
          description: Extensions for narrative
          $ref: '#/components/schemas/Element'
        script:
          description: The test cases in a structured language e.g. gherkin, Postman,
            or FHIR TestScript.
          $ref: '#/components/schemas/TestPlan_Script'
      type: object
      additionalProperties: false
    TestPlan_Script:
      description: A plan for executing testing on an artifact or specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        language:
          description: The language for the test cases e.g. 'gherkin', 'testscript'.
          $ref: '#/components/schemas/CodeableConcept'
        sourceString:
          description: The actual content of the cases - references to TestScripts or
            externally defined content.
          pattern: ^^[\s\S]+$$
          type: string
        _sourceString:
          description: Extensions for sourceString
          $ref: '#/components/schemas/Element'
        sourceReference:
          description: The actual content of the cases - references to TestScripts or
            externally defined content.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    TestPlan_TestData:
      description: A plan for executing testing on an artifact or specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of test data description, e.g. 'synthea'.
          $ref: '#/components/schemas/Coding'
        content:
          description: The actual test resources when they exist.
          $ref: '#/components/schemas/Reference'
        sourceString:
          description: Pointer to a definition of test resources - narrative or structured
            e.g. synthetic data generation, etc.
          pattern: ^^[\s\S]+$$
          type: string
        _sourceString:
          description: Extensions for sourceString
          $ref: '#/components/schemas/Element'
        sourceReference:
          description: Pointer to a definition of test resources - narrative or structured
            e.g. synthetic data generation, etc.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - type
    TestPlan_Assertion:
      description: A plan for executing testing on an artifact or specifications.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The test assertion type - this can be used to group assertions
            as 'required' or 'optional', or can be used for other classification of
            the assertion.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        object:
          description: The focus or object of the assertion i.e. a resource.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
        result:
          description: The test assertion - the expected outcome from the test case
            execution.
          items:
            $ref: '#/components/schemas/CodeableReference'
          type: array
      type: object
      additionalProperties: false
    TestReport:
      description: A summary of information based on the results of executing a TestScript.
      properties:
        resourceType:
          description: This is a TestReport resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifier for the TestReport assigned for external purposes
            outside the context of FHIR.
          $ref: '#/components/schemas/Identifier'
        name:
          description: A free text natural language name identifying the executed TestReport.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        status:
          description: The current state of this test report.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        testScript:
          description: Ideally this is an absolute URL that is used to identify the
            version-specific TestScript that was executed, matching the `TestScript.url`.
          $ref: '#/components/schemas/canonical'
        result:
          description: The overall result from the execution of the TestScript.
          $ref: '#/components/schemas/code'
        _result:
          description: Extensions for result
          $ref: '#/components/schemas/Element'
        score:
          description: The final score (percentage of tests passed) resulting from the
            execution of the TestScript.
          $ref: '#/components/schemas/decimal'
        _score:
          description: Extensions for score
          $ref: '#/components/schemas/Element'
        tester:
          description: Name of the tester producing this report (Organization or individual).
          $ref: '#/components/schemas/string'
        _tester:
          description: Extensions for tester
          $ref: '#/components/schemas/Element'
        issued:
          description: When the TestScript was executed and this TestReport was generated.
          $ref: '#/components/schemas/dateTime'
        _issued:
          description: Extensions for issued
          $ref: '#/components/schemas/Element'
        participant:
          description: A participant in the test execution, either the execution engine,
            a client, or a server.
          items:
            $ref: '#/components/schemas/TestReport_Participant'
          type: array
        setup:
          description: The results of the series of required setup operations before
            the tests were executed.
          $ref: '#/components/schemas/TestReport_Setup'
        test:
          description: A test executed from the test script.
          items:
            $ref: '#/components/schemas/TestReport_Test'
          type: array
        teardown:
          description: The results of the series of operations required to clean up
            after all the tests were executed (successfully or otherwise).
          $ref: '#/components/schemas/TestReport_Teardown'
      type: object
      additionalProperties: false
      required:
      - testScript
      - resourceType
    TestReport_Participant:
      description: A summary of information based on the results of executing a TestScript.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The type of participant.
          $ref: '#/components/schemas/code'
        _type:
          description: Extensions for type
          $ref: '#/components/schemas/Element'
        uri:
          description: The uri of the participant. An absolute URL is preferred.
          $ref: '#/components/schemas/uri'
        _uri:
          description: Extensions for uri
          $ref: '#/components/schemas/Element'
        display:
          description: The display name of the participant.
          $ref: '#/components/schemas/string'
        _display:
          description: Extensions for display
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TestReport_Setup:
      description: A summary of information based on the results of executing a TestScript.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        action:
          description: Action would contain either an operation or an assertion.
          items:
            $ref: '#/components/schemas/TestReport_Action'
          type: array
      type: object
      additionalProperties: false
      required:
      - action
    TestReport_Action:
      description: A summary of information based on the results of executing a TestScript.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        operation:
          description: The operation performed.
          $ref: '#/components/schemas/TestReport_Operation'
        assert:
          description: The results of the assertion performed on the previous operations.
          $ref: '#/components/schemas/TestReport_Assert'
      type: object
      additionalProperties: false
    TestReport_Operation:
      description: A summary of information based on the results of executing a TestScript.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        result:
          description: The result of this operation.
          $ref: '#/components/schemas/code'
        _result:
          description: Extensions for result
          $ref: '#/components/schemas/Element'
        message:
          description: An explanatory message associated with the result.
          $ref: '#/components/schemas/markdown'
        _message:
          description: Extensions for message
          $ref: '#/components/schemas/Element'
        detail:
          description: A link to further details on the result.
          $ref: '#/components/schemas/uri'
        _detail:
          description: Extensions for detail
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TestReport_Assert:
      description: A summary of information based on the results of executing a TestScript.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        result:
          description: The result of this assertion.
          $ref: '#/components/schemas/code'
        _result:
          description: Extensions for result
          $ref: '#/components/schemas/Element'
        message:
          description: An explanatory message associated with the result.
          $ref: '#/components/schemas/markdown'
        _message:
          description: Extensions for message
          $ref: '#/components/schemas/Element'
        detail:
          description: A link to further details on the result.
          $ref: '#/components/schemas/string'
        _detail:
          description: Extensions for detail
          $ref: '#/components/schemas/Element'
        requirement:
          description: Links or references providing traceability to the testing requirements
            for this assert.
          items:
            $ref: '#/components/schemas/TestReport_Requirement'
          type: array
      type: object
      additionalProperties: false
    TestReport_Requirement:
      description: A summary of information based on the results of executing a TestScript.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkUri:
          description: Link or reference providing traceability to the testing requirement
            for this test.
          pattern: ^\S*$
          type: string
        _linkUri:
          description: Extensions for linkUri
          $ref: '#/components/schemas/Element'
        linkCanonical:
          description: Link or reference providing traceability to the testing requirement
            for this test.
          pattern: ^\S*$
          type: string
        _linkCanonical:
          description: Extensions for linkCanonical
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TestReport_Test:
      description: A summary of information based on the results of executing a TestScript.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: The name of this test used for tracking/logging purposes by test
            engines.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        description:
          description: A short description of the test used by test engines for tracking
            and reporting purposes.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        action:
          description: Action would contain either an operation or an assertion.
          items:
            $ref: '#/components/schemas/TestReport_Action1'
          type: array
      type: object
      additionalProperties: false
      required:
      - action
    TestReport_Action1:
      description: A summary of information based on the results of executing a TestScript.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        operation:
          description: An operation would involve a REST request to a server.
          $ref: '#/components/schemas/TestReport_Operation'
        assert:
          description: The results of the assertion performed on the previous operations.
          $ref: '#/components/schemas/TestReport_Assert'
      type: object
      additionalProperties: false
    TestReport_Teardown:
      description: A summary of information based on the results of executing a TestScript.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        action:
          description: The teardown action will only contain an operation.
          items:
            $ref: '#/components/schemas/TestReport_Action2'
          type: array
      type: object
      additionalProperties: false
      required:
      - action
    TestReport_Action2:
      description: A summary of information based on the results of executing a TestScript.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        operation:
          description: An operation would involve a REST request to a server.
          $ref: '#/components/schemas/TestReport_Operation'
      type: object
      additionalProperties: false
      required:
      - operation
    TestScript:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        resourceType:
          description: This is a TestScript resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this test script when
            it is referenced in a specification, model, design or an instance; also
            called its canonical identifier. This SHOULD be globally unique and SHOULD
            be a literal address at which an authoritative instance of this test script
            is (or will be) published. This URL can be the target of a canonical reference.
            It SHALL remain the same when the test script is stored on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this test script
            when it is represented in other formats, or referenced in a specification,
            model, design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the test
            script when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the test script author and is not
            expected to be globally unique. For example, it might be a timestamp (e.g.
            yyyymmdd) if a managed version is not available. There is also no expectation
            that versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the test script. This name
            should be usable as an identifier for the module by machine processing applications
            such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the test script.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this test script. Enables tracking the life-cycle
            of the content.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this test script is authored
            for testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date (and optionally time) when the test script was last
            significantly changed. The date must change when the business version changes
            and it must change if the status code changes. In addition, it should change
            when the substantive content of the test script changes.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the test script.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the test script from
            a consumer's perspective.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            test script instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the test script is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this test script is needed and why it has
            been designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the test script and/or its
            contents. Copyright statements are generally legal restrictions on the use
            and publishing of the test script.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        origin:
          description: An abstract server used in operations within this test script
            in the origin element.
          items:
            $ref: '#/components/schemas/TestScript_Origin'
          type: array
        destination:
          description: An abstract server used in operations within this test script
            in the destination element.
          items:
            $ref: '#/components/schemas/TestScript_Destination'
          type: array
        metadata:
          description: The required capability must exist and are assumed to function
            correctly on the FHIR server being tested.
          $ref: '#/components/schemas/TestScript_Metadata'
        scope:
          description: The scope indicates a conformance artifact that is tested by
            the test(s) within this test case and the expectation of the test outcome(s)
            as well as the intended test phase inclusion.
          items:
            $ref: '#/components/schemas/TestScript_Scope'
          type: array
        fixture:
          description: Fixture in the test script - by reference (uri). All fixtures
            are required for the test script to execute.
          items:
            $ref: '#/components/schemas/TestScript_Fixture'
          type: array
        profile:
          description: Reference to the profile to be used for validation.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        variable:
          description: Variable is set based either on element value in response body
            or on header field value in the response headers.
          items:
            $ref: '#/components/schemas/TestScript_Variable'
          type: array
        setup:
          description: A series of required setup operations before tests are executed.
          $ref: '#/components/schemas/TestScript_Setup'
        test:
          description: A test in this script.
          items:
            $ref: '#/components/schemas/TestScript_Test'
          type: array
        teardown:
          description: A series of operations required to clean up after all the tests
            are executed (successfully or otherwise).
          $ref: '#/components/schemas/TestScript_Teardown'
      type: object
      additionalProperties: false
      required:
      - resourceType
    TestScript_Origin:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        index:
          description: Abstract name given to an origin server in this test script.  The
            name is provided as a number starting at 1.
          $ref: '#/components/schemas/integer'
        _index:
          description: Extensions for index
          $ref: '#/components/schemas/Element'
        profile:
          description: The type of origin profile the test system supports.
          $ref: '#/components/schemas/Coding'
        url:
          description: The explicit url path of the origin server used in this test
            script.
          $ref: '#/components/schemas/url'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - profile
    TestScript_Destination:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        index:
          description: Abstract name given to a destination server in this test script.  The
            name is provided as a number starting at 1.
          $ref: '#/components/schemas/integer'
        _index:
          description: Extensions for index
          $ref: '#/components/schemas/Element'
        profile:
          description: The type of destination profile the test system supports.
          $ref: '#/components/schemas/Coding'
        url:
          description: The explicit url path of the destination server used in this
            test script.
          $ref: '#/components/schemas/url'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
      required:
      - profile
    TestScript_Metadata:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        link:
          description: A link to the FHIR specification that this test is covering.
          items:
            $ref: '#/components/schemas/TestScript_Link'
          type: array
        capability:
          description: Capabilities that must exist and are assumed to function correctly
            on the FHIR server being tested.
          items:
            $ref: '#/components/schemas/TestScript_Capability'
          type: array
      type: object
      additionalProperties: false
      required:
      - capability
    TestScript_Link:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: URL to a particular requirement or feature within the FHIR specification.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        description:
          description: Short description of the link.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TestScript_Capability:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        required:
          description: Whether or not the test execution will require the given capabilities
            of the server in order for this test script to execute.
          $ref: '#/components/schemas/boolean'
        _required:
          description: Extensions for required
          $ref: '#/components/schemas/Element'
        validated:
          description: Whether or not the test execution will validate the given capabilities
            of the server in order for this test script to execute.
          $ref: '#/components/schemas/boolean'
        _validated:
          description: Extensions for validated
          $ref: '#/components/schemas/Element'
        description:
          description: Description of the capabilities that this test script is requiring
            the server to support.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        origin:
          description: Which origin server these requirements apply to.
          items:
            $ref: '#/components/schemas/integer'
          type: array
        _origin:
          description: Extensions for origin
          items:
            $ref: '#/components/schemas/Element'
          type: array
        destination:
          description: Which server these requirements apply to.
          $ref: '#/components/schemas/integer'
        _destination:
          description: Extensions for destination
          $ref: '#/components/schemas/Element'
        link:
          description: Links to the FHIR specification that describes this interaction
            and the resources involved in more detail.
          items:
            $ref: '#/components/schemas/uri'
          type: array
        _link:
          description: Extensions for link
          items:
            $ref: '#/components/schemas/Element'
          type: array
        capabilities:
          description: Minimum capabilities required of server for test script to execute
            successfully.   If server does not meet at a minimum the referenced capability
            statement, then all tests in this script are skipped.
          $ref: '#/components/schemas/canonical'
      type: object
      additionalProperties: false
      required:
      - capabilities
    TestScript_Scope:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        artifact:
          description: The specific conformance artifact being tested. The canonical
            reference can be version-specific.
          $ref: '#/components/schemas/canonical'
        conformance:
          description: 'The expectation of whether the test must pass for the system
            to be considered conformant with the artifact: required - all tests are
            expected to pass, optional - all test are expected to pass but non-pass
            status may be allowed, strict - all tests are expected to pass and warnings
            are treated as a failure.'
          $ref: '#/components/schemas/CodeableConcept'
        phase:
          description: 'The phase of testing for this artifact: unit - development /
            implementation phase, integration - internal system to system phase, production
            - live system to system phase (Note, this may involve pii/phi data).'
          $ref: '#/components/schemas/CodeableConcept'
      type: object
      additionalProperties: false
      required:
      - artifact
    TestScript_Fixture:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        autocreate:
          description: Whether or not to implicitly create the fixture during setup.
            If true, the fixture is automatically created on each server being tested
            during setup, therefore no create operation is required for this fixture
            in the TestScript.setup section.
          $ref: '#/components/schemas/boolean'
        _autocreate:
          description: Extensions for autocreate
          $ref: '#/components/schemas/Element'
        autodelete:
          description: Whether or not to implicitly delete the fixture during teardown.
            If true, the fixture is automatically deleted on each server being tested
            during teardown, therefore no delete operation is required for this fixture
            in the TestScript.teardown section.
          $ref: '#/components/schemas/boolean'
        _autodelete:
          description: Extensions for autodelete
          $ref: '#/components/schemas/Element'
        resource:
          description: Reference to the resource (containing the contents of the resource
            needed for operations). This is allowed to be a Parameters resource.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
    TestScript_Variable:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: Descriptive name for this variable.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        defaultValue:
          description: A default, hard-coded, or user-defined value for this variable.
          $ref: '#/components/schemas/string'
        _defaultValue:
          description: Extensions for defaultValue
          $ref: '#/components/schemas/Element'
        description:
          description: A free text natural language description of the variable and
            its purpose.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        expression:
          description: The FHIRPath expression for a specific value to evaluate against
            the fixture body. When variables are defined, only one of either expression,
            headerField or path must be specified.
          $ref: '#/components/schemas/string'
        _expression:
          description: Extensions for expression
          $ref: '#/components/schemas/Element'
        headerField:
          description: Will be used to grab the HTTP header field value from the headers
            that sourceId is pointing to.
          $ref: '#/components/schemas/string'
        _headerField:
          description: Extensions for headerField
          $ref: '#/components/schemas/Element'
        hint:
          description: Displayable text string with hint help information to the user
            when entering a default value.
          $ref: '#/components/schemas/string'
        _hint:
          description: Extensions for hint
          $ref: '#/components/schemas/Element'
        path:
          description: XPath or JSONPath to evaluate against the fixture body.  When
            variables are defined, only one of either expression, headerField or path
            must be specified.
          $ref: '#/components/schemas/string'
        _path:
          description: Extensions for path
          $ref: '#/components/schemas/Element'
        sourceId:
          description: Fixture to evaluate the XPath/JSONPath expression or the headerField  against
            within this variable.
          $ref: '#/components/schemas/id'
        _sourceId:
          description: Extensions for sourceId
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TestScript_Setup:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        action:
          description: Action would contain either an operation or an assertion.
          items:
            $ref: '#/components/schemas/TestScript_Action'
          type: array
      type: object
      additionalProperties: false
      required:
      - action
    TestScript_Action:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        operation:
          description: The operation to perform.
          $ref: '#/components/schemas/TestScript_Operation'
        assert:
          description: Evaluates the results of previous operations to determine if
            the server under test behaves appropriately.
          $ref: '#/components/schemas/TestScript_Assert'
      type: object
      additionalProperties: false
    TestScript_Operation:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: Server interaction or operation type.
          $ref: '#/components/schemas/Coding'
        resource:
          description: The type of the FHIR resource. See the [resource list](resourcelist.html).
            Data type of uri is needed when non-HL7 artifacts are identified.
          $ref: '#/components/schemas/uri'
        _resource:
          description: Extensions for resource
          $ref: '#/components/schemas/Element'
        label:
          description: The label would be used for tracking/logging purposes by test
            engines.
          $ref: '#/components/schemas/string'
        _label:
          description: Extensions for label
          $ref: '#/components/schemas/Element'
        description:
          description: The description would be used by test engines for tracking and
            reporting purposes.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        accept:
          description: The mime-type to use for RESTful operation in the 'Accept' header.
          $ref: '#/components/schemas/code'
        _accept:
          description: Extensions for accept
          $ref: '#/components/schemas/Element'
        contentType:
          description: The mime-type to use for RESTful operation in the 'Content-Type'
            header.
          $ref: '#/components/schemas/code'
        _contentType:
          description: Extensions for contentType
          $ref: '#/components/schemas/Element'
        destination:
          description: The server where the request message is destined for.  Must be
            one of the server numbers listed in TestScript.destination section.
          $ref: '#/components/schemas/integer'
        _destination:
          description: Extensions for destination
          $ref: '#/components/schemas/Element'
        encodeRequestUrl:
          description: Whether or not to implicitly send the request url in encoded
            format. The default is true to match the standard RESTful client behavior.
            Set to false when communicating with a server that does not support encoded
            url paths.
          $ref: '#/components/schemas/boolean'
        _encodeRequestUrl:
          description: Extensions for encodeRequestUrl
          $ref: '#/components/schemas/Element'
        method:
          description: The HTTP method the test engine MUST use for this operation regardless
            of any other operation details.
          $ref: '#/components/schemas/code'
        _method:
          description: Extensions for method
          $ref: '#/components/schemas/Element'
        origin:
          description: The server where the request message originates from.  Must be
            one of the server numbers listed in TestScript.origin section.
          $ref: '#/components/schemas/integer'
        _origin:
          description: Extensions for origin
          $ref: '#/components/schemas/Element'
        params:
          description: Path plus parameters after [type].  Used to set parts of the
            request URL explicitly.
          $ref: '#/components/schemas/string'
        _params:
          description: Extensions for params
          $ref: '#/components/schemas/Element'
        requestHeader:
          description: Header elements would be used to set HTTP headers.
          items:
            $ref: '#/components/schemas/TestScript_RequestHeader'
          type: array
        requestId:
          description: The fixture id (maybe new) to map to the request.
          $ref: '#/components/schemas/id'
        _requestId:
          description: Extensions for requestId
          $ref: '#/components/schemas/Element'
        responseId:
          description: The fixture id (maybe new) to map to the response.
          $ref: '#/components/schemas/id'
        _responseId:
          description: Extensions for responseId
          $ref: '#/components/schemas/Element'
        sourceId:
          description: The id of the fixture used as the body of a PUT or POST request.
          $ref: '#/components/schemas/id'
        _sourceId:
          description: Extensions for sourceId
          $ref: '#/components/schemas/Element'
        targetId:
          description: Id of fixture used for extracting the [id],  [type], and [vid]
            for GET requests.
          $ref: '#/components/schemas/id'
        _targetId:
          description: Extensions for targetId
          $ref: '#/components/schemas/Element'
        url:
          description: Complete request URL.
          $ref: '#/components/schemas/string'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TestScript_RequestHeader:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        field:
          description: The HTTP header field e.g. "Accept".
          $ref: '#/components/schemas/string'
        _field:
          description: Extensions for field
          $ref: '#/components/schemas/Element'
        value:
          description: The value of the header e.g. "application/fhir+xml".
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TestScript_Assert:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        label:
          description: The label would be used for tracking/logging purposes by test
            engines.
          $ref: '#/components/schemas/string'
        _label:
          description: Extensions for label
          $ref: '#/components/schemas/Element'
        description:
          description: The description would be used by test engines for tracking and
            reporting purposes.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        direction:
          description: The direction to use for the assertion.
          $ref: '#/components/schemas/code'
        _direction:
          description: Extensions for direction
          $ref: '#/components/schemas/Element'
        compareToSourceId:
          description: Id of the source fixture used as the contents to be evaluated
            by either the "source/expression" or "sourceId/path" definition.
          $ref: '#/components/schemas/string'
        _compareToSourceId:
          description: Extensions for compareToSourceId
          $ref: '#/components/schemas/Element'
        compareToSourceExpression:
          description: The FHIRPath expression for a specific value to evaluate against
            the source fixture. When compareToSourceId is defined, either compareToSourceExpression
            or compareToSourcePath must be defined, but not both.
          $ref: '#/components/schemas/string'
        _compareToSourceExpression:
          description: Extensions for compareToSourceExpression
          $ref: '#/components/schemas/Element'
        compareToSourcePath:
          description: XPath or JSONPath expression to evaluate against the source fixture.
            When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath
            must be defined, but not both.
          $ref: '#/components/schemas/string'
        _compareToSourcePath:
          description: Extensions for compareToSourcePath
          $ref: '#/components/schemas/Element'
        contentType:
          description: The mime-type contents to compare against the request or response
            message 'Content-Type' header.
          $ref: '#/components/schemas/code'
        _contentType:
          description: Extensions for contentType
          $ref: '#/components/schemas/Element'
        defaultManualCompletion:
          description: The default manual completion outcome applied to this assertion.
          $ref: '#/components/schemas/code'
        _defaultManualCompletion:
          description: Extensions for defaultManualCompletion
          $ref: '#/components/schemas/Element'
        expression:
          description: The FHIRPath expression to be evaluated against the request or
            response message contents - HTTP headers and payload.
          $ref: '#/components/schemas/string'
        _expression:
          description: Extensions for expression
          $ref: '#/components/schemas/Element'
        headerField:
          description: The HTTP header field name e.g. 'Location'.
          $ref: '#/components/schemas/string'
        _headerField:
          description: Extensions for headerField
          $ref: '#/components/schemas/Element'
        minimumId:
          description: The ID of a fixture. Asserts that the response contains at a
            minimum the fixture specified by minimumId.
          $ref: '#/components/schemas/string'
        _minimumId:
          description: Extensions for minimumId
          $ref: '#/components/schemas/Element'
        navigationLinks:
          description: Whether or not the test execution performs validation on the
            bundle navigation links.
          $ref: '#/components/schemas/boolean'
        _navigationLinks:
          description: Extensions for navigationLinks
          $ref: '#/components/schemas/Element'
        operator:
          description: The operator type defines the conditional behavior of the assert.
          $ref: '#/components/schemas/code'
        _operator:
          description: Extensions for operator
          $ref: '#/components/schemas/Element'
        path:
          description: The XPath or JSONPath expression to be evaluated against the
            fixture representing the response received from server.
          $ref: '#/components/schemas/string'
        _path:
          description: Extensions for path
          $ref: '#/components/schemas/Element'
        requestMethod:
          description: The request method or HTTP operation code to compare against
            that used by the client system under test.
          $ref: '#/components/schemas/code'
        _requestMethod:
          description: Extensions for requestMethod
          $ref: '#/components/schemas/Element'
        requestURL:
          description: The value to use in a comparison against the request URL path
            string.
          $ref: '#/components/schemas/string'
        _requestURL:
          description: Extensions for requestURL
          $ref: '#/components/schemas/Element'
        resource:
          description: The type of the resource.  See the [resource list](resourcelist.html).
          $ref: '#/components/schemas/uri'
        _resource:
          description: Extensions for resource
          $ref: '#/components/schemas/Element'
        response:
          description: continue | switchingProtocols | okay | created | accepted | nonAuthoritativeInformation
            | noContent | resetContent | partialContent | multipleChoices | movedPermanently
            | found | seeOther | notModified | useProxy | temporaryRedirect | permanentRedirect
            | badRequest | unauthorized | paymentRequired | forbidden | notFound | methodNotAllowed
            | notAcceptable | proxyAuthenticationRequired | requestTimeout | conflict
            | gone | lengthRequired | preconditionFailed | contentTooLarge | uriTooLong
            | unsupportedMediaType | rangeNotSatisfiable | expectationFailed | misdirectedRequest
            | unprocessableContent | upgradeRequired | internalServerError | notImplemented
            | badGateway | serviceUnavailable | gatewayTimeout | httpVersionNotSupported.
          $ref: '#/components/schemas/code'
        _response:
          description: Extensions for response
          $ref: '#/components/schemas/Element'
        responseCode:
          description: The value of the HTTP response code to be tested.
          $ref: '#/components/schemas/string'
        _responseCode:
          description: Extensions for responseCode
          $ref: '#/components/schemas/Element'
        sourceId:
          description: Fixture to evaluate the XPath/JSONPath expression or the headerField  against.
          $ref: '#/components/schemas/id'
        _sourceId:
          description: Extensions for sourceId
          $ref: '#/components/schemas/Element'
        stopTestOnFail:
          description: Whether or not the current test execution will stop on failure
            for this assert.
          $ref: '#/components/schemas/boolean'
        _stopTestOnFail:
          description: Extensions for stopTestOnFail
          $ref: '#/components/schemas/Element'
        validateProfileId:
          description: The ID of the Profile to validate against.
          $ref: '#/components/schemas/id'
        _validateProfileId:
          description: Extensions for validateProfileId
          $ref: '#/components/schemas/Element'
        value:
          description: The value to compare to.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
        warningOnly:
          description: Whether or not the test execution will produce a warning only
            on error for this assert.
          $ref: '#/components/schemas/boolean'
        _warningOnly:
          description: Extensions for warningOnly
          $ref: '#/components/schemas/Element'
        requirement:
          description: Links or references providing traceability to the testing requirements
            for this assert.
          items:
            $ref: '#/components/schemas/TestScript_Requirement'
          type: array
      type: object
      additionalProperties: false
    TestScript_Requirement:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        linkUri:
          description: Link or reference providing traceability to the testing requirement
            for this test.
          pattern: ^\S*$
          type: string
        _linkUri:
          description: Extensions for linkUri
          $ref: '#/components/schemas/Element'
        linkCanonical:
          description: Link or reference providing traceability to the testing requirement
            for this test.
          pattern: ^\S*$
          type: string
        _linkCanonical:
          description: Extensions for linkCanonical
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    TestScript_Test:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: The name of this test used for tracking/logging purposes by test
            engines.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        description:
          description: A short description of the test used by test engines for tracking
            and reporting purposes.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        action:
          description: Action would contain either an operation or an assertion.
          items:
            $ref: '#/components/schemas/TestScript_Action1'
          type: array
      type: object
      additionalProperties: false
      required:
      - action
    TestScript_Action1:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        operation:
          description: An operation would involve a REST request to a server.
          $ref: '#/components/schemas/TestScript_Operation'
        assert:
          description: Evaluates the results of previous operations to determine if
            the server under test behaves appropriately.
          $ref: '#/components/schemas/TestScript_Assert'
      type: object
      additionalProperties: false
    TestScript_Teardown:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        action:
          description: The teardown action will only contain an operation.
          items:
            $ref: '#/components/schemas/TestScript_Action2'
          type: array
      type: object
      additionalProperties: false
      required:
      - action
    TestScript_Action2:
      description: A structured set of tests against a FHIR server or client implementation
        to determine compliance against the FHIR specification.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        operation:
          description: An operation would involve a REST request to a server.
          $ref: '#/components/schemas/TestScript_Operation'
      type: object
      additionalProperties: false
      required:
      - operation
    Transport:
      description: Record of transport of item.
      properties:
        resourceType:
          description: This is a Transport resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: Identifier for the transport event that is used to identify it
            across multiple disparate systems.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        instantiatesCanonical:
          description: The URL pointing to a *FHIR*-defined protocol, guideline, orderset
            or other definition that is adhered to in whole or in part by this Transport.
          $ref: '#/components/schemas/canonical'
        instantiatesUri:
          description: The URL pointing to an *externally* maintained  protocol, guideline,
            orderset or other definition that is adhered to in whole or in part by this
            Transport.
          $ref: '#/components/schemas/uri'
        _instantiatesUri:
          description: Extensions for instantiatesUri
          $ref: '#/components/schemas/Element'
        basedOn:
          description: BasedOn refers to a higher-level authorization that triggered
            the creation of the transport.  It references a "request" resource such
            as a ServiceRequest or Transport, which is distinct from the "request" resource
            the Transport is seeking to fulfill.  This latter resource is referenced
            by FocusOn.  For example, based on a ServiceRequest (= BasedOn), a transport
            is created to fulfill a procedureRequest ( = FocusOn ) to transport a specimen
            to the lab.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        groupIdentifier:
          description: A shared identifier common to multiple independent Request instances
            that were activated/authorized more or less simultaneously by a single author.  The
            presence of the same identifier on each request ties those requests together
            and may have business ramifications in terms of reporting of results, billing,
            etc.  E.g. a requisition number shared by a set of lab tests ordered together,
            or a prescription number shared by all meds ordered at one time.
          $ref: '#/components/schemas/Identifier'
        partOf:
          description: A larger event of which this particular event is a component
            or step.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        status:
          description: A code specifying the state of the transport event.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        statusReason:
          description: An explanation as to why this transport is held, failed, was
            refused, etc.
          $ref: '#/components/schemas/CodeableConcept'
        intent:
          description: Indicates the "level" of actionability associated with the Transport,
            i.e. i+R[9]Cs this a proposed transport, a planned transport, an actionable
            transport, etc.
          $ref: '#/components/schemas/code'
        _intent:
          description: Extensions for intent
          $ref: '#/components/schemas/Element'
        priority:
          description: Indicates how quickly the Transport should be addressed with
            respect to other requests.
          $ref: '#/components/schemas/code'
        _priority:
          description: Extensions for priority
          $ref: '#/components/schemas/Element'
        code:
          description: A name or code (or both) briefly describing what the transport
            involves.
          $ref: '#/components/schemas/CodeableConcept'
        description:
          description: A free-text description of what is to be performed.
          $ref: '#/components/schemas/string'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        focus:
          description: The request being actioned or the resource being manipulated
            by this transport.
          $ref: '#/components/schemas/Reference'
        for:
          description: The entity who benefits from the performance of the service specified
            in the transport (e.g., the patient).
          $ref: '#/components/schemas/Reference'
        encounter:
          description: The healthcare event  (e.g. a patient and healthcare provider
            interaction) during which this transport was created.
          $ref: '#/components/schemas/Reference'
        completionTime:
          description: Identifies the completion time of the event (the occurrence).
          $ref: '#/components/schemas/dateTime'
        _completionTime:
          description: Extensions for completionTime
          $ref: '#/components/schemas/Element'
        authoredOn:
          description: The date and time this transport was created.
          $ref: '#/components/schemas/dateTime'
        _authoredOn:
          description: Extensions for authoredOn
          $ref: '#/components/schemas/Element'
        lastModified:
          description: The date and time of last modification to this transport.
          $ref: '#/components/schemas/dateTime'
        _lastModified:
          description: Extensions for lastModified
          $ref: '#/components/schemas/Element'
        requester:
          description: The creator of the transport.
          $ref: '#/components/schemas/Reference'
        performerType:
          description: The kind of participant that should perform the transport.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        owner:
          description: Individual organization or Device currently responsible for transport
            execution.
          $ref: '#/components/schemas/Reference'
        location:
          description: Principal physical location where this transport is performed.
          $ref: '#/components/schemas/Reference'
        insurance:
          description: Insurance plans, coverage extensions, pre-authorizations and/or
            pre-determinations that may be relevant to the Transport.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        note:
          description: Free-text information captured about the transport as it progresses.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        relevantHistory:
          description: Links to Provenance records for past versions of this Transport
            that identify key state transitions or updates that are likely to be relevant
            to a user looking at the current version of the transport.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        restriction:
          description: If the Transport.focus is a request resource and the transport
            is seeking fulfillment (i.e. is asking for the request to be actioned),
            this element identifies any limitations on what parts of the referenced
            request should be actioned.
          $ref: '#/components/schemas/Transport_Restriction'
        input:
          description: Additional information that may be needed in the execution of
            the transport.
          items:
            $ref: '#/components/schemas/Transport_Input'
          type: array
        output:
          description: Outputs produced by the Transport.
          items:
            $ref: '#/components/schemas/Transport_Output'
          type: array
        requestedLocation:
          description: The desired or final location for the transport.
          $ref: '#/components/schemas/Reference'
        currentLocation:
          description: The current location for the entity to be transported.
          $ref: '#/components/schemas/Reference'
        reason:
          description: A resource reference indicating why this transport needs to be
            performed.
          $ref: '#/components/schemas/CodeableReference'
        history:
          description: The transport event prior to this one.
          $ref: '#/components/schemas/Reference'
      type: object
      additionalProperties: false
      required:
      - requestedLocation
      - resourceType
      - currentLocation
    Transport_Restriction:
      description: Record of transport of item.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        repetitions:
          description: Indicates the number of times the requested action should occur.
          $ref: '#/components/schemas/positiveInt'
        _repetitions:
          description: Extensions for repetitions
          $ref: '#/components/schemas/Element'
        period:
          description: Over what time-period is fulfillment sought.
          $ref: '#/components/schemas/Period'
        recipient:
          description: For requests that are targeted to more than one potential recipient/target,
            to identify who is fulfillment is sought for.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
      type: object
      additionalProperties: false
    Transport_Input:
      description: Record of transport of item.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: A code or description indicating how the input is intended to
            be used as part of the transport execution.
          $ref: '#/components/schemas/CodeableConcept'
        valueBase64Binary:
          description: The value of the input parameter as a basic type.
          pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
          type: string
        _valueBase64Binary:
          description: Extensions for valueBase64Binary
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: The value of the input parameter as a basic type.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueCanonical:
          description: The value of the input parameter as a basic type.
          pattern: ^\S*$
          type: string
        _valueCanonical:
          description: Extensions for valueCanonical
          $ref: '#/components/schemas/Element'
        valueCode:
          description: The value of the input parameter as a basic type.
          pattern: ^[^\s]+( [^\s]+)*$
          type: string
        _valueCode:
          description: Extensions for valueCode
          $ref: '#/components/schemas/Element'
        valueDate:
          description: The value of the input parameter as a basic type.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The value of the input parameter as a basic type.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: The value of the input parameter as a basic type.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
        valueId:
          description: The value of the input parameter as a basic type.
          pattern: ^[A-Za-z0-9\-\.]{1,64}$
          type: string
        _valueId:
          description: Extensions for valueId
          $ref: '#/components/schemas/Element'
        valueInstant:
          description: The value of the input parameter as a basic type.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$
          type: string
        _valueInstant:
          description: Extensions for valueInstant
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The value of the input parameter as a basic type.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueInteger64:
          description: The value of the input parameter as a basic type.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: string
        _valueInteger64:
          description: Extensions for valueInteger64
          $ref: '#/components/schemas/Element'
        valueMarkdown:
          description: The value of the input parameter as a basic type.
          pattern: ^^[\s\S]+$$
          type: string
        _valueMarkdown:
          description: Extensions for valueMarkdown
          $ref: '#/components/schemas/Element'
        valueOid:
          description: The value of the input parameter as a basic type.
          pattern: ^urn:oid:[0-2](\.(0|[1-9][0-9]*))+$
          type: string
        _valueOid:
          description: Extensions for valueOid
          $ref: '#/components/schemas/Element'
        valuePositiveInt:
          description: The value of the input parameter as a basic type.
          pattern: ^[1-9][0-9]*$
          type: number
        _valuePositiveInt:
          description: Extensions for valuePositiveInt
          $ref: '#/components/schemas/Element'
        valueString:
          description: The value of the input parameter as a basic type.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueTime:
          description: The value of the input parameter as a basic type.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _valueTime:
          description: Extensions for valueTime
          $ref: '#/components/schemas/Element'
        valueUnsignedInt:
          description: The value of the input parameter as a basic type.
          pattern: ^[0]|([1-9][0-9]*)$
          type: number
        _valueUnsignedInt:
          description: Extensions for valueUnsignedInt
          $ref: '#/components/schemas/Element'
        valueUri:
          description: The value of the input parameter as a basic type.
          pattern: ^\S*$
          type: string
        _valueUri:
          description: Extensions for valueUri
          $ref: '#/components/schemas/Element'
        valueUrl:
          description: The value of the input parameter as a basic type.
          pattern: ^\S*$
          type: string
        _valueUrl:
          description: Extensions for valueUrl
          $ref: '#/components/schemas/Element'
        valueUuid:
          description: The value of the input parameter as a basic type.
          pattern: ^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          type: string
        _valueUuid:
          description: Extensions for valueUuid
          $ref: '#/components/schemas/Element'
        valueAddress:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Address'
        valueAge:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Age'
        valueAnnotation:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Annotation'
        valueAttachment:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Attachment'
        valueCodeableConcept:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableReference:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/CodeableReference'
        valueCoding:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Coding'
        valueContactPoint:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/ContactPoint'
        valueCount:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Count'
        valueDistance:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Distance'
        valueDuration:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Duration'
        valueHumanName:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/HumanName'
        valueIdentifier:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Identifier'
        valueMoney:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Money'
        valuePeriod:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Period'
        valueQuantity:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Range'
        valueRatio:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Ratio'
        valueRatioRange:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/RatioRange'
        valueReference:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Reference'
        valueSampledData:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/SampledData'
        valueSignature:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Signature'
        valueTiming:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Timing'
        valueContactDetail:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/ContactDetail'
        valueDataRequirement:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/DataRequirement'
        valueExpression:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Expression'
        valueParameterDefinition:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/ParameterDefinition'
        valueRelatedArtifact:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/RelatedArtifact'
        valueTriggerDefinition:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/TriggerDefinition'
        valueUsageContext:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/UsageContext'
        valueAvailability:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Availability'
        valueExtendedContactDetail:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/ExtendedContactDetail'
        valueDosage:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Dosage'
        valueMeta:
          description: The value of the input parameter as a basic type.
          $ref: '#/components/schemas/Meta'
      type: object
      additionalProperties: false
      required:
      - type
    Transport_Output:
      description: Record of transport of item.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        type:
          description: The name of the Output parameter.
          $ref: '#/components/schemas/CodeableConcept'
        valueBase64Binary:
          description: The value of the Output parameter as a basic type.
          pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
          type: string
        _valueBase64Binary:
          description: Extensions for valueBase64Binary
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: The value of the Output parameter as a basic type.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueCanonical:
          description: The value of the Output parameter as a basic type.
          pattern: ^\S*$
          type: string
        _valueCanonical:
          description: Extensions for valueCanonical
          $ref: '#/components/schemas/Element'
        valueCode:
          description: The value of the Output parameter as a basic type.
          pattern: ^[^\s]+( [^\s]+)*$
          type: string
        _valueCode:
          description: Extensions for valueCode
          $ref: '#/components/schemas/Element'
        valueDate:
          description: The value of the Output parameter as a basic type.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$
          type: string
        _valueDate:
          description: Extensions for valueDate
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The value of the Output parameter as a basic type.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: The value of the Output parameter as a basic type.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
        valueId:
          description: The value of the Output parameter as a basic type.
          pattern: ^[A-Za-z0-9\-\.]{1,64}$
          type: string
        _valueId:
          description: Extensions for valueId
          $ref: '#/components/schemas/Element'
        valueInstant:
          description: The value of the Output parameter as a basic type.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$
          type: string
        _valueInstant:
          description: Extensions for valueInstant
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The value of the Output parameter as a basic type.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueInteger64:
          description: The value of the Output parameter as a basic type.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: string
        _valueInteger64:
          description: Extensions for valueInteger64
          $ref: '#/components/schemas/Element'
        valueMarkdown:
          description: The value of the Output parameter as a basic type.
          pattern: ^^[\s\S]+$$
          type: string
        _valueMarkdown:
          description: Extensions for valueMarkdown
          $ref: '#/components/schemas/Element'
        valueOid:
          description: The value of the Output parameter as a basic type.
          pattern: ^urn:oid:[0-2](\.(0|[1-9][0-9]*))+$
          type: string
        _valueOid:
          description: Extensions for valueOid
          $ref: '#/components/schemas/Element'
        valuePositiveInt:
          description: The value of the Output parameter as a basic type.
          pattern: ^[1-9][0-9]*$
          type: number
        _valuePositiveInt:
          description: Extensions for valuePositiveInt
          $ref: '#/components/schemas/Element'
        valueString:
          description: The value of the Output parameter as a basic type.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueTime:
          description: The value of the Output parameter as a basic type.
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?$
          type: string
        _valueTime:
          description: Extensions for valueTime
          $ref: '#/components/schemas/Element'
        valueUnsignedInt:
          description: The value of the Output parameter as a basic type.
          pattern: ^[0]|([1-9][0-9]*)$
          type: number
        _valueUnsignedInt:
          description: Extensions for valueUnsignedInt
          $ref: '#/components/schemas/Element'
        valueUri:
          description: The value of the Output parameter as a basic type.
          pattern: ^\S*$
          type: string
        _valueUri:
          description: Extensions for valueUri
          $ref: '#/components/schemas/Element'
        valueUrl:
          description: The value of the Output parameter as a basic type.
          pattern: ^\S*$
          type: string
        _valueUrl:
          description: Extensions for valueUrl
          $ref: '#/components/schemas/Element'
        valueUuid:
          description: The value of the Output parameter as a basic type.
          pattern: ^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          type: string
        _valueUuid:
          description: Extensions for valueUuid
          $ref: '#/components/schemas/Element'
        valueAddress:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Address'
        valueAge:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Age'
        valueAnnotation:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Annotation'
        valueAttachment:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Attachment'
        valueCodeableConcept:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/CodeableConcept'
        valueCodeableReference:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/CodeableReference'
        valueCoding:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Coding'
        valueContactPoint:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/ContactPoint'
        valueCount:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Count'
        valueDistance:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Distance'
        valueDuration:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Duration'
        valueHumanName:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/HumanName'
        valueIdentifier:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Identifier'
        valueMoney:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Money'
        valuePeriod:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Period'
        valueQuantity:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Quantity'
        valueRange:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Range'
        valueRatio:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Ratio'
        valueRatioRange:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/RatioRange'
        valueReference:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Reference'
        valueSampledData:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/SampledData'
        valueSignature:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Signature'
        valueTiming:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Timing'
        valueContactDetail:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/ContactDetail'
        valueDataRequirement:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/DataRequirement'
        valueExpression:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Expression'
        valueParameterDefinition:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/ParameterDefinition'
        valueRelatedArtifact:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/RelatedArtifact'
        valueTriggerDefinition:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/TriggerDefinition'
        valueUsageContext:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/UsageContext'
        valueAvailability:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Availability'
        valueExtendedContactDetail:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/ExtendedContactDetail'
        valueDosage:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Dosage'
        valueMeta:
          description: The value of the Output parameter as a basic type.
          $ref: '#/components/schemas/Meta'
      type: object
      additionalProperties: false
      required:
      - type
    ValueSet:
      description: A ValueSet resource instance specifies a set of codes drawn from
        one or more code systems, intended for use in a particular context. Value sets
        link between [CodeSystem](codesystem.html) definitions and their use in [coded
        elements](terminologies.html).
      properties:
        resourceType:
          description: This is a ValueSet resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        url:
          description: An absolute URI that is used to identify this value set when
            it is referenced in a specification, model, design or an instance; also
            called its canonical identifier. This SHOULD be globally unique and SHOULD
            be a literal address at which an authoritative instance of this value set
            is (or will be) published. This URL can be the target of a canonical reference.
            It SHALL remain the same when the value set is stored on different servers.
          $ref: '#/components/schemas/uri'
        _url:
          description: Extensions for url
          $ref: '#/components/schemas/Element'
        identifier:
          description: A formal identifier that is used to identify this value set when
            it is represented in other formats, or referenced in a specification, model,
            design or an instance.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        version:
          description: The identifier that is used to identify this version of the value
            set when it is referenced in a specification, model, design or instance.
            This is an arbitrary value managed by the value set author and is not expected
            to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd)
            if a managed version is not available. There is also no expectation that
            versions can be placed in a lexicographical sequence.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        versionAlgorithmString:
          description: Indicates the mechanism used to compare versions to determine
            which ValueSet is more current.
          pattern: ^^[\s\S]+$$
          type: string
        _versionAlgorithmString:
          description: Extensions for versionAlgorithmString
          $ref: '#/components/schemas/Element'
        versionAlgorithmCoding:
          description: Indicates the mechanism used to compare versions to determine
            which ValueSet is more current.
          $ref: '#/components/schemas/Coding'
        name:
          description: A natural language name identifying the value set. This name
            should be usable as an identifier for the module by machine processing applications
            such as code generation.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        title:
          description: A short, descriptive, user-friendly title for the value set.
          $ref: '#/components/schemas/string'
        _title:
          description: Extensions for title
          $ref: '#/components/schemas/Element'
        status:
          description: The status of this value set. Enables tracking the life-cycle
            of the content. The status of the value set applies to the value set definition
            (ValueSet.compose) and the associated ValueSet metadata. Expansions do not
            have a state.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        experimental:
          description: A Boolean value to indicate that this value set is authored for
            testing purposes (or education/evaluation/marketing) and is not intended
            to be used for genuine usage.
          $ref: '#/components/schemas/boolean'
        _experimental:
          description: Extensions for experimental
          $ref: '#/components/schemas/Element'
        date:
          description: The date (and optionally time) when the value set metadata or
            content logical definition (.compose) was created or revised.
          $ref: '#/components/schemas/dateTime'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        publisher:
          description: The name of the organization or individual responsible for the
            release and ongoing maintenance of the value set.
          $ref: '#/components/schemas/string'
        _publisher:
          description: Extensions for publisher
          $ref: '#/components/schemas/Element'
        contact:
          description: Contact details to assist a user in finding and communicating
            with the publisher.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        description:
          description: A free text natural language description of the value set from
            a consumer's perspective. The textual description specifies the span of
            meanings for concepts to be included within the Value Set Expansion, and
            also may specify the intended use and limitations of the Value Set.
          $ref: '#/components/schemas/markdown'
        _description:
          description: Extensions for description
          $ref: '#/components/schemas/Element'
        useContext:
          description: The content was developed with a focus and intent of supporting
            the contexts that are listed. These contexts may be general categories (gender,
            age, ...) or may be references to specific programs (insurance plans, studies,
            ...) and may be used to assist with indexing and searching for appropriate
            value set instances.
          items:
            $ref: '#/components/schemas/UsageContext'
          type: array
        jurisdiction:
          description: A legal or geographic region in which the value set is intended
            to be used.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        purpose:
          description: Explanation of why this value set is needed and why it has been
            designed as it has.
          $ref: '#/components/schemas/markdown'
        _purpose:
          description: Extensions for purpose
          $ref: '#/components/schemas/Element'
        copyright:
          description: A copyright statement relating to the value set and/or its contents.
            Copyright statements are generally legal restrictions on the use and publishing
            of the value set.
          $ref: '#/components/schemas/markdown'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
        copyrightLabel:
          description: A short string (<50 characters), suitable for inclusion in a
            page footer that identifies the copyright holder, effective period, and
            optionally whether rights are resctricted. (e.g. 'All rights reserved',
            'Some rights reserved').
          $ref: '#/components/schemas/string'
        _copyrightLabel:
          description: Extensions for copyrightLabel
          $ref: '#/components/schemas/Element'
        approvalDate:
          description: The date on which the resource content was approved by the publisher.
            Approval happens once when the content is officially approved for usage.
          $ref: '#/components/schemas/date'
        _approvalDate:
          description: Extensions for approvalDate
          $ref: '#/components/schemas/Element'
        lastReviewDate:
          description: The date on which the resource content was last reviewed. Review
            happens periodically after approval but does not change the original approval
            date.
          $ref: '#/components/schemas/date'
        _lastReviewDate:
          description: Extensions for lastReviewDate
          $ref: '#/components/schemas/Element'
        effectivePeriod:
          description: The period during which the ValueSet content was or is planned
            to be in active use.
          $ref: '#/components/schemas/Period'
        topic:
          description: Descriptions related to the content of the ValueSet. Topics provide
            a high-level categorization as well as keywords for the ValueSet that can
            be useful for filtering and searching.
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        author:
          description: An individiual or organization primarily involved in the creation
            and maintenance of the ValueSet.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        editor:
          description: An individual or organization primarily responsible for internal
            coherence of the ValueSet.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        reviewer:
          description: An individual or organization asserted by the publisher to be
            primarily responsible for review of some aspect of the ValueSet.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        endorser:
          description: An individual or organization asserted by the publisher to be
            responsible for officially endorsing the ValueSet for use in some setting.
          items:
            $ref: '#/components/schemas/ContactDetail'
          type: array
        relatedArtifact:
          description: Related artifacts such as additional documentation, justification,
            dependencies, bibliographic references, and predecessor and successor artifacts.
          items:
            $ref: '#/components/schemas/RelatedArtifact'
          type: array
        immutable:
          description: 'If this is set to ''true'', then no new versions of the content
            logical definition can be created.  Note: Other metadata might still change.'
          $ref: '#/components/schemas/boolean'
        _immutable:
          description: Extensions for immutable
          $ref: '#/components/schemas/Element'
        compose:
          description: A set of criteria that define the contents of the value set by
            including or excluding codes selected from the specified code system(s)
            that the value set draws from. This is also known as the Content Logical
            Definition (CLD).
          $ref: '#/components/schemas/ValueSet_Compose'
        expansion:
          description: A value set can also be "expanded", where the value set is turned
            into a simple collection of enumerated codes. This element holds the expansion,
            if it has been performed.
          $ref: '#/components/schemas/ValueSet_Expansion'
        scope:
          description: Description of the semantic space the Value Set Expansion is
            intended to cover and should further clarify the text in ValueSet.description.
          $ref: '#/components/schemas/ValueSet_Scope'
      type: object
      additionalProperties: false
      required:
      - resourceType
    ValueSet_Compose:
      description: A ValueSet resource instance specifies a set of codes drawn from
        one or more code systems, intended for use in a particular context. Value sets
        link between [CodeSystem](codesystem.html) definitions and their use in [coded
        elements](terminologies.html).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        lockedDate:
          description: The Locked Date is  the effective date that is used to determine
            the version of all referenced Code Systems and Value Set Definitions included
            in the compose that are not already tied to a specific version.
          $ref: '#/components/schemas/date'
        _lockedDate:
          description: Extensions for lockedDate
          $ref: '#/components/schemas/Element'
        inactive:
          description: Whether inactive codes - codes that are not approved for current
            use - are in the value set. If inactive = true, inactive codes are to be
            included in the expansion, if inactive = false, the inactive codes will
            not be included in the expansion. If absent, the behavior is determined
            by the implementation, or by the applicable $expand parameters (but generally,
            inactive codes would be expected to be included).
          $ref: '#/components/schemas/boolean'
        _inactive:
          description: Extensions for inactive
          $ref: '#/components/schemas/Element'
        include:
          description: Include one or more codes from a code system or other value set(s).
          items:
            $ref: '#/components/schemas/ValueSet_Include'
          type: array
        exclude:
          description: Exclude one or more codes from the value set based on code system
            filters and/or other value sets.
          items:
            $ref: '#/components/schemas/ValueSet_Include'
          type: array
        property:
          description: A property to return in the expansion, if the client doesn't
            ask for any particular properties. May be either a code from the code system
            definition (convenient) or a the formal URI that refers to the property.
            The special value '*' means all properties known to the server.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _property:
          description: Extensions for property
          items:
            $ref: '#/components/schemas/Element'
          type: array
      type: object
      additionalProperties: false
      required:
      - include
    ValueSet_Include:
      description: A ValueSet resource instance specifies a set of codes drawn from
        one or more code systems, intended for use in a particular context. Value sets
        link between [CodeSystem](codesystem.html) definitions and their use in [coded
        elements](terminologies.html).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        system:
          description: An absolute URI which is the code system from which the selected
            codes come from.
          $ref: '#/components/schemas/uri'
        _system:
          description: Extensions for system
          $ref: '#/components/schemas/Element'
        version:
          description: The version of the code system that the codes are selected from,
            or the special version '*' for all versions.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        concept:
          description: Specifies a concept to be included or excluded.
          items:
            $ref: '#/components/schemas/ValueSet_Concept'
          type: array
        filter:
          description: Select concepts by specifying a matching criterion based on the
            properties (including relationships) defined by the system, or on filters
            defined by the system. If multiple filters are specified within the include,
            they SHALL all be true.
          items:
            $ref: '#/components/schemas/ValueSet_Filter'
          type: array
        valueSet:
          description: Selects the concepts found in this value set (based on its value
            set definition). This is an absolute URI that is a reference to ValueSet.url.  If
            multiple value sets are specified this includes the intersection of the
            contents of all of the referenced value sets.
          items:
            $ref: '#/components/schemas/canonical'
          type: array
        copyright:
          description: A copyright statement for the specific code system asserted by
            the containing ValueSet.compose.include element's system value (if the associated
            ValueSet.compose.include.version element is not present); or the code system
            and version combination (if the associated ValueSet.compose.include.version
            element is present).
          $ref: '#/components/schemas/string'
        _copyright:
          description: Extensions for copyright
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ValueSet_Concept:
      description: A ValueSet resource instance specifies a set of codes drawn from
        one or more code systems, intended for use in a particular context. Value sets
        link between [CodeSystem](codesystem.html) definitions and their use in [coded
        elements](terminologies.html).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: Specifies a code for the concept to be included or excluded.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        display:
          description: The text to display to the user for this concept in the context
            of this valueset. If no display is provided, then applications using the
            value set use the display specified for the code by the system.
          $ref: '#/components/schemas/string'
        _display:
          description: Extensions for display
          $ref: '#/components/schemas/Element'
        designation:
          description: Additional representations for this concept when used in this
            value set - other languages, aliases, specialized purposes, used for particular
            purposes, etc.
          items:
            $ref: '#/components/schemas/ValueSet_Designation'
          type: array
      type: object
      additionalProperties: false
    ValueSet_Designation:
      description: A ValueSet resource instance specifies a set of codes drawn from
        one or more code systems, intended for use in a particular context. Value sets
        link between [CodeSystem](codesystem.html) definitions and their use in [coded
        elements](terminologies.html).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        language:
          description: The language this designation is defined for.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        use:
          description: A code that represents types of uses of designations.
          $ref: '#/components/schemas/Coding'
        additionalUse:
          description: Additional codes that detail how this designation would be used,
            if there is more than one use.
          items:
            $ref: '#/components/schemas/Coding'
          type: array
        value:
          description: The text value for this designation.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ValueSet_Filter:
      description: A ValueSet resource instance specifies a set of codes drawn from
        one or more code systems, intended for use in a particular context. Value sets
        link between [CodeSystem](codesystem.html) definitions and their use in [coded
        elements](terminologies.html).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        property:
          description: A code that identifies a property or a filter defined in the
            code system.
          $ref: '#/components/schemas/code'
        _property:
          description: Extensions for property
          $ref: '#/components/schemas/Element'
        op:
          description: The kind of operation to perform as a part of the filter criteria.
          $ref: '#/components/schemas/code'
        _op:
          description: Extensions for op
          $ref: '#/components/schemas/Element'
        value:
          description: The match value may be either a code defined by the system, or
            a string value, which is a regex match on the literal string of the property
            value  (if the filter represents a property defined in CodeSystem) or of
            the system filter value (if the filter represents a filter defined in CodeSystem)
            when the operation is 'regex', or one of the values (true and false), when
            the operation is 'exists'.
          $ref: '#/components/schemas/string'
        _value:
          description: Extensions for value
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ValueSet_Expansion:
      description: A ValueSet resource instance specifies a set of codes drawn from
        one or more code systems, intended for use in a particular context. Value sets
        link between [CodeSystem](codesystem.html) definitions and their use in [coded
        elements](terminologies.html).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: An identifier that uniquely identifies this expansion of the
            valueset, based on a unique combination of the provided parameters, the
            system default parameters, and the underlying system code system versions
            etc. Systems may re-use the same identifier as long as those factors remain
            the same, and the expansion is the same, but are not required to do so.
            This is a business identifier.
          $ref: '#/components/schemas/uri'
        _identifier:
          description: Extensions for identifier
          $ref: '#/components/schemas/Element'
        next:
          description: As per paging Search results, the next URLs are opaque to the
            client, have no dictated structure, and only the server understands them.
          $ref: '#/components/schemas/uri'
        _next:
          description: Extensions for next
          $ref: '#/components/schemas/Element'
        timestamp:
          description: The time at which the expansion was produced by the expanding
            system.
          $ref: '#/components/schemas/dateTime'
        _timestamp:
          description: Extensions for timestamp
          $ref: '#/components/schemas/Element'
        total:
          description: The total number of concepts in the expansion. If the number
            of concept nodes in this resource is less than the stated number, then the
            server can return more using the offset parameter.
          $ref: '#/components/schemas/integer'
        _total:
          description: Extensions for total
          $ref: '#/components/schemas/Element'
        offset:
          description: If paging is being used, the offset at which this resource starts.  I.e.
            this resource is a partial view into the expansion. If paging is not being
            used, this element SHALL NOT be present.
          $ref: '#/components/schemas/integer'
        _offset:
          description: Extensions for offset
          $ref: '#/components/schemas/Element'
        parameter:
          description: A parameter that controlled the expansion process. These parameters
            may be used by users of expanded value sets to check whether the expansion
            is suitable for a particular purpose, or to pick the correct expansion.
          items:
            $ref: '#/components/schemas/ValueSet_Parameter'
          type: array
        property:
          description: A property defines an additional slot through which additional
            information can be provided about a concept.
          items:
            $ref: '#/components/schemas/ValueSet_Property'
          type: array
        contains:
          description: The codes that are contained in the value set expansion.
          items:
            $ref: '#/components/schemas/ValueSet_Contains'
          type: array
      type: object
      additionalProperties: false
    ValueSet_Parameter:
      description: A ValueSet resource instance specifies a set of codes drawn from
        one or more code systems, intended for use in a particular context. Value sets
        link between [CodeSystem](codesystem.html) definitions and their use in [coded
        elements](terminologies.html).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        name:
          description: Name of the input parameter to the $expand operation; may be
            a server-assigned name for additional default or other server-supplied parameters
            used to control the expansion process.
          $ref: '#/components/schemas/string'
        _name:
          description: Extensions for name
          $ref: '#/components/schemas/Element'
        valueString:
          description: The value of the parameter.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: The value of the parameter.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The value of the parameter.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: The value of the parameter.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
        valueUri:
          description: The value of the parameter.
          pattern: ^\S*$
          type: string
        _valueUri:
          description: Extensions for valueUri
          $ref: '#/components/schemas/Element'
        valueCode:
          description: The value of the parameter.
          pattern: ^[^\s]+( [^\s]+)*$
          type: string
        _valueCode:
          description: Extensions for valueCode
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The value of the parameter.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ValueSet_Property:
      description: A ValueSet resource instance specifies a set of codes drawn from
        one or more code systems, intended for use in a particular context. Value sets
        link between [CodeSystem](codesystem.html) definitions and their use in [coded
        elements](terminologies.html).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A code that is used to identify the property. The code is used
            in ValueSet.expansion.contains.property.code.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        uri:
          description: Reference to the formal meaning of the property. One possible
            source of meaning is the [Concept Properties](codesystem-concept-properties.html)
            code system.
          $ref: '#/components/schemas/uri'
        _uri:
          description: Extensions for uri
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ValueSet_Contains:
      description: A ValueSet resource instance specifies a set of codes drawn from
        one or more code systems, intended for use in a particular context. Value sets
        link between [CodeSystem](codesystem.html) definitions and their use in [coded
        elements](terminologies.html).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        system:
          description: An absolute URI which is the code system in which the code for
            this item in the expansion is defined.
          $ref: '#/components/schemas/uri'
        _system:
          description: Extensions for system
          $ref: '#/components/schemas/Element'
        abstract:
          description: If true, this entry is included in the expansion for navigational
            purposes, and the user cannot select the code directly as a proper value.
          $ref: '#/components/schemas/boolean'
        _abstract:
          description: Extensions for abstract
          $ref: '#/components/schemas/Element'
        inactive:
          description: If the concept is inactive in the code system that defines it.
            Inactive codes are those that are no longer to be used, but are maintained
            by the code system for understanding legacy data. It might not be known
            or specified whether a concept is inactive (and it may depend on the context
            of use).
          $ref: '#/components/schemas/boolean'
        _inactive:
          description: Extensions for inactive
          $ref: '#/components/schemas/Element'
        version:
          description: The version of the code system from this code was taken. Note
            that a well-maintained code system does not need the version reported, because
            the meaning of codes is consistent across versions. However this cannot
            consistently be assured, and when the meaning is not guaranteed to be consistent,
            the version SHOULD be exchanged.
          $ref: '#/components/schemas/string'
        _version:
          description: Extensions for version
          $ref: '#/components/schemas/Element'
        code:
          description: The code for this item in the expansion hierarchy. If this code
            is missing the entry in the hierarchy is a place holder (abstract) and does
            not represent a valid code in the value set.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        display:
          description: The recommended display for this item in the expansion.
          $ref: '#/components/schemas/string'
        _display:
          description: Extensions for display
          $ref: '#/components/schemas/Element'
        designation:
          description: Additional representations for this item - other languages, aliases,
            specialized purposes, used for particular purposes, etc. These are relevant
            when the conditions of the expansion do not fix to a single correct representation.
          items:
            $ref: '#/components/schemas/ValueSet_Designation'
          type: array
        property:
          description: A property value for this concept.
          items:
            $ref: '#/components/schemas/ValueSet_Property1'
          type: array
        contains:
          description: Other codes and entries contained under this entry in the hierarchy.
          items:
            $ref: '#/components/schemas/ValueSet_Contains'
          type: array
      type: object
      additionalProperties: false
    ValueSet_Property1:
      description: A ValueSet resource instance specifies a set of codes drawn from
        one or more code systems, intended for use in a particular context. Value sets
        link between [CodeSystem](codesystem.html) definitions and their use in [coded
        elements](terminologies.html).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A code that is a reference to ValueSet.expansion.property.code.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        valueCode:
          description: The value of this property.
          pattern: ^[^\s]+( [^\s]+)*$
          type: string
        _valueCode:
          description: Extensions for valueCode
          $ref: '#/components/schemas/Element'
        valueCoding:
          description: The value of this property.
          $ref: '#/components/schemas/Coding'
        valueString:
          description: The value of this property.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The value of this property.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: The value of this property.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The value of this property.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: The value of this property.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
        subProperty:
          description: A subproperty value for this concept.
          items:
            $ref: '#/components/schemas/ValueSet_SubProperty'
          type: array
      type: object
      additionalProperties: false
    ValueSet_SubProperty:
      description: A ValueSet resource instance specifies a set of codes drawn from
        one or more code systems, intended for use in a particular context. Value sets
        link between [CodeSystem](codesystem.html) definitions and their use in [coded
        elements](terminologies.html).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        code:
          description: A code that is a reference to ValueSet.expansion.property.code.
          $ref: '#/components/schemas/code'
        _code:
          description: Extensions for code
          $ref: '#/components/schemas/Element'
        valueCode:
          description: The value of this subproperty.
          pattern: ^[^\s]+( [^\s]+)*$
          type: string
        _valueCode:
          description: Extensions for valueCode
          $ref: '#/components/schemas/Element'
        valueCoding:
          description: The value of this subproperty.
          $ref: '#/components/schemas/Coding'
        valueString:
          description: The value of this subproperty.
          pattern: ^^[\s\S]+$$
          type: string
        _valueString:
          description: Extensions for valueString
          $ref: '#/components/schemas/Element'
        valueInteger:
          description: The value of this subproperty.
          pattern: ^[0]|[-+]?[1-9][0-9]*$
          type: number
        _valueInteger:
          description: Extensions for valueInteger
          $ref: '#/components/schemas/Element'
        valueBoolean:
          description: The value of this subproperty.
          pattern: ^true|false$
          type: boolean
        _valueBoolean:
          description: Extensions for valueBoolean
          $ref: '#/components/schemas/Element'
        valueDateTime:
          description: The value of this subproperty.
          pattern: ^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$
          type: string
        _valueDateTime:
          description: Extensions for valueDateTime
          $ref: '#/components/schemas/Element'
        valueDecimal:
          description: The value of this subproperty.
          pattern: ^-?(0|[1-9][0-9]{0,17})(\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$
          type: number
        _valueDecimal:
          description: Extensions for valueDecimal
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    ValueSet_Scope:
      description: A ValueSet resource instance specifies a set of codes drawn from
        one or more code systems, intended for use in a particular context. Value sets
        link between [CodeSystem](codesystem.html) definitions and their use in [coded
        elements](terminologies.html).
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        inclusionCriteria:
          description: Criteria describing which concepts or codes should be included
            and why.
          $ref: '#/components/schemas/string'
        _inclusionCriteria:
          description: Extensions for inclusionCriteria
          $ref: '#/components/schemas/Element'
        exclusionCriteria:
          description: Criteria describing which concepts or codes should be excluded
            and why.
          $ref: '#/components/schemas/string'
        _exclusionCriteria:
          description: Extensions for exclusionCriteria
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    VerificationResult:
      description: Describes validation requirements, source(s), status and dates for
        one or more elements.
      properties:
        resourceType:
          description: This is a VerificationResult resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        target:
          description: A resource that was validated.
          items:
            $ref: '#/components/schemas/Reference'
          type: array
        targetLocation:
          description: The fhirpath location(s) within the resource that was validated.
          items:
            $ref: '#/components/schemas/string'
          type: array
        _targetLocation:
          description: Extensions for targetLocation
          items:
            $ref: '#/components/schemas/Element'
          type: array
        need:
          description: The frequency with which the target must be validated (none;
            initial; periodic).
          $ref: '#/components/schemas/CodeableConcept'
        status:
          description: The validation status of the target (attested; validated; in
            process; requires revalidation; validation failed; revalidation failed).
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        statusDate:
          description: When the validation status was updated.
          $ref: '#/components/schemas/dateTime'
        _statusDate:
          description: Extensions for statusDate
          $ref: '#/components/schemas/Element'
        validationType:
          description: What the target is validated against (nothing; primary source;
            multiple sources).
          $ref: '#/components/schemas/CodeableConcept'
        validationProcess:
          description: The primary process by which the target is validated (edit check;
            value set; primary source; multiple sources; standalone; in context).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        frequency:
          description: Frequency of revalidation.
          $ref: '#/components/schemas/Timing'
        lastPerformed:
          description: The date/time validation was last completed (including failed
            validations).
          $ref: '#/components/schemas/dateTime'
        _lastPerformed:
          description: Extensions for lastPerformed
          $ref: '#/components/schemas/Element'
        nextScheduled:
          description: The date when target is next validated, if appropriate.
          $ref: '#/components/schemas/date'
        _nextScheduled:
          description: Extensions for nextScheduled
          $ref: '#/components/schemas/Element'
        failureAction:
          description: The result if validation fails (fatal; warning; record only;
            none).
          $ref: '#/components/schemas/CodeableConcept'
        primarySource:
          description: Information about the primary source(s) involved in validation.
          items:
            $ref: '#/components/schemas/VerificationResult_PrimarySource'
          type: array
        attestation:
          description: Information about the entity attesting to information.
          $ref: '#/components/schemas/VerificationResult_Attestation'
        validator:
          description: Information about the entity validating information.
          items:
            $ref: '#/components/schemas/VerificationResult_Validator'
          type: array
      type: object
      additionalProperties: false
      required:
      - resourceType
    VerificationResult_PrimarySource:
      description: Describes validation requirements, source(s), status and dates for
        one or more elements.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        who:
          description: Reference to the primary source.
          $ref: '#/components/schemas/Reference'
        type:
          description: Type of primary source (License Board; Primary Education; Continuing
            Education; Postal Service; Relationship owner; Registration Authority; legal
            source; issuing source; authoritative source).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        communicationMethod:
          description: Method for communicating with the primary source (manual; API;
            Push).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
        validationStatus:
          description: Status of the validation of the target against the primary source
            (successful; failed; unknown).
          $ref: '#/components/schemas/CodeableConcept'
        validationDate:
          description: When the target was validated against the primary source.
          $ref: '#/components/schemas/dateTime'
        _validationDate:
          description: Extensions for validationDate
          $ref: '#/components/schemas/Element'
        canPushUpdates:
          description: Ability of the primary source to push updates/alerts (yes; no;
            undetermined).
          $ref: '#/components/schemas/CodeableConcept'
        pushTypeAvailable:
          description: Type of alerts/updates the primary source can send (specific
            requested changes; any changes; as defined by source).
          items:
            $ref: '#/components/schemas/CodeableConcept'
          type: array
      type: object
      additionalProperties: false
    VerificationResult_Attestation:
      description: Describes validation requirements, source(s), status and dates for
        one or more elements.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        who:
          description: The individual or organization attesting to information.
          $ref: '#/components/schemas/Reference'
        onBehalfOf:
          description: When the who is asserting on behalf of another (organization
            or individual).
          $ref: '#/components/schemas/Reference'
        communicationMethod:
          description: The method by which attested information was submitted/retrieved
            (manual; API; Push).
          $ref: '#/components/schemas/CodeableConcept'
        date:
          description: The date the information was attested to.
          $ref: '#/components/schemas/date'
        _date:
          description: Extensions for date
          $ref: '#/components/schemas/Element'
        sourceIdentityCertificate:
          description: A digital identity certificate associated with the attestation
            source.
          $ref: '#/components/schemas/string'
        _sourceIdentityCertificate:
          description: Extensions for sourceIdentityCertificate
          $ref: '#/components/schemas/Element'
        proxyIdentityCertificate:
          description: A digital identity certificate associated with the proxy entity
            submitting attested information on behalf of the attestation source.
          $ref: '#/components/schemas/string'
        _proxyIdentityCertificate:
          description: Extensions for proxyIdentityCertificate
          $ref: '#/components/schemas/Element'
        proxySignature:
          description: Signed assertion by the proxy entity indicating that they have
            the right to submit attested information on behalf of the attestation source.
          $ref: '#/components/schemas/Signature'
        sourceSignature:
          description: Signed assertion by the attestation source that they have attested
            to the information.
          $ref: '#/components/schemas/Signature'
      type: object
      additionalProperties: false
    VerificationResult_Validator:
      description: Describes validation requirements, source(s), status and dates for
        one or more elements.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        organization:
          description: Reference to the organization validating information.
          $ref: '#/components/schemas/Reference'
        identityCertificate:
          description: A digital identity certificate associated with the validator.
          $ref: '#/components/schemas/string'
        _identityCertificate:
          description: Extensions for identityCertificate
          $ref: '#/components/schemas/Element'
        attestationSignature:
          description: Signed assertion by the validator that they have validated the
            information.
          $ref: '#/components/schemas/Signature'
      type: object
      additionalProperties: false
      required:
      - organization
    VisionPrescription:
      description: An authorization for the provision of glasses and/or contact lenses
        to a patient.
      properties:
        resourceType:
          description: This is a VisionPrescription resource
          $ref: '#/components/schemas/string'
        id:
          description: The logical id of the resource, as used in the URL for the resource.
            Once assigned, this value never changes.
          $ref: '#/components/schemas/id'
        meta:
          description: The metadata about the resource. This is content that is maintained
            by the infrastructure. Changes to the content might not always be associated
            with version changes to the resource.
          $ref: '#/components/schemas/Meta'
        implicitRules:
          description: A reference to a set of rules that were followed when the resource
            was constructed, and which must be understood when processing the content.
            Often, this is a reference to an implementation guide that defines the special
            rules along with other profiles etc.
          $ref: '#/components/schemas/uri'
        _implicitRules:
          description: Extensions for implicitRules
          $ref: '#/components/schemas/Element'
        language:
          description: The base language in which the resource is written.
          $ref: '#/components/schemas/code'
        _language:
          description: Extensions for language
          $ref: '#/components/schemas/Element'
        text:
          description: A human-readable narrative that contains a summary of the resource
            and can be used to represent the content of the resource to a human. The
            narrative need not encode all the structured data, but is required to contain
            sufficient detail to make it "clinically safe" for a human to just read
            the narrative. Resource definitions may define what content should be represented
            in the narrative to ensure clinical safety.
          $ref: '#/components/schemas/Narrative'
        contained:
          description: These resources do not have an independent existence apart from
            the resource that contains them - they cannot be identified independently,
            nor can they have their own independent transaction scope. This is allowed
            to be a Parameters resource if and only if it is referenced by a resource
            that provides context/meaning.
          items:
            $ref: '#/components/schemas/ResourceList'
          type: array
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the resource. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the resource and that modifies the understanding
            of the element that contains it and/or the understanding of the containing
            element''s descendants. Usually modifier elements provide negation or qualification.
            To make the use of extensions safe and managable, there is a strict set
            of governance applied to the definition and use of extensions. Though any
            implementer is allowed to define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        identifier:
          description: A unique identifier assigned to this vision prescription.
          items:
            $ref: '#/components/schemas/Identifier'
          type: array
        status:
          description: The status of the resource instance.
          $ref: '#/components/schemas/code'
        _status:
          description: Extensions for status
          $ref: '#/components/schemas/Element'
        created:
          description: The date this resource was created.
          $ref: '#/components/schemas/dateTime'
        _created:
          description: Extensions for created
          $ref: '#/components/schemas/Element'
        patient:
          description: A resource reference to the person to whom the vision prescription
            applies.
          $ref: '#/components/schemas/Reference'
        encounter:
          description: A reference to a resource that identifies the particular occurrence
            of contact between patient and health care provider during which the prescription
            was issued.
          $ref: '#/components/schemas/Reference'
        dateWritten:
          description: The date (and perhaps time) when the prescription was written.
          $ref: '#/components/schemas/dateTime'
        _dateWritten:
          description: Extensions for dateWritten
          $ref: '#/components/schemas/Element'
        prescriber:
          description: The healthcare professional responsible for authorizing the prescription.
          $ref: '#/components/schemas/Reference'
        lensSpecification:
          description: Contain the details of  the individual lens specifications and
            serves as the authorization for the fullfillment by certified professionals.
          items:
            $ref: '#/components/schemas/VisionPrescription_LensSpecification'
          type: array
      type: object
      additionalProperties: false
      required:
      - prescriber
      - patient
      - lensSpecification
      - resourceType
    VisionPrescription_LensSpecification:
      description: An authorization for the provision of glasses and/or contact lenses
        to a patient.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        product:
          description: Identifies the type of vision correction product which is required
            for the patient.
          $ref: '#/components/schemas/CodeableConcept'
        eye:
          description: The eye for which the lens specification applies.
          $ref: '#/components/schemas/code'
        _eye:
          description: Extensions for eye
          $ref: '#/components/schemas/Element'
        sphere:
          description: Lens power measured in dioptres (0.25 units).
          $ref: '#/components/schemas/decimal'
        _sphere:
          description: Extensions for sphere
          $ref: '#/components/schemas/Element'
        cylinder:
          description: Power adjustment for astigmatism measured in dioptres (0.25 units).
          $ref: '#/components/schemas/decimal'
        _cylinder:
          description: Extensions for cylinder
          $ref: '#/components/schemas/Element'
        axis:
          description: Adjustment for astigmatism measured in integer degrees.
          $ref: '#/components/schemas/integer'
        _axis:
          description: Extensions for axis
          $ref: '#/components/schemas/Element'
        prism:
          description: Allows for adjustment on two axis.
          items:
            $ref: '#/components/schemas/VisionPrescription_Prism'
          type: array
        add:
          description: Power adjustment for multifocal lenses measured in dioptres (0.25
            units).
          $ref: '#/components/schemas/decimal'
        _add:
          description: Extensions for add
          $ref: '#/components/schemas/Element'
        power:
          description: Contact lens power measured in dioptres (0.25 units).
          $ref: '#/components/schemas/decimal'
        _power:
          description: Extensions for power
          $ref: '#/components/schemas/Element'
        backCurve:
          description: Back curvature measured in millimetres.
          $ref: '#/components/schemas/decimal'
        _backCurve:
          description: Extensions for backCurve
          $ref: '#/components/schemas/Element'
        diameter:
          description: Contact lens diameter measured in millimetres.
          $ref: '#/components/schemas/decimal'
        _diameter:
          description: Extensions for diameter
          $ref: '#/components/schemas/Element'
        duration:
          description: The recommended maximum wear period for the lens.
          $ref: '#/components/schemas/Quantity'
        color:
          description: Special color or pattern.
          $ref: '#/components/schemas/string'
        _color:
          description: Extensions for color
          $ref: '#/components/schemas/Element'
        brand:
          description: Brand recommendations or restrictions.
          $ref: '#/components/schemas/string'
        _brand:
          description: Extensions for brand
          $ref: '#/components/schemas/Element'
        note:
          description: Notes for special requirements such as coatings and lens materials.
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
      type: object
      additionalProperties: false
      required:
      - product
    VisionPrescription_Prism:
      description: An authorization for the provision of glasses and/or contact lenses
        to a patient.
      properties:
        id:
          description: Unique id for the element within a resource (for internal references).
            This may be any string value that does not contain spaces.
          $ref: '#/components/schemas/string'
        extension:
          description: May be used to represent additional information that is not part
            of the basic definition of the element. To make the use of extensions safe
            and managable, there is a strict set of governance applied to the definition
            and use of extensions. Though any implementer can define an extension, there
            is a set of requirements that SHALL be met as part of the definition of
            the extension.
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        modifierExtension:
          description: 'May be used to represent additional information that is not
            part of the basic definition of the element and that modifies the understanding
            of the element in which it is contained and/or the understanding of the
            containing element''s descendants. Usually modifier elements provide negation
            or qualification. To make the use of extensions safe and managable, there
            is a strict set of governance applied to the definition and use of extensions.
            Though any implementer can define an extension, there is a set of requirements
            that SHALL be met as part of the definition of the extension. Applications
            processing a resource are required to check for modifier extensions.


            Modifier extensions SHALL NOT change the meaning of any elements on Resource
            or DomainResource (including cannot change the meaning of modifierExtension
            itself).'
          items:
            $ref: '#/components/schemas/Extension'
          type: array
        amount:
          description: Amount of prism to compensate for eye alignment in fractional
            units.
          $ref: '#/components/schemas/decimal'
        _amount:
          description: Extensions for amount
          $ref: '#/components/schemas/Element'
        base:
          description: The relative base, or reference lens edge, for the prism.
          $ref: '#/components/schemas/code'
        _base:
          description: Extensions for base
          $ref: '#/components/schemas/Element'
      type: object
      additionalProperties: false
    Success:
      type: object
      required:
        - status
      properties:
        status:
          description: ''
          type: boolean
