Clinical Document Architecture V2.0.1
2.1.0 - CI Build

Clinical Document Architecture V2.0.1, published by Health Level 7. This is not an authorized publication; it is the continuous build for version 2.1.0). This version is based on the current content of https://github.com/HL7/cda-core-2.0/ and changes regularly. See the Directory of published versions

Logical Model: CDAR2.ObservationMedia - XML Profile

XML representation of the ObservationMedia logical model.

Raw xml | Download



<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ObservationMedia"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>A derivative of the RIM Observation class that represents multimedia that is logically part of the current document. This class is only for multimedia that is logically part of the attested content of the document. Rendering a referenced ObservationMedia requires a software tool that recognizes the particular MIME media type.</p>
      <p>An XML attribute &quot;ID&quot; of type XML ID, is added to ObservationMedia within the CDA Schema. This attribute serves as the target of a renderMultiMedia reference (see renderMultiMedia). All values of attributes of type XML ID must be unique within the document (per the W3C XML specification).</p>
      <p>The distinction between ObservationMedia and ExternalObservation is that ObservationMedia entries are part of the attested content of the document whereas ExternalObservations are not. For instance, when a clinician draws a picture as part of a progress note, that picture is represented as a CDA ObservationMedia. If that clinician is also describing a finding seen on a chest-x-ray, the referenced chest-x-ray is represented as a CDA ExternalObservation.</p>
    </div>
  </text>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
    <valueUri value="urn:hl7-org:v3"/>
  </extension>
  <url value="http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"/>
  <version value="2.1.0"/>
  <name value="CDAR2.ObservationMedia"/>
  <title value="ObservationMedia (CDA Class)"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2021-04-15T20:51:17+00:00"/>
  <publisher value="Health Level 7"/>
  <description
               value="A derivative of the RIM Observation class that represents multimedia that is logically part of the current document. This class is only for multimedia that is logically part of the attested content of the document. Rendering a referenced ObservationMedia requires a software tool that recognizes the particular MIME media type.
