STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Ccda/ClinicalDocument.xml

Raw XML (canonical form)

Logical Model CDA R2

<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ClinicalDocument"/>
  <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
    <valueUri value="urn:hl7-org:v3"/>
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/ClinicalDocument"/>
  <name value="CDA R2"/>
  <display value="FHIR Definition for CDA document"/>
  <status value="active"/>
  <experimental value="false"/>
  <publisher value="HL7"/>
  <description value="This is a generated StructureDefinition that describes CDA - that is, CDA as it actually
   is for R2. The intent of this StructureDefinition is to enable CDA to be a FHIR resource.
   That enables the FHIR infrastructure - API, conformance, query - to be used directly against
   CDA"/>
  <kind value="logical"/>
  <abstract value="false"/>
  <snapshot>
    <element>
      <path value="ClinicalDocument"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Resource"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DOCCLIN"/>
      <fixedCode value="DOCCLIN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.id"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.code"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-DocumentType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.title"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ST"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.effectiveTime"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.confidentialityCode"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.setId"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.versionNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="INT"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.copyTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="RCT"/>
      <fixedCode value="RCT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationIndirectTarget"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ContextControl"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.time"/>
      <min value="1"/>
      <max value="0"/>
      <type>
        <code value="TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PAT"/>
      <fixedCode value="PAT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassRelationshipFormal"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.id"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PSN"/>
      <fixedCode value="PSN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassLivingSubject"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.id"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.name"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.desc"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.administrativeGenderCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-AdministrativeGender"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
    </element>
    <element>
      <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.deceasedInd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
    </element>
    <element>
      <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.deceasedTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.maritalStatusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-MaritalStatus"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.religiousAffiliationCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ReligiousAffiliation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.raceCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-Race"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.ethnicGroupCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-Ethnicity"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="GUARD"/>
      <fixedCode value="GUARD"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassAgent"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
      <name value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PSN"/>
      <fixedCode value="PSN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassLivingSubject"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.name"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.asPatientRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CE"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
      <name value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ORG"/>
      <fixedCode value="ORG"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassOrganization"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.name"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.standardIndustryClas
      sCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-OrganizationIndustryClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf
      .nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf
      .realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf
      .typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf
      .templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf
      .classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PART"/>
      <fixedCode value="PART"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassPartitive"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf
      .id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf
      .code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf
      .statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf
      .effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf
      .wholeOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="BIRTHPL"/>
      <fixedCode value="BIRTHPL"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassPassive"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place"/>
      <name value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PLC"/>
      <fixedCode value="PLC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassPlace"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.name"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.modeCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-LanguageAbilityMode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.proficiencyLevelCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-LanguageAbilityProficiency"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.preferenceInd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.providerOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
    </element>
    <element>
      <path value="ClinicalDocument.author"/>
      <name value="ClinicalDocument.author"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="AUT"/>
      <fixedCode value="AUT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationInformationTranscriber"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.functionCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationFunction"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ContextControl"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.time"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ASSIGNED"/>
      <fixedCode value="ASSIGNED"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassAssignedEntity"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.id"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedPerson"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DEV"/>
      <fixedCode value="DEV"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassDevice"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.manufacturerModelName"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="SC"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ManufacturerModelName"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.softwareName"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="SC"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-SoftwareName"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.asMaintainedEntity"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.asMaintainedEntity.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.asMaintainedEntity.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.asMaintainedEntity.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.asMaintainedEntity.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.asMaintainedEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="MNT"/>
      <fixedCode value="MNT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassPassive"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.asMaintainedEntity.effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.asMaintainedEntity.maintainingPerson"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.representedOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ENT"/>
      <fixedCode value="ENT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationInformationGenerator"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ContextControl"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.time"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity"/>
      <name value="ClinicalDocument.dataEnterer.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ASSIGNED"/>
      <fixedCode value="ASSIGNED"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassAssignedEntity"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.id"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.assignedPerson"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.representedOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
    </element>
    <element>
      <path value="ClinicalDocument.informant"/>
      <name value="ClinicalDocument.informant"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informant.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.informant.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informant.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informant.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INF"/>
      <fixedCode value="INF"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationInformationGenerator"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.informant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ContextControl"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.informant.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.dataEnterer.assignedEntity"/>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassMutualRelationship"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-PersonalRelationshipRoleType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity.effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity.relatedPerson"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
    </element>
    <element>
      <path value="ClinicalDocument.custodian"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="CST"/>
      <fixedCode value="CST"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationVerifier"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ASSIGNED"/>
      <fixedCode value="ASSIGNED"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassAssignedEntity"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ORG"/>
      <fixedCode value="ORG"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassOrganization"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.id"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.name"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.telecom"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.addr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PRCP"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ASSIGNED"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
    </element>
    <element>
      <path value="ClinicalDocument.legalAuthenticator"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.legalAuthenticator.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.legalAuthenticator.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.legalAuthenticator.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.legalAuthenticator.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.legalAuthenticator.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="LA"/>
      <fixedCode value="LA"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationVerifier"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.legalAuthenticator.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ContextControl"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.legalAuthenticator.time"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.legalAuthenticator.signatureCode"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.legalAuthenticator.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.dataEnterer.assignedEntity"/>
    </element>
    <element>
      <path value="ClinicalDocument.authenticator"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authenticator.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.authenticator.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authenticator.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authenticator.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authenticator.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="AUTHEN"/>
      <fixedCode value="AUTHEN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationVerifier"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.authenticator.time"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.authenticator.signatureCode"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.authenticator.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.dataEnterer.assignedEntity"/>
    </element>
    <element>
      <path value="ClinicalDocument.participant"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.participant.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.participant.functionCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationFunction"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.participant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ContextControl"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.participant.time"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassAssociative"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.associatedPerson"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.scopingOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="FLFS"/>
      <fixedCode value="FLFS"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActRelationshipFulfills"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.order"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.order.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.order.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.order.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.order.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.order.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ACT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.order.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="RQO"/>
      <fixedCode value="RQO"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMoodIntent"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.order.id"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.order.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.order.priorityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActPriority"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DOC"/>
      <fixedCode value="DOC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassDocument"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ACT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.performer"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.performer.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.performer.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.performer.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.performer.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.performer.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationFunction"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.performer.time"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.dataEnterer.assignedEntity"/>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DOCCLIN"/>
      <fixedCode value="DOCCLIN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassClinicalDocument"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.id"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-DocumentType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.setId"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.versionNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="INT"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authorization"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="AUTH"/>
      <fixedCode value="AUTH"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActRelationshipPertains"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.consent"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.consent.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.consent.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.consent.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.consent.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.consent.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="CONS"/>
      <fixedCode value="CONS"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.consent.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.consent.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.consent.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.consent.statusCode"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <defaultValueCode value="completed"/>
      <fixedCode value="completed"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="COMP"/>
      <fixedCode value="COMP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActRelationshipHasComponent"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ENC"/>
      <fixedCode value="ENC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActEncounterCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.effectiveTime"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.admissionReferralSourceCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.dischargeDispositionCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EncounterDischargeDisposition"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="RESP"/>
      <fixedCode value="RESP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.dataEnterer.assignedEntity"/>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.encounterParticipant"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.encounterParticipant.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.encounterParticipant.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.encounterParticipant.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.encounterParticipant.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.encounterParticipant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.encounterParticipant.time"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.encounterParticipant.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.dataEnterer.assignedEntity"/>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="LOC"/>
      <fixedCode value="LOC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationTargetLocation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SDLOC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassServiceDeliveryLocation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility.location"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.birthplace.place"/>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility.serviceProviderOrgani
      zation"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
    </element>
    <element>
      <path value="ClinicalDocument.component"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="COMP"/>
      <fixedCode value="COMP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActRelationshipHasComponent"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.nonXMLBody"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.nonXMLBody.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.nonXMLBody.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.nonXMLBody.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.nonXMLBody.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.nonXMLBody.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DOCBODY"/>
      <fixedCode value="DOCBODY"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassOrganizer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.nonXMLBody.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.nonXMLBody.text"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.nonXMLBody.confidentialityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.nonXMLBody.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DOCBODY"/>
      <fixedCode value="DOCBODY"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassOrganizer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.confidentialityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="COMP"/>
      <fixedCode value="COMP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section"/>
      <name value="ClinicalDocument.component.structuredBody.component.section"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DOCSECT"/>
      <fixedCode value="DOCSECT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassOrganizer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.id"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-DocumentSectionType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.title"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ST"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="xhtml"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.confidentialityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.subject"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SBJ"/>
      <fixedCode value="SBJ"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationTargetSubject"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ContextControl"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.awarenessCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-TargetAwareness"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PRS"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-PersonalRelationshipRoleType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.nullFlavo
      r"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.templateI
      d"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PSN"/>
      <fixedCode value="PSN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassLivingSubject"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.determine
      rCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.name"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.desc"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.administr
      ativeGenderCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-AdministrativeGender"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.birthTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
    </element>
    <element>
      <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.deceasedI
      nd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
    </element>
    <element>
      <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.deceasedT
      ime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="COMP"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassObservation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.code"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ObservationType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.derivationExpr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ST"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActStatus"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.priorityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActPriority"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.repeatNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_INT"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.value"/>
      <representation value="typeAttr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BL"/>
      </type>
      <type>
        <code value="ED"/>
      </type>
      <type>
        <code value="ST"/>
      </type>
      <type>
        <code value="CD"/>
      </type>
      <type>
        <code value="CV"/>
      </type>
      <type>
        <code value="CE"/>
      </type>
      <type>
        <code value="SC"/>
      </type>
      <type>
        <code value="II"/>
      </type>
      <type>
        <code value="TEL"/>
      </type>
      <type>
        <code value="AD"/>
      </type>
      <type>
        <code value="EN"/>
      </type>
      <type>
        <code value="INT"/>
      </type>
      <type>
        <code value="REAL"/>
      </type>
      <type>
        <code value="PQ"/>
      </type>
      <type>
        <code value="MO"/>
      </type>
      <type>
        <code value="TS"/>
      </type>
      <type>
        <code value="IVL_PQ"/>
      </type>
      <type>
        <code value="IVL_TS"/>
      </type>
      <type>
        <code value="PIVL"/>
      </type>
      <type>
        <code value="EIVL"/>
      </type>
      <type>
        <code value="SXPR_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.interpretationCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ObservationInterpretation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.methodCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.targetSiteCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.nullFla
      vor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.realmCo
      de"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.templat
      eId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.typeCod
      e"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="REFV"/>
      <fixedCode value="REFV"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActRelationshipPertains"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OBS"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassObservation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN.CRT"/>
      <fixedCode value="EVN.CRT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMoodPredicate"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange.value"/>
      <representation value="typeAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
      <type>
        <code value="ED"/>
      </type>
      <type>
        <code value="ST"/>
      </type>
      <type>
        <code value="CD"/>
      </type>
      <type>
        <code value="CV"/>
      </type>
      <type>
        <code value="CE"/>
      </type>
      <type>
        <code value="SC"/>
      </type>
      <type>
        <code value="II"/>
      </type>
      <type>
        <code value="TEL"/>
      </type>
      <type>
        <code value="AD"/>
      </type>
      <type>
        <code value="EN"/>
      </type>
      <type>
        <code value="INT"/>
      </type>
      <type>
        <code value="REAL"/>
      </type>
      <type>
        <code value="PQ"/>
      </type>
      <type>
        <code value="MO"/>
      </type>
      <type>
        <code value="TS"/>
      </type>
      <type>
        <code value="IVL_PQ"/>
      </type>
      <type>
        <code value="IVL_TS"/>
      </type>
      <type>
        <code value="PIVL"/>
      </type>
      <type>
        <code value="EIVL"/>
      </type>
      <type>
        <code value="SXPR_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange.interpretationCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ObservationInterpretation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SPC"/>
      <fixedCode value="SPC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationTargetDirect"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SPEC"/>
      <fixedCode value="SPEC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassSpecimen"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ENT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassRoot"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity.quantity"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="PQ"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity.name"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity.desc"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.performer.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.performer.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.performer.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.performer.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.performer.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PRF"/>
      <fixedCode value="PRF"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationPhysicalPerformer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.performer.time"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.performer.modeCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationMode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.performer.assignedEnti
      ty"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.dataEnterer.assignedEntity"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.contextCon
      trolCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ContextControl"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.time"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.awarenessC
      ode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-TargetAwareness"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ROL"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassRoot"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingDevice"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingDevice.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingDevice.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingDevice.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingDevice.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingDevice.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DEV"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassDevice"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingDevice.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingDevice.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingDevice.manufacturerModelName"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="SC"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ManufacturerModelName"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingDevice.softwareName"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="SC"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-SoftwareName"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingEntity"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole
      .specimenPlayingEntity"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.scopingEntity"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.scopingEntity.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.scopingEntity.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.scopingEntity.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.scopingEntity.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.scopingEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ENT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassRoot"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.scopingEntity.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.scopingEntity.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.scopingEntity.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.scopingEntity.desc"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.null
      Flavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.real
      mCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.type
      Id"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.temp
      lateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.type
      Code"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.inve
      rsionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.cont
      extConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.sequ
      enceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="INT"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.nega
      tionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.sepe
      ratableInd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvation"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ROIOVL"/>
      <fixedCode value="ROIOVL"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassROI"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.id"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.code"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.value"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="INT"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.performer"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.participant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalAct"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalAct.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalAct.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalAct.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalAct.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalAct.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ACT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalAct.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalAct.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalAct.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalAct.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalObservation"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalObservation.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalObservation.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalObservation.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalObservation.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalObservation.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OBS"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassObservation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalObservation.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalObservation.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalObservation.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalObservation.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalProcedure"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalProcedure.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalProcedure.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalProcedure.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalProcedure.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalProcedure.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PROC"/>
      <fixedCode value="PROC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassProcedure"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalProcedure.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalProcedure.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalProcedure.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalProcedure.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DOC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassDocument"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-DocumentType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.setId"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.versionNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="INT"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PRCN"/>
      <fixedCode value="PRCN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActRelationshipConditional"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.criterion"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.criterion.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.criterion.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.criterion.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.criterion.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.criterion.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OBS"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassObservation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.criterion.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN.CRT"/>
      <fixedCode value="EVN.CRT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMoodPredicate"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.criterion.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.criterion.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.criterion.value"/>
      <representation value="typeAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
      <type>
        <code value="ED"/>
      </type>
      <type>
        <code value="ST"/>
      </type>
      <type>
        <code value="CD"/>
      </type>
      <type>
        <code value="CV"/>
      </type>
      <type>
        <code value="CE"/>
      </type>
      <type>
        <code value="SC"/>
      </type>
      <type>
        <code value="II"/>
      </type>
      <type>
        <code value="TEL"/>
      </type>
      <type>
        <code value="AD"/>
      </type>
      <type>
        <code value="EN"/>
      </type>
      <type>
        <code value="INT"/>
      </type>
      <type>
        <code value="REAL"/>
      </type>
      <type>
        <code value="PQ"/>
      </type>
      <type>
        <code value="MO"/>
      </type>
      <type>
        <code value="TS"/>
      </type>
      <type>
        <code value="IVL_PQ"/>
      </type>
      <type>
        <code value="IVL_TS"/>
      </type>
      <type>
        <code value="PIVL"/>
      </type>
      <type>
        <code value="EIVL"/>
      </type>
      <type>
        <code value="SXPR_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OBS"/>
      <fixedCode value="OBS"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassObservation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.value"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.performer"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.participant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.reference"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.reference"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.precondition"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SBADM"/>
      <fixedCode value="SBADM"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-SubstanceAdministrationActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActStatus"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.effectiveTime"/>
      <representation value="typeAttr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="IVL_TS"/>
      </type>
      <type>
        <code value="EIVL"/>
      </type>
      <type>
        <code value="PIVL"/>
      </type>
      <type>
        <code value="SXPR_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.priorityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActPriority"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.repeatNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_INT"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.routeCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RouteOfAdministration"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.approachSiteCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActSite"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.doseQuantity"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_PQ"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.rateQuantity"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_PQ"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.maxDoseQuantity"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="RTO_PQ_PQ"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.administrationUnitCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-AdministrableDrugForm"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="CSM"/>
      <fixedCode value="CSM"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationTargetDirect"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="MANU"/>
      <fixedCode value="MANU"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassManufacturedProduct"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedLabeledDrug"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedLabeledDrug.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedLabeledDrug.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedLabeledDrug.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedLabeledDrug.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedLabeledDrug.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="MMAT"/>
      <fixedCode value="MMAT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassManufacturedMaterial"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedLabeledDrug.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="KIND"/>
      <fixedCode value="KIND"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminerDetermined"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedLabeledDrug.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-DrugEntity"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedLabeledDrug.name"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedMaterial"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="MMAT"/>
      <fixedCode value="MMAT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassManufacturedMaterial"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="KIND"/>
      <fixedCode value="KIND"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminerDetermined"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-MaterialEntityClassType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.name"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.lotNumberText"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ST"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturerOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.performer"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.participant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.reference"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.reference"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.precondition"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SPLY"/>
      <fixedCode value="SPLY"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassSupply"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActStatus"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.effectiveTime"/>
      <representation value="typeAttr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="IVL_TS"/>
      </type>
      <type>
        <code value="EIVL"/>
      </type>
      <type>
        <code value="PIVL"/>
      </type>
      <type>
        <code value="SXPR_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.priorityCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActPriority"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.repeatNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_INT"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.independentInd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.quantity"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="PQ"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.expectedUseTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.product"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.product.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.product.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.product.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.product.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.product.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PRD"/>
      <fixedCode value="PRD"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationTargetDirect"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.product.manufacturedProduct"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.sub
      stanceAdministration.consumable.manufacturedProduct"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.performer"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.participant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.reference"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.reference"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.precondition"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PROC"/>
      <fixedCode value="PROC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassProcedure"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActStatus"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.priorityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActPriority"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.methodCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.approachSiteCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.targetSiteCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.performer"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.participant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.reference"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.reference"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.precondition"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <fixedCode value="ENC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActEncounterCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActStatus"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.priorityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActPriority"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.performer"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.participant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.reference"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.reference"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.precondition"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.statusCode"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActStatus"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="COMP"/>
      <fixedCode value="COMP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.sequenceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="INT"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.observation"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.regionOfInterest"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.observationMedia"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obs
      ervationMedia"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.substanceAdministration"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.sub
      stanceAdministration"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.supply"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.sup
      ply"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.procedure"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.pro
      cedure"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.encounter"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enc
      ounter"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.organizer"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.org
      anizer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.code"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActStatus"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.priorityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActPriority"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.performer"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.participant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.reference"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.reference"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.precondition"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.performer"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.participant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.reference"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.reference"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.precondition"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.act"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.org
      anizer.component.act"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.reference"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.reference"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.precondition"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.regionOfInterest"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observationMedia"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obs
      ervationMedia"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.substanceAdministration"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.sub
      stanceAdministration"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.supply"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.sup
      ply"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.procedure"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.pro
      cedure"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.encounter"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enc
      ounter"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.organizer"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.org
      anizer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.act"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.org
      anizer.component.act"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.component"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.component.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper
       information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-NullFlavor"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.component.realmCode"/>
      <definition value="When valued in an instance, this attribute signals the imposition of realm-specific constraints.
       The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.component.typeId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of constraints defined
       in an HL7-specified message type. This might be a common type (also known as CMET in the
       messaging communication environment), or content included within a wrapper. The value
       of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.component.templateId"/>
      <definition value="When valued in an instance, this attribute signals the imposition of a set of template-defined
       constraints. The value of this attribute provides a unique identifier for the templates
       in question"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="COMP"/>
      <fixedCode value="COMP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.component.section"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section"/>
    </element>
  </snapshot>
  <differential>
    <element>
      <path value="ClinicalDocument"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Resource"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DOCCLIN"/>
      <fixedCode value="DOCCLIN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.id"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.code"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-DocumentType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.title"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ST"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.effectiveTime"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.confidentialityCode"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.setId"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.versionNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="INT"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.copyTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="RCT"/>
      <fixedCode value="RCT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationIndirectTarget"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ContextControl"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.time"/>
      <min value="1"/>
      <max value="0"/>
      <type>
        <code value="TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PAT"/>
      <fixedCode value="PAT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassRelationshipFormal"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.id"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PSN"/>
      <fixedCode value="PSN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassLivingSubject"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.id"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.name"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.desc"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.administrativeGenderCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-AdministrativeGender"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
    </element>
    <element>
      <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.deceasedInd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
    </element>
    <element>
      <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.deceasedTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.maritalStatusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-MaritalStatus"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.religiousAffiliationCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ReligiousAffiliation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.raceCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-Race"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.ethnicGroupCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-Ethnicity"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="GUARD"/>
      <fixedCode value="GUARD"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassAgent"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
      <name value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PSN"/>
      <fixedCode value="PSN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassLivingSubject"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.name"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.asPatientRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CE"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
      <name value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ORG"/>
      <fixedCode value="ORG"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassOrganization"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.name"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.standardIndustryClas
      sCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-OrganizationIndustryClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf
      .classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PART"/>
      <fixedCode value="PART"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassPartitive"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf
      .id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf
      .code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf
      .statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf
      .effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization.asOrganizationPartOf
      .wholeOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="BIRTHPL"/>
      <fixedCode value="BIRTHPL"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassPassive"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place"/>
      <name value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PLC"/>
      <fixedCode value="PLC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassPlace"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.name"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.modeCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-LanguageAbilityMode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.proficiencyLevelCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-LanguageAbilityProficiency"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.preferenceInd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.recordTarget.patientRole.providerOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
    </element>
    <element>
      <path value="ClinicalDocument.author"/>
      <name value="ClinicalDocument.author"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="AUT"/>
      <fixedCode value="AUT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationInformationTranscriber"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.functionCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationFunction"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ContextControl"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.time"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ASSIGNED"/>
      <fixedCode value="ASSIGNED"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassAssignedEntity"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.id"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedPerson"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DEV"/>
      <fixedCode value="DEV"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassDevice"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.manufacturerModelName"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="SC"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ManufacturerModelName"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.softwareName"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="SC"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-SoftwareName"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.asMaintainedEntity"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.asMaintainedEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="MNT"/>
      <fixedCode value="MNT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassPassive"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.asMaintainedEntity.effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.asMaintainedEntity.maintainingPerson"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
    </element>
    <element>
      <path value="ClinicalDocument.author.assignedAuthor.representedOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ENT"/>
      <fixedCode value="ENT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationInformationGenerator"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ContextControl"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.time"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity"/>
      <name value="ClinicalDocument.dataEnterer.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ASSIGNED"/>
      <fixedCode value="ASSIGNED"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassAssignedEntity"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.id"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.assignedPerson"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
    </element>
    <element>
      <path value="ClinicalDocument.dataEnterer.assignedEntity.representedOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
    </element>
    <element>
      <path value="ClinicalDocument.informant"/>
      <name value="ClinicalDocument.informant"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INF"/>
      <fixedCode value="INF"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationInformationGenerator"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.informant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ContextControl"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.informant.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.dataEnterer.assignedEntity"/>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassMutualRelationship"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-PersonalRelationshipRoleType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity.effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informant.relatedEntity.relatedPerson"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
    </element>
    <element>
      <path value="ClinicalDocument.custodian"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="CST"/>
      <fixedCode value="CST"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationVerifier"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ASSIGNED"/>
      <fixedCode value="ASSIGNED"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassAssignedEntity"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ORG"/>
      <fixedCode value="ORG"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassOrganization"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.id"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.name"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.telecom"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.addr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PRCP"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ASSIGNED"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
    </element>
    <element>
      <path value="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
    </element>
    <element>
      <path value="ClinicalDocument.legalAuthenticator"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.legalAuthenticator.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="LA"/>
      <fixedCode value="LA"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationVerifier"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.legalAuthenticator.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ContextControl"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.legalAuthenticator.time"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.legalAuthenticator.signatureCode"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.legalAuthenticator.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.dataEnterer.assignedEntity"/>
    </element>
    <element>
      <path value="ClinicalDocument.authenticator"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authenticator.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="AUTHEN"/>
      <fixedCode value="AUTHEN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationVerifier"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.authenticator.time"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.authenticator.signatureCode"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.authenticator.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.dataEnterer.assignedEntity"/>
    </element>
    <element>
      <path value="ClinicalDocument.participant"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.participant.functionCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationFunction"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.participant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ContextControl"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.participant.time"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassAssociative"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.associatedPerson"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
    </element>
    <element>
      <path value="ClinicalDocument.participant.associatedEntity.scopingOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="FLFS"/>
      <fixedCode value="FLFS"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActRelationshipFulfills"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.order"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.order.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ACT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.order.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="RQO"/>
      <fixedCode value="RQO"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMoodIntent"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.order.id"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.order.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.inFulfillmentOf.order.priorityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActPriority"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DOC"/>
      <fixedCode value="DOC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassDocument"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ACT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.performer"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.performer.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationFunction"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.performer.time"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.dataEnterer.assignedEntity"/>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DOCCLIN"/>
      <fixedCode value="DOCCLIN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassClinicalDocument"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.id"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-DocumentType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.setId"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.relatedDocument.parentDocument.versionNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="INT"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authorization"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="AUTH"/>
      <fixedCode value="AUTH"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActRelationshipPertains"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.consent"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.consent.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="CONS"/>
      <fixedCode value="CONS"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.consent.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.consent.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.consent.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.authorization.consent.statusCode"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <defaultValueCode value="completed"/>
      <fixedCode value="completed"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="COMP"/>
      <fixedCode value="COMP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActRelationshipHasComponent"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ENC"/>
      <fixedCode value="ENC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActEncounterCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.effectiveTime"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.admissionReferralSourceCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.dischargeDispositionCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EncounterDischargeDisposition"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="RESP"/>
      <fixedCode value="RESP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.dataEnterer.assignedEntity"/>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.encounterParticipant"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.encounterParticipant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.encounterParticipant.time"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.encounterParticipant.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.dataEnterer.assignedEntity"/>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="LOC"/>
      <fixedCode value="LOC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationTargetLocation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SDLOC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassServiceDeliveryLocation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility.location"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.birthplace.place"/>
    </element>
    <element>
      <path value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility.serviceProviderOrgani
      zation"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
    </element>
    <element>
      <path value="ClinicalDocument.component"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="COMP"/>
      <fixedCode value="COMP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActRelationshipHasComponent"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.nonXMLBody"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.nonXMLBody.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DOCBODY"/>
      <fixedCode value="DOCBODY"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassOrganizer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.nonXMLBody.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.nonXMLBody.text"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.nonXMLBody.confidentialityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.nonXMLBody.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DOCBODY"/>
      <fixedCode value="DOCBODY"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassOrganizer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.confidentialityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="COMP"/>
      <fixedCode value="COMP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section"/>
      <name value="ClinicalDocument.component.structuredBody.component.section"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DOCSECT"/>
      <fixedCode value="DOCSECT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassOrganizer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.id"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-DocumentSectionType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.title"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ST"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="xhtml"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.confidentialityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.subject"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SBJ"/>
      <fixedCode value="SBJ"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationTargetSubject"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ContextControl"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.awarenessCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-TargetAwareness"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PRS"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-PersonalRelationshipRoleType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PSN"/>
      <fixedCode value="PSN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassLivingSubject"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.determine
      rCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.name"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.desc"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.administr
      ativeGenderCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-AdministrativeGender"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.birthTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
    </element>
    <element>
      <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.deceasedI
      nd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
    </element>
    <element>
      <extension url="http://www.healthintersections.com.au/fhir/StructureDefinition/extension-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <path value="ClinicalDocument.component.structuredBody.component.section.subject.relatedSubject.subject.deceasedT
      ime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="COMP"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassObservation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.code"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ObservationType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.derivationExpr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ST"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActStatus"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.priorityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActPriority"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.repeatNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_INT"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.value"/>
      <representation value="typeAttr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BL"/>
      </type>
      <type>
        <code value="ED"/>
      </type>
      <type>
        <code value="ST"/>
      </type>
      <type>
        <code value="CD"/>
      </type>
      <type>
        <code value="CV"/>
      </type>
      <type>
        <code value="CE"/>
      </type>
      <type>
        <code value="SC"/>
      </type>
      <type>
        <code value="II"/>
      </type>
      <type>
        <code value="TEL"/>
      </type>
      <type>
        <code value="AD"/>
      </type>
      <type>
        <code value="EN"/>
      </type>
      <type>
        <code value="INT"/>
      </type>
      <type>
        <code value="REAL"/>
      </type>
      <type>
        <code value="PQ"/>
      </type>
      <type>
        <code value="MO"/>
      </type>
      <type>
        <code value="TS"/>
      </type>
      <type>
        <code value="IVL_PQ"/>
      </type>
      <type>
        <code value="IVL_TS"/>
      </type>
      <type>
        <code value="PIVL"/>
      </type>
      <type>
        <code value="EIVL"/>
      </type>
      <type>
        <code value="SXPR_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.interpretationCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ObservationInterpretation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.methodCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.targetSiteCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.typeCod
      e"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="REFV"/>
      <fixedCode value="REFV"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActRelationshipPertains"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OBS"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassObservation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN.CRT"/>
      <fixedCode value="EVN.CRT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMoodPredicate"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange.value"/>
      <representation value="typeAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
      <type>
        <code value="ED"/>
      </type>
      <type>
        <code value="ST"/>
      </type>
      <type>
        <code value="CD"/>
      </type>
      <type>
        <code value="CV"/>
      </type>
      <type>
        <code value="CE"/>
      </type>
      <type>
        <code value="SC"/>
      </type>
      <type>
        <code value="II"/>
      </type>
      <type>
        <code value="TEL"/>
      </type>
      <type>
        <code value="AD"/>
      </type>
      <type>
        <code value="EN"/>
      </type>
      <type>
        <code value="INT"/>
      </type>
      <type>
        <code value="REAL"/>
      </type>
      <type>
        <code value="PQ"/>
      </type>
      <type>
        <code value="MO"/>
      </type>
      <type>
        <code value="TS"/>
      </type>
      <type>
        <code value="IVL_PQ"/>
      </type>
      <type>
        <code value="IVL_TS"/>
      </type>
      <type>
        <code value="PIVL"/>
      </type>
      <type>
        <code value="EIVL"/>
      </type>
      <type>
        <code value="SXPR_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.referenceRange.observa
      tionRange.interpretationCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ObservationInterpretation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SPC"/>
      <fixedCode value="SPC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationTargetDirect"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SPEC"/>
      <fixedCode value="SPEC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassSpecimen"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ENT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassRoot"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity.quantity"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="PQ"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity.name"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole.
      specimenPlayingEntity.desc"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.performer.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PRF"/>
      <fixedCode value="PRF"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationPhysicalPerformer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.performer.time"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.performer.modeCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationMode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.performer.assignedEnti
      ty"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.dataEnterer.assignedEntity"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.contextCon
      trolCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ContextControl"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.time"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.awarenessC
      ode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-TargetAwareness"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ROL"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassRoot"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.addr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="AD"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="TEL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingDevice"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingDevice.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DEV"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassDevice"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingDevice.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingDevice.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingDevice.manufacturerModelName"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="SC"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ManufacturerModelName"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingDevice.softwareName"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="SC"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-SoftwareName"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.playingEntity"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen.specimenRole
      .specimenPlayingEntity"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.scopingEntity"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.scopingEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ENT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassRoot"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.scopingEntity.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INSTANCE"/>
      <fixedCode value="INSTANCE"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminer"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.scopingEntity.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.scopingEntity.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.participant.participan
      tRole.scopingEntity.desc"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.type
      Code"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.inve
      rsionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.cont
      extConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.sequ
      enceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="INT"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.nega
      tionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.sepe
      ratableInd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvation"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ROIOVL"/>
      <fixedCode value="ROIOVL"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassROI"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.id"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.code"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.value"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="INT"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.performer"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.participant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalAct"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalAct.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="ACT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalAct.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalAct.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalAct.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalAct.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalObservation"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalObservation.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OBS"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassObservation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalObservation.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalObservation.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalObservation.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalObservation.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalProcedure"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalProcedure.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PROC"/>
      <fixedCode value="PROC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassProcedure"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalProcedure.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalProcedure.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalProcedure.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalProcedure.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="DOC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassDocument"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-DocumentType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.setId"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.reference.externalDocument.versionNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="INT"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PRCN"/>
      <fixedCode value="PRCN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActRelationshipConditional"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.criterion"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.criterion.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OBS"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassObservation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.criterion.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN.CRT"/>
      <fixedCode value="EVN.CRT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMoodPredicate"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.criterion.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.criterion.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.regi
      onOfInterest.precondition.criterion.value"/>
      <representation value="typeAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
      <type>
        <code value="ED"/>
      </type>
      <type>
        <code value="ST"/>
      </type>
      <type>
        <code value="CD"/>
      </type>
      <type>
        <code value="CV"/>
      </type>
      <type>
        <code value="CE"/>
      </type>
      <type>
        <code value="SC"/>
      </type>
      <type>
        <code value="II"/>
      </type>
      <type>
        <code value="TEL"/>
      </type>
      <type>
        <code value="AD"/>
      </type>
      <type>
        <code value="EN"/>
      </type>
      <type>
        <code value="INT"/>
      </type>
      <type>
        <code value="REAL"/>
      </type>
      <type>
        <code value="PQ"/>
      </type>
      <type>
        <code value="MO"/>
      </type>
      <type>
        <code value="TS"/>
      </type>
      <type>
        <code value="IVL_PQ"/>
      </type>
      <type>
        <code value="IVL_TS"/>
      </type>
      <type>
        <code value="PIVL"/>
      </type>
      <type>
        <code value="EIVL"/>
      </type>
      <type>
        <code value="SXPR_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OBS"/>
      <fixedCode value="OBS"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassObservation"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.value"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.performer"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.participant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.reference"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.reference"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obse
      rvationMedia.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.precondition"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SBADM"/>
      <fixedCode value="SBADM"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-SubstanceAdministrationActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActStatus"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.effectiveTime"/>
      <representation value="typeAttr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="IVL_TS"/>
      </type>
      <type>
        <code value="EIVL"/>
      </type>
      <type>
        <code value="PIVL"/>
      </type>
      <type>
        <code value="SXPR_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.priorityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActPriority"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.repeatNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_INT"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.routeCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RouteOfAdministration"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.approachSiteCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActSite"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.doseQuantity"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_PQ"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.rateQuantity"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_PQ"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.maxDoseQuantity"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="RTO_PQ_PQ"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.administrationUnitCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-AdministrableDrugForm"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="CSM"/>
      <fixedCode value="CSM"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationTargetDirect"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="MANU"/>
      <fixedCode value="MANU"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-RoleClassManufacturedProduct"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedLabeledDrug"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedLabeledDrug.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="MMAT"/>
      <fixedCode value="MMAT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassManufacturedMaterial"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedLabeledDrug.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="KIND"/>
      <fixedCode value="KIND"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminerDetermined"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedLabeledDrug.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-DrugEntity"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedLabeledDrug.name"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedMaterial"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="MMAT"/>
      <fixedCode value="MMAT"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityClassManufacturedMaterial"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="KIND"/>
      <fixedCode value="KIND"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-EntityDeterminerDetermined"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-MaterialEntityClassType"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.name"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="EN"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.lotNumberText"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ST"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.consumable.manufacturedProduct.manufacturerOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.performer"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.participant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.reference"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.reference"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.subs
      tanceAdministration.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.precondition"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SPLY"/>
      <fixedCode value="SPLY"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassSupply"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActStatus"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.effectiveTime"/>
      <representation value="typeAttr"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="IVL_TS"/>
      </type>
      <type>
        <code value="EIVL"/>
      </type>
      <type>
        <code value="PIVL"/>
      </type>
      <type>
        <code value="SXPR_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.priorityCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActPriority"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.repeatNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_INT"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.independentInd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.quantity"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="PQ"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.expectedUseTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.product"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.product.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PRD"/>
      <fixedCode value="PRD"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationTargetDirect"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.product.manufacturedProduct"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.sub
      stanceAdministration.consumable.manufacturedProduct"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.performer"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.participant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.reference"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.reference"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.supp
      ly.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.precondition"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PROC"/>
      <fixedCode value="PROC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClassProcedure"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActStatus"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.priorityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActPriority"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.methodCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.approachSiteCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.targetSiteCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.performer"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.participant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.reference"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.reference"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.proc
      edure.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.precondition"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <fixedCode value="ENC"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActClass"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActEncounterCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActStatus"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.priorityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActPriority"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.performer"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.participant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.reference"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.reference"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enco
      unter.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.precondition"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActMood"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.statusCode"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActStatus"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="COMP"/>
      <fixedCode value="COMP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.sequenceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="INT"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BL"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.observation"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.regionOfInterest"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.observationMedia"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obs
      ervationMedia"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.substanceAdministration"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.sub
      stanceAdministration"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.supply"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.sup
      ply"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.procedure"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.pro
      cedure"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.encounter"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enc
      ounter"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.organizer"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.org
      anizer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act"/>
      <name value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="II"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.code"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CD"/>
      </type>
      <mustSupport value="true"/>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="ED"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.statusCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActStatus"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.effectiveTime"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="IVL_TS"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.priorityCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActPriority"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-HumanLanguage"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.performer"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.participant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.reference"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.reference"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.component.act.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.precondition"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.subject"/>
      <min value="0"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.subject"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.specimen"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.performer"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.performer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.author"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.author"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.informant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.informant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.participant"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.participant"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.reference"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.reference"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.orga
      nizer.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.precondition"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.act"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.org
      anizer.component.act"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.reference"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.reference"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observation.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest.precondition"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.regionOfInterest"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.reg
      ionOfInterest"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.observationMedia"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.obs
      ervationMedia"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.substanceAdministration"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.sub
      stanceAdministration"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.supply"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.sup
      ply"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.procedure"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.pro
      cedure"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.encounter"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.enc
      ounter"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.organizer"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.org
      anizer"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.entry.act"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section.entry.observation.entryRelationship.org
      anizer.component.act"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.component"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="COMP"/>
      <fixedCode value="COMP"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-null"/>
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
      <mustSupport value="true"/>
    </element>
    <element>
      <path value="ClinicalDocument.component.structuredBody.component.section.component.section"/>
      <min value="1"/>
      <max value="1"/>
      <contentReference value="#ClinicalDocument.component.structuredBody.component.section"/>
    </element>
  </differential>
</StructureDefinition>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.