FHIR © HL7.org  |  Server Home  |  Health Intersections FHIR Server v2.0.12  |  FHIR Version 3.0.2  | User: ANONYMOUS (Unknown)  

Resource "Media" Version "1" (StructureDefinition)

Tags:

XML or JSON representation. Try out the Profile as a questionnaire based web form . Edit this as XML or JSON. provenance for this resource

Generated Narrative with Details

id: Media

meta:

url: http://hl7.org/fhir/StructureDefinition/Media

name: Media

status: draft

date: 10/24/2019 11:53:00 AM

publisher: Health Level Seven International (FHIR Infrastructure)

contact: ,

description: Base StructureDefinition for Media Resource

fhirVersion: 3.0.2

kind: resource

abstract: false

type: Media

baseDefinition: http://hl7.org/fhir/StructureDefinition/DomainResource

derivation: specialization


<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Media"/>
  <meta>
    <versionId value="1"/>
    <lastUpdated value="2020-11-06T21:34:48.158Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>id</b>: Media</p>
      <p>
        <b>meta</b>: </p>
      <p>
        <b>url</b>:
        <a href="http://hl7.org/fhir/StructureDefinition/Media">http://hl7.org/fhir/StructureDefinition/Media</a>
      </p>
      <p>
        <b>name</b>: Media</p>
      <p>
        <b>status</b>: draft</p>
      <p>
        <b>date</b>: 10/24/2019 11:53:00 AM</p>
      <p>
        <b>publisher</b>: Health Level Seven International (FHIR Infrastructure)</p>
      <p>
        <b>contact</b>: , </p>
      <p>
        <b>description</b>: Base StructureDefinition for Media Resource</p>
      <p>
        <b>fhirVersion</b>: 3.0.2</p>
      <p>
        <b>kind</b>: resource</p>
      <p>
        <b>abstract</b>: false</p>
      <p>
        <b>type</b>: Media</p>
      <p>
        <b>baseDefinition</b>:
        <a href="http://hl7.org/fhir/StructureDefinition/DomainResource">http://hl7.org/fhir/StructureDefinition/DomainResource</a>
      </p>
      <p>
        <b>derivation</b>: specialization</p>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/Media"/>
  <name value="Media"/>
  <status value="draft"/>
  <date value="2019-10-24T11:53:00+11:00"/>
  <publisher value="Health Level Seven International (FHIR Infrastructure)"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
  </contact>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg/index.cfm"/>
    </telecom>
  </contact>
  <description value="Base StructureDefinition for Media Resource"/>
  <fhirVersion value="3.0.2"/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <mapping>
    <identity value="w5"/>
    <uri value="http://hl7.org/fhir/w5"/>
    <name value="W5 Mapping"/>
  </mapping>
  <mapping>
    <identity value="dicom"/>
    <uri value="http://nema.org/dicom"/>
    <name value="DICOM Tag Mapping"/>
  </mapping>
  <mapping>
    <identity value="sct-concept"/>
    <uri value="http://snomed.info/conceptdomain"/>
    <name value="SNOMED CT Concept Domain Binding"/>
  </mapping>
  <mapping>
    <identity value="sct-attr"/>
    <uri value="http://snomed.info/sct"/>
    <name value="SNOMED CT Attribute Binding"/>
  </mapping>
  <mapping>
    <identity value="v2"/>
    <uri value="http://hl7.org/v2"/>
    <name value="HL7 v2 Mapping"/>
  </mapping>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="Media"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="Media">
      <path value="Media"/>
      <short value="A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference"/>
      <definition value="A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference."/>
      <min value="0"/>
      <max value="*"/>
      <constraint>
        <key value="dom-2"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
        <expression value="contained.contained.empty()"/>
        <xpath value="not(parent::f:contained and f:contained)"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-1"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/>
        <expression value="contained.text.empty()"/>
        <xpath value="not(parent::f:contained and f:text)"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-4"/>
        <severity value="error"/>
        <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
        <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
        <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-3"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/>
        <expression value="contained.where((&apos;#&apos;+id in %resource.descendants().reference).not()).empty()"/>
        <xpath value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat(&apos;#&apos;, $id))]))"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="mda-1"/>
        <severity value="error"/>
        <human value="Height can only be used for a photo or video"/>
        <expression value="height.empty() or type != &apos;audio&apos;"/>
        <xpath value="not(f:type/@value=&apos;audio&apos;) or not(f:height)"/>
      </constraint>
      <constraint>
        <key value="mda-2"/>
        <severity value="error"/>
        <human value="Width can only be used for a photo or video"/>
        <expression value="width.empty() or type != &apos;audio&apos;"/>
        <xpath value="not(f:type/@value=&apos;audio&apos;) or not(f:width)"/>
      </constraint>
      <constraint>
        <key value="mda-3"/>
        <severity value="error"/>
        <human value="Frames can only be used for a photo"/>
        <expression value="frames.empty() or type = &apos;photo&apos;"/>
        <xpath value="(f:type/@value=&apos;photo&apos;) or not(f:frames)"/>
      </constraint>
      <constraint>
        <key value="mda-4"/>
        <severity value="error"/>
        <human value="Duration can only be used for an audio or a video"/>
        <expression value="duration.empty() or type != &apos;photo&apos;"/>
        <xpath value="not(f:type/@value=&apos;photo&apos;) or not(f:duration)"/>
      </constraint>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Act[classCode=&quot;DGIMG&quot;, moodCode=&quot;EVN&quot;]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="infrastructure.structure"/>
      </mapping>
    </element>
    <element id="Media.id">
      <path value="Media.id"/>
      <short value="Logical id of this artifact"/>
      <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
      <comment value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="id"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Media.meta">
      <path value="Media.meta"/>
      <short value="Metadata about the resource"/>
      <definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.meta"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Meta"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Media.implicitRules">
      <path value="Media.implicitRules"/>
      <short value="A set of rules under which this content was created"/>
      <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/>
      <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. &#10;&#10;This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it&apos;s meaning or interpretation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.implicitRules"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="Media.language">
      <path value="Media.language"/>
      <short value="Language of the resource content"/>
      <definition value="The base language in which the resource is written."/>
      <comment value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueReference>
            <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
          </valueReference>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/>
        </extension>
        <strength value="extensible"/>
        <description value="A human language."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/languages"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Media.text">
      <path value="Media.text"/>
      <short value="Text summary of the resource, for human interpretation"/>
      <definition value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
      <comment value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded in formation is added later."/>
      <alias value="narrative"/>
      <alias value="html"/>
      <alias value="xhtml"/>
      <alias value="display"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
      <condition value="dom-1"/>
      <mapping>
        <identity value="rim"/>
        <map value="Act.text?"/>
      </mapping>
    </element>
    <element id="Media.contained">
      <path value="Media.contained"/>
      <short value="Contained, inline Resources"/>
      <definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/>
      <comment value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/>
      <alias value="inline resources"/>
      <alias value="anonymous resources"/>
      <alias value="contained resources"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.contained"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Resource"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Media.extension">
      <path value="Media.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Media.modifierExtension">
      <path value="Media.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Media.identifier">
      <path value="Media.identifier"/>
      <short value="Identifier(s) for the image"/>
      <definition value="Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers."/>
      <comment value="The identifier label and use can be used to determine what kind of identifier it is."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".id"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="0008,0018 | ~0008,0050 | 0020,000D | 0020,000E"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="Media.basedOn">
      <path value="Media.basedOn"/>
      <short value="Procedure that caused this media to be created"/>
      <definition value="A procedure that is fulfilled in whole or in part by the creation of this media."/>
      <requirements value="Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon."/>
      <alias value="fulfills"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ProcedureRequest"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=FLFS].target"/>
      </mapping>
    </element>
    <element id="Media.type">
      <path value="Media.type"/>
      <short value="photo | video | audio"/>
      <definition value="Whether the media is a photo (still image), an audio recording, or a video recording."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DigitalMediaType"/>
        </extension>
        <strength value="required"/>
        <description value="Whether the media is a photo, video, or audio"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/digital-media-type"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".code"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="Media.subtype">
      <path value="Media.subtype"/>
      <short value="The type of acquisition equipment/process"/>
      <definition value="Details of the type of the media - usually, how it was acquired (what type of device). If images sourced from a DICOM system, are wrapped in a Media resource, then this is the modality."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DigitalMediaSubtype"/>
        </extension>
        <strength value="example"/>
        <description value="Detailed information about the type of the image - its kind, purpose, or the kind of equipment used to generate it"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/digital-media-subtype"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="0008,0060 | 0008,1032"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="Media.view">
      <path value="Media.view"/>
      <short value="Imaging view, e.g. Lateral or Antero-posterior"/>
      <definition value="The name of the imaging view e.g. Lateral or Antero-posterior (AP)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MediaView"/>
        </extension>
        <strength value="example"/>
        <description value="Imaging view (projection) used when collecting an image"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/media-view"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="DiagnosticImage.subjectOrientationCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="Media.subject">
      <path value="Media.subject"/>
      <short value="Who/What this Media is a record of"/>
      <definition value="Who/What this Media is a record of."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=&quot;SUBJ&quot;]???"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="~0010,0020"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.focus"/>
      </mapping>
    </element>
    <element id="Media.context">
      <path value="Media.context"/>
      <short value="Encounter / Episode associated with media"/>
      <definition value="The encounter or episode of care that establishes the context for this media."/>
      <comment value="This will typically be the encounter the media occurred within."/>
      <requirements value="Links the media to the Encounter context."/>
      <alias value="encounter"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".inboundRelationship(typeCode=COMP].source[classCode&lt;=PCPR, moodCode=EVN]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="context"/>
      </mapping>
    </element>
    <element id="Media.occurrence[x]">
      <path value="Media.occurrence[x]"/>
      <short value="When Media was collected"/>
      <definition value="The date and time(s) at which the media was collected."/>
      <alias value="timing"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
      <type>
        <code value="Period"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="when.done"/>
      </mapping>
    </element>
    <element id="Media.operator">
      <path value="Media.operator"/>
      <short value="The person who generated the image"/>
      <definition value="The person who administered the collection of the image."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=&quot;PERF&quot;]???"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="0008,1060?"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.actor"/>
      </mapping>
    </element>
    <element id="Media.reasonCode">
      <path value="Media.reasonCode"/>
      <short value="Why was event performed?"/>
      <definition value="Describes why the event occurred in coded or textual form."/>
      <comment value="Textual reasons can be caprued using reasonCode.text."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MediaReason"/>
        </extension>
        <strength value="example"/>
        <description value="The reason for the media"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/procedure-reason"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".reasonCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="why"/>
      </mapping>
    </element>
    <element id="Media.bodySite">
      <path value="Media.bodySite"/>
      <short value="Body part in media"/>
      <definition value="Indicates the site on the subject&apos;s body where the media was collected (i.e. the target site)."/>
      <comment value="If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BodySite"/>
        </extension>
        <strength value="example"/>
        <description value="Codes describing anatomical locations. May include laterality."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/body-site"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="sct-concept"/>
        <map value="&lt; 123037004 |Body structure|"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="targetSiteCode"/>
      </mapping>
      <mapping>
        <identity value="sct-attr"/>
        <map value="718497002 |Inherent location|"/>
      </mapping>
    </element>
    <element id="Media.device">
      <path value="Media.device"/>
      <short value="Observing Device"/>
      <definition value="The device used to collect the media."/>
      <comment value="An extension should be used if further typing of the device is needed. Scondary devices used to support collecting a media can be represented using either extension or through the Observation.related element."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="sct-concept"/>
        <map value="&lt; 49062001 |Device|"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="participation[typeCode=DEV]"/>
      </mapping>
      <mapping>
        <identity value="sct-attr"/>
        <map value="424226004 |Using device|"/>
      </mapping>
    </element>
    <element id="Media.height">
      <path value="Media.height"/>
      <short value="Height of the image in pixels (photo/video)"/>
      <definition value="Height of the image in pixels (photo/video)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
      <condition value="mda-1"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="0028,0010"/>
      </mapping>
    </element>
    <element id="Media.width">
      <path value="Media.width"/>
      <short value="Width of the image in pixels (photo/video)"/>
      <definition value="Width of the image in pixels (photo/video)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
      <condition value="mda-2"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="0028,0011"/>
      </mapping>
    </element>
    <element id="Media.frames">
      <path value="Media.frames"/>
      <short value="Number of frames if &gt; 1 (photo)"/>
      <definition value="The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
      <defaultValuePositiveInt value="1"/>
      <condition value="mda-3"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
      </mapping>
    </element>
    <element id="Media.duration">
      <path value="Media.duration"/>
      <short value="Length in seconds (audio / video)"/>
      <definition value="The duration of the recording in seconds - for audio and video."/>
      <comment value="The duration might differ from occurrencePeriod if recording was paused."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="unsignedInt"/>
      </type>
      <condition value="mda-4"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="~0028,0002"/>
      </mapping>
    </element>
    <element id="Media.content">
      <path value="Media.content"/>
      <short value="Actual Media - reference or data"/>
      <definition value="The actual content of the media - inline or by direct reference to the media source file."/>
      <comment value="Recommended content types: image/jpeg, image/png, image/tiff, video/mpeg, audio/mp4, application/dicom. Application/dicom can contain the transfer syntax as a parameter. For an media that covers a period of time (video/sound), the content.creationTime is the end time. Creation time is used for tracking, organizing versions and searching."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Attachment"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".text"/>
      </mapping>
    </element>
    <element id="Media.note">
      <path value="Media.note"/>
      <short value="Comments made about the media"/>
      <definition value="Comments made about the media by the performer, subject or other participants."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Annotation"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="NTE"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="Media">
      <path value="Media"/>
      <short value="A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference"/>
      <definition value="A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference."/>
      <min value="0"/>
      <max value="*"/>
      <constraint>
        <key value="mda-1"/>
        <severity value="error"/>
        <human value="Height can only be used for a photo or video"/>
        <expression value="height.empty() or type != &apos;audio&apos;"/>
        <xpath value="not(f:type/@value=&apos;audio&apos;) or not(f:height)"/>
      </constraint>
      <constraint>
        <key value="mda-2"/>
        <severity value="error"/>
        <human value="Width can only be used for a photo or video"/>
        <expression value="width.empty() or type != &apos;audio&apos;"/>
        <xpath value="not(f:type/@value=&apos;audio&apos;) or not(f:width)"/>
      </constraint>
      <constraint>
        <key value="mda-3"/>
        <severity value="error"/>
        <human value="Frames can only be used for a photo"/>
        <expression value="frames.empty() or type = &apos;photo&apos;"/>
        <xpath value="(f:type/@value=&apos;photo&apos;) or not(f:frames)"/>
      </constraint>
      <constraint>
        <key value="mda-4"/>
        <severity value="error"/>
        <human value="Duration can only be used for an audio or a video"/>
        <expression value="duration.empty() or type != &apos;photo&apos;"/>
        <xpath value="not(f:type/@value=&apos;photo&apos;) or not(f:duration)"/>
      </constraint>
      <mapping>
        <identity value="rim"/>
        <map value="Act[classCode=&quot;DGIMG&quot;, moodCode=&quot;EVN&quot;]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="infrastructure.structure"/>
      </mapping>
    </element>
    <element id="Media.identifier">
      <path value="Media.identifier"/>
      <short value="Identifier(s) for the image"/>
      <definition value="Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers."/>
      <comment value="The identifier label and use can be used to determine what kind of identifier it is."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".id"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="0008,0018 | ~0008,0050 | 0020,000D | 0020,000E"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="Media.basedOn">
      <path value="Media.basedOn"/>
      <short value="Procedure that caused this media to be created"/>
      <definition value="A procedure that is fulfilled in whole or in part by the creation of this media."/>
      <requirements value="Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon."/>
      <alias value="fulfills"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ProcedureRequest"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=FLFS].target"/>
      </mapping>
    </element>
    <element id="Media.type">
      <path value="Media.type"/>
      <short value="photo | video | audio"/>
      <definition value="Whether the media is a photo (still image), an audio recording, or a video recording."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DigitalMediaType"/>
        </extension>
        <strength value="required"/>
        <description value="Whether the media is a photo, video, or audio"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/digital-media-type"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".code"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="Media.subtype">
      <path value="Media.subtype"/>
      <short value="The type of acquisition equipment/process"/>
      <definition value="Details of the type of the media - usually, how it was acquired (what type of device). If images sourced from a DICOM system, are wrapped in a Media resource, then this is the modality."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DigitalMediaSubtype"/>
        </extension>
        <strength value="example"/>
        <description value="Detailed information about the type of the image - its kind, purpose, or the kind of equipment used to generate it"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/digital-media-subtype"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="0008,0060 | 0008,1032"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="Media.view">
      <path value="Media.view"/>
      <short value="Imaging view, e.g. Lateral or Antero-posterior"/>
      <definition value="The name of the imaging view e.g. Lateral or Antero-posterior (AP)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MediaView"/>
        </extension>
        <strength value="example"/>
        <description value="Imaging view (projection) used when collecting an image"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/media-view"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="DiagnosticImage.subjectOrientationCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="Media.subject">
      <path value="Media.subject"/>
      <short value="Who/What this Media is a record of"/>
      <definition value="Who/What this Media is a record of."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=&quot;SUBJ&quot;]???"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="~0010,0020"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.focus"/>
      </mapping>
    </element>
    <element id="Media.context">
      <path value="Media.context"/>
      <short value="Encounter / Episode associated with media"/>
      <definition value="The encounter or episode of care that establishes the context for this media."/>
      <comment value="This will typically be the encounter the media occurred within."/>
      <requirements value="Links the media to the Encounter context."/>
      <alias value="encounter"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".inboundRelationship(typeCode=COMP].source[classCode&lt;=PCPR, moodCode=EVN]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="context"/>
      </mapping>
    </element>
    <element id="Media.occurrence[x]">
      <path value="Media.occurrence[x]"/>
      <short value="When Media was collected"/>
      <definition value="The date and time(s) at which the media was collected."/>
      <alias value="timing"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
      <type>
        <code value="Period"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="when.done"/>
      </mapping>
    </element>
    <element id="Media.operator">
      <path value="Media.operator"/>
      <short value="The person who generated the image"/>
      <definition value="The person who administered the collection of the image."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=&quot;PERF&quot;]???"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="0008,1060?"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.actor"/>
      </mapping>
    </element>
    <element id="Media.reasonCode">
      <path value="Media.reasonCode"/>
      <short value="Why was event performed?"/>
      <definition value="Describes why the event occurred in coded or textual form."/>
      <comment value="Textual reasons can be caprued using reasonCode.text."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MediaReason"/>
        </extension>
        <strength value="example"/>
        <description value="The reason for the media"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/procedure-reason"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".reasonCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="why"/>
      </mapping>
    </element>
    <element id="Media.bodySite">
      <path value="Media.bodySite"/>
      <short value="Body part in media"/>
      <definition value="Indicates the site on the subject&apos;s body where the media was collected (i.e. the target site)."/>
      <comment value="If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BodySite"/>
        </extension>
        <strength value="example"/>
        <description value="Codes describing anatomical locations. May include laterality."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/body-site"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="sct-concept"/>
        <map value="&lt; 123037004 |Body structure|"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="targetSiteCode"/>
      </mapping>
      <mapping>
        <identity value="sct-attr"/>
        <map value="718497002 |Inherent location|"/>
      </mapping>
    </element>
    <element id="Media.device">
      <path value="Media.device"/>
      <short value="Observing Device"/>
      <definition value="The device used to collect the media."/>
      <comment value="An extension should be used if further typing of the device is needed. Scondary devices used to support collecting a media can be represented using either extension or through the Observation.related element."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="sct-concept"/>
        <map value="&lt; 49062001 |Device|"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="participation[typeCode=DEV]"/>
      </mapping>
      <mapping>
        <identity value="sct-attr"/>
        <map value="424226004 |Using device|"/>
      </mapping>
    </element>
    <element id="Media.height">
      <path value="Media.height"/>
      <short value="Height of the image in pixels (photo/video)"/>
      <definition value="Height of the image in pixels (photo/video)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
      <condition value="mda-1"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="0028,0010"/>
      </mapping>
    </element>
    <element id="Media.width">
      <path value="Media.width"/>
      <short value="Width of the image in pixels (photo/video)"/>
      <definition value="Width of the image in pixels (photo/video)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
      <condition value="mda-2"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="0028,0011"/>
      </mapping>
    </element>
    <element id="Media.frames">
      <path value="Media.frames"/>
      <short value="Number of frames if &gt; 1 (photo)"/>
      <definition value="The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
      <defaultValuePositiveInt value="1"/>
      <condition value="mda-3"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
      </mapping>
    </element>
    <element id="Media.duration">
      <path value="Media.duration"/>
      <short value="Length in seconds (audio / video)"/>
      <definition value="The duration of the recording in seconds - for audio and video."/>
      <comment value="The duration might differ from occurrencePeriod if recording was paused."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="unsignedInt"/>
      </type>
      <condition value="mda-4"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="~0028,0002"/>
      </mapping>
    </element>
    <element id="Media.content">
      <path value="Media.content"/>
      <short value="Actual Media - reference or data"/>
      <definition value="The actual content of the media - inline or by direct reference to the media source file."/>
      <comment value="Recommended content types: image/jpeg, image/png, image/tiff, video/mpeg, audio/mp4, application/dicom. Application/dicom can contain the transfer syntax as a parameter. For an media that covers a period of time (video/sound), the content.creationTime is the end time. Creation time is used for tracking, organizing versions and searching."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Attachment"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".text"/>
      </mapping>
    </element>
    <element id="Media.note">
      <path value="Media.note"/>
      <short value="Comments made about the media"/>
      <definition value="Comments made about the media by the performer, subject or other participants."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Annotation"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="NTE"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]"/>
      </mapping>
    </element>
  </differential>
</StructureDefinition>