An XML attribute &quot;ID&quot; of type XML ID, is added to ObservationMedia within the CDA Schema. This attribute serves as the target of a renderMultiMedia reference (see renderMultiMedia). All values of attributes of type XML ID must be unique within the document (per the W3C XML specification).
The distinction between ObservationMedia and ExternalObservation is that ObservationMedia entries are part of the attested content of the document whereas ExternalObservations are not. For instance, when a clinician draws a picture as part of a progress note, that picture is represented as a CDA ObservationMedia. If that clinician is also describing a finding seen on a chest-x-ray, the referenced chest-x-ray is represented as a CDA ExternalObservation."/>
  <fhirVersion value="4.0.1"/>
  <kind value="logical"/>
  <abstract value="false"/>
  <type value="ObservationMedia"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="ObservationMedia">
      <path value="ObservationMedia"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <isModifier value="false"/>
    </element>
    <element id="ObservationMedia.ID">
      <path value="ObservationMedia.ID"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.ID"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="ObservationMedia.classCode">
      <path value="ObservationMedia.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.classCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OBS"/>
      <fixedCode value="OBS"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ActClassObservation"/>
      </binding>
    </element>
    <element id="ObservationMedia.moodCode">
      <path value="ObservationMedia.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.moodCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActMood"/>
      </binding>
    </element>
    <element id="ObservationMedia.realmCode">
      <path value="ObservationMedia.realmCode"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ObservationMedia.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ObservationMedia.typeId">
      <path value="ObservationMedia.typeId"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ObservationMedia.templateId">
      <path value="ObservationMedia.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="*"/>
      <base>
        <path value="ObservationMedia.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ObservationMedia.id">
      <path value="ObservationMedia.id"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ObservationMedia.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ObservationMedia.languageCode">
      <path value="ObservationMedia.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.languageCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-HumanLanguage"/>
      </binding>
    </element>
    <element id="ObservationMedia.value">
      <path value="ObservationMedia.value"/>
      <representation value="typeAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.value"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/ED"/>
      </type>
    </element>
    <element id="ObservationMedia.subject">
      <path value="ObservationMedia.subject"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.subject"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="ObservationMedia.subject.typeCode">
      <path value="ObservationMedia.subject.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.subject.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SBJ"/>
      <fixedCode value="SBJ"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationTargetSubject"/>
      </binding>
    </element>
    <element id="ObservationMedia.subject.contextControlCode">
      <path value="ObservationMedia.subject.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.subject.contextControlCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
      </binding>
    </element>
    <element id="ObservationMedia.subject.awarenessCode">
      <path value="ObservationMedia.subject.awarenessCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.subject.awarenessCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-TargetAwareness"/>
      </binding>
    </element>
    <element id="ObservationMedia.subject.relatedSubject">
      <path value="ObservationMedia.subject.relatedSubject"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.subject.relatedSubject"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/RelatedSubject"/>
      </type>
    </element>
    <element id="ObservationMedia.specimen">
      <path value="ObservationMedia.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ObservationMedia.specimen"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="ObservationMedia.specimen.typeCode">
      <path value="ObservationMedia.specimen.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.specimen.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SPC"/>
      <fixedCode value="SPC"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect"/>
      </binding>
    </element>
    <element id="ObservationMedia.specimen.specimenRole">
      <path value="ObservationMedia.specimen.specimenRole"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.specimen.specimenRole"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/SpecimenRole"/>
      </type>
    </element>
    <element id="ObservationMedia.performer">
      <path value="ObservationMedia.performer"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ObservationMedia.performer"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="ObservationMedia.performer.typeCode">
      <path value="ObservationMedia.performer.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.performer.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PRF"/>
      <fixedCode value="PRF"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationPhysicalPerformer"/>
      </binding>
    </element>
    <element id="ObservationMedia.performer.time">
      <path value="ObservationMedia.performer.time"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.performer.time"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element id="ObservationMedia.performer.modeCode">
      <path value="ObservationMedia.performer.modeCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.performer.modeCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationMode"/>
      </binding>
    </element>
    <element id="ObservationMedia.performer.assignedEntity">
      <path value="ObservationMedia.performer.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.performer.assignedEntity"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity"/>
      </type>
    </element>
    <element id="ObservationMedia.author">
      <path value="ObservationMedia.author"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ObservationMedia.author"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Author"/>
      </type>
    </element>
    <element id="ObservationMedia.informant">
      <path value="ObservationMedia.informant"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ObservationMedia.informant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="ObservationMedia.informant.typeCode">
      <path value="ObservationMedia.informant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.informant.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INF"/>
      <fixedCode value="INF"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationInformationGenerator"/>
      </binding>
    </element>
    <element id="ObservationMedia.informant.contextControlCode">
      <path value="ObservationMedia.informant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.informant.contextControlCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
      </binding>
    </element>
    <element id="ObservationMedia.informant.assignedEntity">
      <path value="ObservationMedia.informant.assignedEntity"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.informant.assignedEntity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity"/>
      </type>
    </element>
    <element id="ObservationMedia.informant.relatedEntity">
      <path value="ObservationMedia.informant.relatedEntity"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.informant.relatedEntity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/RelatedEntity"/>
      </type>
    </element>
    <element id="ObservationMedia.participant">
      <path value="ObservationMedia.participant"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ObservationMedia.participant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="ObservationMedia.participant.typeCode">
      <path value="ObservationMedia.participant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.participant.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="ObservationMedia.participant.contextControlCode">
      <path value="ObservationMedia.participant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.participant.contextControlCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
      </binding>
    </element>
    <element id="ObservationMedia.participant.time">
      <path value="ObservationMedia.participant.time"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.participant.time"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element id="ObservationMedia.participant.awarenessCode">
      <path value="ObservationMedia.participant.awarenessCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.participant.awarenessCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-TargetAwareness"/>
      </binding>
    </element>
    <element id="ObservationMedia.participant.participantRole">
      <path value="ObservationMedia.participant.participantRole"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.participant.participantRole"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ParticipantRole"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship">
      <path value="ObservationMedia.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ObservationMedia.entryRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.typeCode">
      <path value="ObservationMedia.entryRelationship.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.entryRelationship.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.inversionInd">
      <path value="ObservationMedia.entryRelationship.inversionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.entryRelationship.inversionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.contextConductionInd">
      <path value="ObservationMedia.entryRelationship.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.entryRelationship.contextConductionInd"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
    </element>
    <element id="ObservationMedia.entryRelationship.sequenceNumber">
      <path value="ObservationMedia.entryRelationship.sequenceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.entryRelationship.sequenceNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/INT"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.negationInd">
      <path value="ObservationMedia.entryRelationship.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.entryRelationship.negationInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.seperatableInd">
      <path value="ObservationMedia.entryRelationship.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.entryRelationship.seperatableInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.observation">
      <path value="ObservationMedia.entryRelationship.observation"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.entryRelationship.observation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.regionOfInterest">
      <path value="ObservationMedia.entryRelationship.regionOfInterest"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.entryRelationship.regionOfInterest"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.observationMedia">
      <path value="ObservationMedia.entryRelationship.observationMedia"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.entryRelationship.observationMedia"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.substanceAdministration">
      <path value="ObservationMedia.entryRelationship.substanceAdministration"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.entryRelationship.substanceAdministration"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.supply">
      <path value="ObservationMedia.entryRelationship.supply"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.entryRelationship.supply"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.procedure">
      <path value="ObservationMedia.entryRelationship.procedure"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.entryRelationship.procedure"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Procedure"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.encounter">
      <path value="ObservationMedia.entryRelationship.encounter"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.entryRelationship.encounter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Encounter"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.organizer">
      <path value="ObservationMedia.entryRelationship.organizer"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.entryRelationship.organizer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Organizer"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.act">
      <path value="ObservationMedia.entryRelationship.act"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.entryRelationship.act"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
      </type>
    </element>
    <element id="ObservationMedia.reference">
      <path value="ObservationMedia.reference"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ObservationMedia.reference"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="ObservationMedia.reference.typeCode">
      <path value="ObservationMedia.reference.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.reference.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="ObservationMedia.reference.seperatableInd">
      <path value="ObservationMedia.reference.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.reference.seperatableInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
      </type>
    </element>
    <element id="ObservationMedia.reference.externalAct">
      <path value="ObservationMedia.reference.externalAct"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.reference.externalAct"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/ExternalAct"/>
      </type>
    </element>
    <element id="ObservationMedia.reference.externalObservation">
      <path value="ObservationMedia.reference.externalObservation"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.reference.externalObservation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ExternalObservation"/>
      </type>
    </element>
    <element id="ObservationMedia.reference.externalProcedure">
      <path value="ObservationMedia.reference.externalProcedure"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.reference.externalProcedure"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ExternalProcedure"/>
      </type>
    </element>
    <element id="ObservationMedia.reference.externalDocument">
      <path value="ObservationMedia.reference.externalDocument"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.reference.externalDocument"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ExternalDocument"/>
      </type>
    </element>
    <element id="ObservationMedia.precondition">
      <path value="ObservationMedia.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ObservationMedia.precondition"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="ObservationMedia.precondition.typeCode">
      <path value="ObservationMedia.precondition.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.precondition.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PRCN"/>
      <fixedCode value="PRCN"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ActRelationshipConditional"/>
      </binding>
    </element>
    <element id="ObservationMedia.precondition.criterion">
      <path value="ObservationMedia.precondition.criterion"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ObservationMedia.precondition.criterion"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Criterion"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="ObservationMedia">
      <path value="ObservationMedia"/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element id="ObservationMedia.ID">
      <path value="ObservationMedia.ID"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="ObservationMedia.classCode">
      <path value="ObservationMedia.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OBS"/>
      <fixedCode value="OBS"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ActClassObservation"/>
      </binding>
    </element>
    <element id="ObservationMedia.moodCode">
      <path value="ObservationMedia.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="EVN"/>
      <fixedCode value="EVN"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActMood"/>
      </binding>
    </element>
    <element id="ObservationMedia.realmCode">
      <path value="ObservationMedia.realmCode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ObservationMedia.typeId">
      <path value="ObservationMedia.typeId"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ObservationMedia.templateId">
      <path value="ObservationMedia.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="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ObservationMedia.id">
      <path value="ObservationMedia.id"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ObservationMedia.languageCode">
      <path value="ObservationMedia.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-HumanLanguage"/>
      </binding>
    </element>
    <element id="ObservationMedia.value">
      <path value="ObservationMedia.value"/>
      <representation value="typeAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/ED"/>
      </type>
    </element>
    <element id="ObservationMedia.subject">
      <path value="ObservationMedia.subject"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="ObservationMedia.subject.typeCode">
      <path value="ObservationMedia.subject.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SBJ"/>
      <fixedCode value="SBJ"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationTargetSubject"/>
      </binding>
    </element>
    <element id="ObservationMedia.subject.contextControlCode">
      <path value="ObservationMedia.subject.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
      </binding>
    </element>
    <element id="ObservationMedia.subject.awarenessCode">
      <path value="ObservationMedia.subject.awarenessCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-TargetAwareness"/>
      </binding>
    </element>
    <element id="ObservationMedia.subject.relatedSubject">
      <path value="ObservationMedia.subject.relatedSubject"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/RelatedSubject"/>
      </type>
    </element>
    <element id="ObservationMedia.specimen">
      <path value="ObservationMedia.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="ObservationMedia.specimen.typeCode">
      <path value="ObservationMedia.specimen.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SPC"/>
      <fixedCode value="SPC"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect"/>
      </binding>
    </element>
    <element id="ObservationMedia.specimen.specimenRole">
      <path value="ObservationMedia.specimen.specimenRole"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/SpecimenRole"/>
      </type>
    </element>
    <element id="ObservationMedia.performer">
      <path value="ObservationMedia.performer"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="ObservationMedia.performer.typeCode">
      <path value="ObservationMedia.performer.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PRF"/>
      <fixedCode value="PRF"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationPhysicalPerformer"/>
      </binding>
    </element>
    <element id="ObservationMedia.performer.time">
      <path value="ObservationMedia.performer.time"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element id="ObservationMedia.performer.modeCode">
      <path value="ObservationMedia.performer.modeCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationMode"/>
      </binding>
    </element>
    <element id="ObservationMedia.performer.assignedEntity">
      <path value="ObservationMedia.performer.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity"/>
      </type>
    </element>
    <element id="ObservationMedia.author">
      <path value="ObservationMedia.author"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Author"/>
      </type>
    </element>
    <element id="ObservationMedia.informant">
      <path value="ObservationMedia.informant"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="ObservationMedia.informant.typeCode">
      <path value="ObservationMedia.informant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INF"/>
      <fixedCode value="INF"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationInformationGenerator"/>
      </binding>
    </element>
    <element id="ObservationMedia.informant.contextControlCode">
      <path value="ObservationMedia.informant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
      </binding>
    </element>
    <element id="ObservationMedia.informant.assignedEntity">
      <path value="ObservationMedia.informant.assignedEntity"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity"/>
      </type>
    </element>
    <element id="ObservationMedia.informant.relatedEntity">
      <path value="ObservationMedia.informant.relatedEntity"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/RelatedEntity"/>
      </type>
    </element>
    <element id="ObservationMedia.participant">
      <path value="ObservationMedia.participant"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="ObservationMedia.participant.typeCode">
      <path value="ObservationMedia.participant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="ObservationMedia.participant.contextControlCode">
      <path value="ObservationMedia.participant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
      </binding>
    </element>
    <element id="ObservationMedia.participant.time">
      <path value="ObservationMedia.participant.time"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element id="ObservationMedia.participant.awarenessCode">
      <path value="ObservationMedia.participant.awarenessCode"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-TargetAwareness"/>
      </binding>
    </element>
    <element id="ObservationMedia.participant.participantRole">
      <path value="ObservationMedia.participant.participantRole"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ParticipantRole"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship">
      <path value="ObservationMedia.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.typeCode">
      <path value="ObservationMedia.entryRelationship.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.inversionInd">
      <path value="ObservationMedia.entryRelationship.inversionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.contextConductionInd">
      <path value="ObservationMedia.entryRelationship.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
    </element>
    <element id="ObservationMedia.entryRelationship.sequenceNumber">
      <path value="ObservationMedia.entryRelationship.sequenceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/INT"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.negationInd">
      <path value="ObservationMedia.entryRelationship.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.seperatableInd">
      <path value="ObservationMedia.entryRelationship.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.observation">
      <path value="ObservationMedia.entryRelationship.observation"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.regionOfInterest">
      <path value="ObservationMedia.entryRelationship.regionOfInterest"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.observationMedia">
      <path value="ObservationMedia.entryRelationship.observationMedia"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.substanceAdministration">
      <path value="ObservationMedia.entryRelationship.substanceAdministration"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.supply">
      <path value="ObservationMedia.entryRelationship.supply"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.procedure">
      <path value="ObservationMedia.entryRelationship.procedure"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Procedure"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.encounter">
      <path value="ObservationMedia.entryRelationship.encounter"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Encounter"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.organizer">
      <path value="ObservationMedia.entryRelationship.organizer"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Organizer"/>
      </type>
    </element>
    <element id="ObservationMedia.entryRelationship.act">
      <path value="ObservationMedia.entryRelationship.act"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
      </type>
    </element>
    <element id="ObservationMedia.reference">
      <path value="ObservationMedia.reference"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="ObservationMedia.reference.typeCode">
      <path value="ObservationMedia.reference.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="ObservationMedia.reference.seperatableInd">
      <path value="ObservationMedia.reference.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
      </type>
    </element>
    <element id="ObservationMedia.reference.externalAct">
      <path value="ObservationMedia.reference.externalAct"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/ExternalAct"/>
      </type>
    </element>
    <element id="ObservationMedia.reference.externalObservation">
      <path value="ObservationMedia.reference.externalObservation"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ExternalObservation"/>
      </type>
    </element>
    <element id="ObservationMedia.reference.externalProcedure">
      <path value="ObservationMedia.reference.externalProcedure"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ExternalProcedure"/>
      </type>
    </element>
    <element id="ObservationMedia.reference.externalDocument">
      <path value="ObservationMedia.reference.externalDocument"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ExternalDocument"/>
      </type>
    </element>
    <element id="ObservationMedia.precondition">
      <path value="ObservationMedia.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="ObservationMedia.precondition.typeCode">
      <path value="ObservationMedia.precondition.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="PRCN"/>
      <fixedCode value="PRCN"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ActRelationshipConditional"/>
      </binding>
    </element>
    <element id="ObservationMedia.precondition.criterion">
      <path value="ObservationMedia.precondition.criterion"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Criterion"/>
      </type>
    </element>
  </differential>
</StructureDefinition>