Trillium II Implementation Guide Implementation Guide CI Build

Publish Box goes here

XML Format: StructureDefinition-ImagingStudy-uv-ips

Raw xml


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ImagingStudy-uv-ips"/>
  <meta>
    <lastUpdated value="2018-02-25T13:25:33.511+01:00"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">This profile represents the constraints applied to the ImagingStudy resource by the IPS project, which specifies the information on a DICOM imaging study this imaging result is part of.
</div>
  </text>
  <url
       value="http://hl7.eu/fhir/trillium2/StructureDefinition/ImagingStudy-uv-ips"/>
  <version value="0.1.0"/>
  <name value="ImagingStudy_uv_ips"/>
  <title value="Imaging Study (Trillium II)"/>
  <status value="draft"/>
  <date value="2018-02-20T13:22:59+01:00"/>
  <description
               value="This profile represents the constraints applied to the ImagingStudy resource by the IPS project, which specifies the information on a DICOM imaging study this imaging result is part of.
"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <fhirVersion value="3.0.1"/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <mapping>
    <identity value="dicom"/>
    <uri value="http://nema.org/dicom"/>
    <name value="DICOM Tag Mapping"/>
  </mapping>
  <mapping>
    <identity value="w5"/>
    <uri value="http://hl7.org/fhir/w5"/>
    <name value="W5 Mapping"/>
  </mapping>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="ImagingStudy"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
  <derivation value="constraint"/>
  <snapshot>
    <element id="ImagingStudy">
      <path value="ImagingStudy"/>
      <short
             value="A set of images produced in single study (one or more series of references images)"/>
      <definition
                  value="Representation of the content produced in a DICOM imaging study. A study comprises a set of series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context.  A series is of only one modality (e.g. X-ray, CT, MR, ultrasound), but a study may have multiple series of different modalities."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ImagingStudy"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <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((&#39;#&#39;+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(&#39;#&#39;, $id))]))"/>
        <source value="DomainResource"/>
      </constraint>
      <mustSupport value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Act[classCode=COMPOSITION, moodCode=EVN]"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="Reference IHE radiology TF vol 2 table 4.14-1"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="clinical.diagnostics"/>
      </mapping>
    </element>
    <element id="ImagingStudy.id">
      <path value="ImagingStudy.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="ImagingStudy.meta">
      <path value="ImagingStudy.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="ImagingStudy.implicitRules">
      <path value="ImagingStudy.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. 

This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it&#39;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="ImagingStudy.language">
      <path value="ImagingStudy.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="ImagingStudy.text">
      <path value="ImagingStudy.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="ImagingStudy.contained">
      <path value="ImagingStudy.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="ImagingStudy.extension">
      <path value="ImagingStudy.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="ImagingStudy.modifierExtension">
      <path value="ImagingStudy.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="ImagingStudy.uid">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
        <valueString value="dicom="/>
      </extension>
      <path value="ImagingStudy.uid"/>
      <short value="Formal DICOM identifier for the study"/>
      <definition value="Formal identifier for the study."/>
      <alias value="StudyInstanceUID"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.uid"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="oid"/>
      </type>
      <example>
        <label value="General"/>
        <valueOid
                  value="urn:oid:2.16.124.113543.6003.1154777499.30246.19789.3503430045"/>
      </example>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".id"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0020,000D)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="ImagingStudy.accession">
      <path value="ImagingStudy.accession"/>
      <short value="Related workflow identifier (&quot;Accession Number&quot;)"/>
      <definition
                  value="Accession Number is an identifier related to some aspect of imaging workflow and data management. Usage may vary across different institutions.  See for instance [IHE Radiology Technical Framework Volume 1 Appendix A](http://www.ihe.net/uploadedFiles/Documents/Radiology/IHE_RAD_TF_Rev13.0_Vol1_FT_2014-07-30.pdf)."/>
      <alias value="AccessionNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.accession"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map
             value=".inboundRelationship[typeCode=COMP].source[classCode=ACSN, moodCode=EVN].id"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,0050)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="ImagingStudy.identifier">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
        <valueString value="dicom="/>
      </extension>
      <path value="ImagingStudy.identifier"/>
      <short value="Other identifiers for the study"/>
      <definition value="Other identifiers for the study."/>
      <alias value="StudyID"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ImagingStudy.identifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".id (no means to distinguish from uid)"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0020,0010)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="ImagingStudy.availability">
      <path value="ImagingStudy.availability"/>
      <short value="ONLINE | OFFLINE | NEARLINE | UNAVAILABLE"/>
      <definition value="Availability of study (online, offline, or nearline)."/>
      <alias value="InstanceAvailability"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.availability"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="InstanceAvailability"/>
        </extension>
        <strength value="required"/>
        <description value="Availability of the resource"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/instance-availability"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="Not supported"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element id="ImagingStudy.modalityList">
      <path value="ImagingStudy.modalityList"/>
      <short value="All series modality if actual acquisition modalities"/>
      <definition
                  value="A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19)."/>
      <alias value="ModalitiesInStudy"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ImagingStudy.modalityList"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ImagingModality"/>
        </extension>
        <strength value="extensible"/>
        <description value="Type of acquired data in the instance"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/dicom-cid29"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".code"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,0061)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="ImagingStudy.patient">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
        <valueString
                     value="dicom=http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.2.2.html"/>
      </extension>
      <path value="ImagingStudy.patient"/>
      <short value="Who the images are of"/>
      <definition value="The patient imaged in the study."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.patient"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.eu/fhir/trillium2/StructureDefinition/Patient-uv-ips"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=SBJ].role"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0010/*)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.focus"/>
      </mapping>
    </element>
    <element id="ImagingStudy.patient.id">
      <path value="ImagingStudy.patient.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ImagingStudy.patient.extension">
      <path value="ImagingStudy.patient.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <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 element. 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="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ImagingStudy.patient.reference">
      <path value="ImagingStudy.patient.reference"/>
      <short value="Literal reference, Relative, internal or absolute URL"/>
      <definition
                  value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with &#39;#&#39;) refer to contained resources."/>
      <comment
               value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure &quot;/[type]/[id]&quot; then it should be assumed that the reference is to a FHIR RESTful server."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Reference.reference"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <condition value="ref-1"/>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ImagingStudy.patient.identifier">
      <path value="ImagingStudy.patient.identifier"/>
      <short value="Logical reference, when literal reference is not known"/>
      <definition
                  value="An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference."/>
      <comment
               value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. 

When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference

Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Reference.identifier"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".identifier"/>
      </mapping>
    </element>
    <element id="ImagingStudy.patient.display">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true"/>
      </extension>
      <path value="ImagingStudy.patient.display"/>
      <short value="Text alternative for the resource"/>
      <definition
                  value="Plain text narrative that identifies the resource in addition to the resource reference."/>
      <comment
               value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what&#39;s being referenced, not to fully describe it."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Reference.display"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ImagingStudy.context">
      <path value="ImagingStudy.context"/>
      <short value="Originating context"/>
      <definition
                  value="The encounter or episode at which the request is initiated."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.context"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <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=ENC, moodCode=EVN]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="context"/>
      </mapping>
    </element>
    <element id="ImagingStudy.started">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
        <valueString
                     value="dicom=http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.2.html#sect_C.7.2.1"/>
      </extension>
      <path value="ImagingStudy.started"/>
      <short value="When the study was started"/>
      <definition value="Date and time the study started."/>
      <alias value="StudyDate"/>
      <alias value="StudyTime"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.started"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <example>
        <label value="General"/>
        <valueDateTime value="2011-01-01T11:01:20+03:00"/>
      </example>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,0020)+(0008,0030)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="when.init"/>
      </mapping>
    </element>
    <element id="ImagingStudy.basedOn">
      <path value="ImagingStudy.basedOn"/>
      <short value="Request fulfilled"/>
      <definition
                  value="A list of the diagnostic requests that resulted in this imaging study being performed."/>
      <requirements
                    value="To support grouped procedures (one imaging study supporting multiple ordered procedures, e.g. chest/abdomen/pelvis CT)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ImagingStudy.basedOn"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/ReferralRequest"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
      </type>
      <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[classCode=DGIMG, moodCode=RQO]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.cause"/>
      </mapping>
    </element>
    <element id="ImagingStudy.referrer">
      <path value="ImagingStudy.referrer"/>
      <short value="Referring physician"/>
      <definition value="The requesting/referring physician."/>
      <alias value="ReferringPhysiciansName"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.referrer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map
             value=".outboundRelationship[typeCode=FLFS].target[classCode=DGIMG, moodCode=RQO].participation[typeCode=AUT].role"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.cause"/>
      </mapping>
    </element>
    <element id="ImagingStudy.interpreter">
      <path value="ImagingStudy.interpreter"/>
      <short value="Who interpreted images"/>
      <definition
                  value="Who read the study and interpreted the images or other content."/>
      <alias value="Name of Physician(s) Reading Study"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ImagingStudy.interpreter"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.eu/fhir/trillium2/StructureDefinition/practitioner-uv-ips"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=PRF].role"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,1060)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.witness"/>
      </mapping>
    </element>
    <element id="ImagingStudy.endpoint">
      <path value="ImagingStudy.endpoint"/>
      <short value="Study access endpoint"/>
      <definition
                  value="The network service providing access (e.g., query, view, or retrieval) for the study. See implementation notes for information about using DICOM endpoints. A study-level endpoint applies to each series in the study, unless overridden by a series-level endpoint with the same Endpoint.type."/>
      <comment
               value="Typical endpoint types include DICOM WADO-RS, which is used to retrieve DICOM instances in native or rendered (e.g., JPG, PNG), formats using a RESTful API; DICOM WADO-URI, which can similarly retrieve native or rendered instances, except using an HTTP query-based approach; DICOM QIDO-RS, which allows RESTful query for DICOM information without retrieving the actual instances; or IHE Invoke Image Display (IID), which provides standard invocation of an imaging web viewer."/>
      <requirements
                    value="Access methods for viewing (e.g., IHE’s IID profile) or retrieving (e.g., DICOM’s WADO-URI and WADO-RS) the study or the study’s series or instances. The study-level baseLocation applies to each series in the study, unless overridden in series by a series-level baseLocation of the same type."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ImagingStudy.endpoint"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="Not supported"/>
      </mapping>
    </element>
    <element id="ImagingStudy.numberOfSeries">
      <path value="ImagingStudy.numberOfSeries"/>
      <short value="Number of Study Related Series"/>
      <definition
                  value="Number of Series in the Study. This value given may be larger than the number of series elements this Resource contains due to resource availability, security, or other factors. This element should be present if any series elements are present."/>
      <alias value="NumberOfStudyRelatedSeries"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.numberOfSeries"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="unsignedInt"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map
             value=".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target[classCode=OBSSER, moodCode=EVN].repeatNumber"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0020,1206)"/>
      </mapping>
    </element>
    <element id="ImagingStudy.numberOfInstances">
      <path value="ImagingStudy.numberOfInstances"/>
      <short value="Number of Study Related Instances"/>
      <definition
                  value="Number of SOP Instances in Study. This value given may be larger than the number of instance elements this resource contains due to resource availability, security, or other factors. This element should be present if any instance elements are present."/>
      <alias value="NumberOfStudyRelatedInstances"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.numberOfInstances"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="unsignedInt"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map
             value=".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target[classCode=DGIMG, moodCode=EVN].repeatNumber"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0020,1208)"/>
      </mapping>
    </element>
    <element id="ImagingStudy.procedureReference">
      <path value="ImagingStudy.procedureReference"/>
      <short value="The performed Procedure reference"/>
      <definition value="A reference to the performed Procedure."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ImagingStudy.procedureReference"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map
             value=".outboundRelationship[typeCode=COMP].target[classCode=PROC, moodCode=EVN]"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,1032)"/>
      </mapping>
    </element>
    <element id="ImagingStudy.procedureCode">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0"/>
      </extension>
      <path value="ImagingStudy.procedureCode"/>
      <short value="Concept - reference to a terminology or just  text"/>
      <definition
                  value="A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."/>
      <comment
               value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ImagingStudy.procedureCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
        <profile
                 value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ImagingProcedureCode"/>
        </extension>
        <strength value="example"/>
        <description value="The performed procedure type"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/procedure-code"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="CE/CNE/CWE"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="CD"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/>
      </mapping>
    </element>
    <element id="ImagingStudy.reason">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0"/>
      </extension>
      <path value="ImagingStudy.reason"/>
      <short value="Concept - reference to a terminology or just  text"/>
      <definition
                  value="A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."/>
      <comment
               value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.reason"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
        <profile
                 value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ImagingReason"/>
        </extension>
        <strength value="example"/>
        <description value="The reason for the study"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/procedure-reason"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="CE/CNE/CWE"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="CD"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/>
      </mapping>
    </element>
    <element id="ImagingStudy.reason.id">
      <path value="ImagingStudy.reason.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ImagingStudy.reason.extension">
      <path value="ImagingStudy.reason.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <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 element. 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 can 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="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ImagingStudy.reason.coding">
      <path value="ImagingStudy.reason.coding"/>
      <short value="Code defined by a terminology system"/>
      <definition value="A reference to a code defined by a terminology system."/>
      <comment
               value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
      <requirements
                    value="Allows for alternative encodings within a code system, and translations to other code systems."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CodeableConcept.coding"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Coding"/>
        <profile
                 value="http://hl7.org/fhir/uv/ips/StructureDefinition/Coding-uv-ips"/>
      </type>
      <isModifier value="false"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="C*E.1-8, C*E.10-22"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="union(., ./translation)"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
      </mapping>
    </element>
    <element id="ImagingStudy.reason.text">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true"/>
      </extension>
      <path value="ImagingStudy.reason.text"/>
      <short value="Plain text representation of the concept"/>
      <definition
                  value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
      <comment
               value="Very often the text is the same as a displayName of one of the codings."/>
      <requirements
                    value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CodeableConcept.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="C*E.9. But note many systems use C*E.2 for this"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map
             value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
      </mapping>
    </element>
    <element id="ImagingStudy.description">
      <path value="ImagingStudy.description"/>
      <short value="Institution-generated description"/>
      <definition
                  value="Institution-generated description or classification of the Study performed."/>
      <alias value="StudyDescription"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.description"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".text"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,1030)"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series">
      <path value="ImagingStudy.series"/>
      <short value="Each study has one or more series of instances"/>
      <definition
                  value="Each study has one or more series of images or other content."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ImagingStudy.series"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map
             value=".outboundRelationship[typeCode=COMP].target[classCode=OBSSER, moodCode=EVN]"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.id">
      <path value="ImagingStudy.series.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.extension">
      <path value="ImagingStudy.series.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 element. 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="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.modifierExtension">
      <path value="ImagingStudy.series.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 element, 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"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.uid">
      <path value="ImagingStudy.series.uid"/>
      <short value="Formal DICOM identifier for this series"/>
      <definition value="Formal identifier for this series."/>
      <alias value="SeriesInstanceUID"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.series.uid"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="oid"/>
      </type>
      <example>
        <label value="General"/>
        <valueOid
                  value="urn:oid:2.16.124.113543.6003.2588828330.45298.17418.2723805630"/>
      </example>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".id"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0020,000E)"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.number">
      <path value="ImagingStudy.series.number"/>
      <short value="Numeric identifier of this series"/>
      <definition value="The numeric identifier of this series in the study."/>
      <alias value="SeriesNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.series.number"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="unsignedInt"/>
      </type>
      <example>
        <label value="General"/>
        <valueInteger value="3"/>
      </example>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map
             value=".inboundRelationship[type=COMP, source[classCode=COMPOSITION, moodCode=EVN]].sequenceNumber"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0020,0011)"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.modality">
      <path value="ImagingStudy.series.modality"/>
      <short value="The modality of the instances in the series"/>
      <definition value="The modality of this series sequence."/>
      <alias value="Modality"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.series.modality"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ImagingModality"/>
        </extension>
        <strength value="extensible"/>
        <description value="Type of acquired data in the instance"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/dicom-cid29"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".code"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,0060)"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.description">
      <path value="ImagingStudy.series.description"/>
      <short value="A short human readable summary of the series"/>
      <definition value="A description of the series."/>
      <alias value="SeriesDescription"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.series.description"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <example>
        <label value="General"/>
        <valueString value="CT Surview 180"/>
      </example>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".text"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,103E)"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.numberOfInstances">
      <path value="ImagingStudy.series.numberOfInstances"/>
      <short value="Number of Series Related Instances"/>
      <definition
                  value="Number of SOP Instances in the Study. The value given may be larger than the number of instance elements this resource contains due to resource availability, security, or other factors. This element should be present if any instance elements are present."/>
      <alias value="NumberOfSeriesRelatedInstances"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.series.numberOfInstances"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="unsignedInt"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map
             value=".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target[classCode=DGIMG, moodCode=EVN].repeatNumber"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0020,1209)"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.availability">
      <path value="ImagingStudy.series.availability"/>
      <short value="ONLINE | OFFLINE | NEARLINE | UNAVAILABLE"/>
      <definition value="Availability of series (online, offline or nearline)."/>
      <alias value="InstanceAvailability"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.series.availability"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="InstanceAvailability"/>
        </extension>
        <strength value="required"/>
        <description value="Availability of the resource"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/instance-availability"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map
             value=".inboundRelationship[typeCode=COMP]. source[classCode=OBS, moodCode=EVN, code=&quot;availability&quot;].value"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,0056)"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.endpoint">
      <path value="ImagingStudy.series.endpoint"/>
      <short value="Series access endpoint"/>
      <definition
                  value="The network service providing access (e.g., query, view, or retrieval) for this series. See implementation notes for information about using DICOM endpoints. A series-level endpoint, if present, has precedence over a study-level endpoint with the same Endpoint.type."/>
      <comment
               value="Typical endpoint types include DICOM WADO-RS, which is used to retrieve DICOM instances in native or rendered (e.g., JPG, PNG) formats using a RESTful API; DICOM WADO-URI, which can similarly retrieve native or rendered instances, except using an HTTP query-based approach; and DICOM QIDO-RS, which allows RESTful query for DICOM information without retrieving the actual instances."/>
      <requirements
                    value="Access methods for retrieving (e.g., DICOM’s WADO-URI and WADO-RS) the series or the series’ instances. A baseLocation specified at the series level has precedence over a baseLocation of the same type specified at the study level."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ImagingStudy.series.endpoint"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="Not supported"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.bodySite">
      <path value="ImagingStudy.series.bodySite"/>
      <short value="Body part examined"/>
      <definition
                  value="The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. The bodySite may indicate the laterality of body part imaged; if so, it shall be consistent with any content of ImagingStudy.series.laterality."/>
      <alias value="BodyPartExamined"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.series.bodySite"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </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="rim"/>
        <map value=".targetSiteCode"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0018,0015)"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.laterality">
      <path value="ImagingStudy.series.laterality"/>
      <short value="Body part laterality"/>
      <definition
                  value="The laterality of the (possibly paired) anatomic structures examined. E.g., the left knee, both lungs, or unpaired abdomen. If present, shall be consistent with any laterality information indicated in ImagingStudy.series.bodySite."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.series.laterality"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Laterality"/>
        </extension>
        <strength value="example"/>
        <description
                     value="Codes describing body site laterality (left, right, etc.)."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/bodysite-laterality"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".targetSiteCode"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0020,0060)"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.started">
      <path value="ImagingStudy.series.started"/>
      <short value="When the series started"/>
      <definition value="The date and time the series was started."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.series.started"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,0021) + (0008,0031)"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.performer">
      <path value="ImagingStudy.series.performer"/>
      <short value="Who performed the series"/>
      <definition
                  value="The physician or operator (often the radiology technician)  who performed the series. The performer is recorded at the series level, since each series in a study may be performed by a different practitioner, at different times, and using different devices. A series may be performed by multiple practitioners."/>
      <alias value="PerformingPhysicianName"/>
      <alias value="OperatorName"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ImagingStudy.series.performer"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=PRF].role"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,1050) | (0008,1072)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.actor"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.instance">
      <path value="ImagingStudy.series.instance"/>
      <short value="A single SOP instance from the series"/>
      <definition
                  value="A single SOP instance within the series, e.g. an image, or presentation state."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ImagingStudy.series.instance"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mustSupport value="true"/>
      <mapping>
        <identity value="rim"/>
        <map
             value=".outboundRelationship[typeCode=COMP].target[classCode=DGIMG, moodCode=EVN]"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.instance.id">
      <path value="ImagingStudy.series.instance.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.instance.extension">
      <path value="ImagingStudy.series.instance.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 element. 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="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.instance.modifierExtension">
      <path value="ImagingStudy.series.instance.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 element, 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"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.instance.uid">
      <path value="ImagingStudy.series.instance.uid"/>
      <short value="Formal DICOM identifier for this instance"/>
      <definition value="Formal identifier for this image or other content."/>
      <alias value="SOPInstanceUID"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.series.instance.uid"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="oid"/>
      </type>
      <example>
        <label value="General"/>
        <valueOid
                  value="urn:oid:2.16.124.113543.6003.189642796.63084.16748.2599092903"/>
      </example>
      <mustSupport value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".id"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,0018)"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.instance.number">
      <path value="ImagingStudy.series.instance.number"/>
      <short value="The number of this instance in the series"/>
      <definition value="The number of instance in the series."/>
      <alias value="InstanceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.series.instance.number"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="unsignedInt"/>
      </type>
      <example>
        <label value="General"/>
        <valueInteger value="1"/>
      </example>
      <mapping>
        <identity value="rim"/>
        <map
             value=".inboundRelationship[typeCode=COMP, source[classCode=OBSSER, moodCode=EVN]].sequenceNumber"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0020,0013)"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.instance.sopClass">
      <path value="ImagingStudy.series.instance.sopClass"/>
      <short value="DICOM class type"/>
      <definition value="DICOM instance  type."/>
      <alias value="SOPClassUID"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.series.instance.sopClass"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="oid"/>
      </type>
      <example>
        <label value="General"/>
        <valueOid value="urn:oid:1.2.840.10008.5.1.4.1.1.2"/>
      </example>
      <mustSupport value="true"/>
      <mapping>
        <identity value="rim"/>
        <map
             value=".inboundRelationship[typeCode=COMP]. source[classCode=OBS, moodCode=EVN, code=&quot;sop class&quot;].value"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,0016)"/>
      </mapping>
    </element>
    <element id="ImagingStudy.series.instance.title">
      <path value="ImagingStudy.series.instance.title"/>
      <short value="Description of instance"/>
      <definition value="The description of the instance."/>
      <comment
               value="Particularly for post-acquisition analytic objects, such as SR, presentation states, value mapping, etc."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.series.instance.title"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".title"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map
             value="(0070,0080) | (0040,A043) &gt; (0008,0104) | (0042,0010) | (0008,0008)"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="ImagingStudy">
      <path value="ImagingStudy"/>
      <mustSupport value="true"/>
    </element>
    <element id="ImagingStudy.identifier">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
        <valueString value="dicom="/>
      </extension>
      <path value="ImagingStudy.identifier"/>
      <mustSupport value="true"/>
    </element>
    <element id="ImagingStudy.patient">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
        <valueString
                     value="dicom=http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.2.2.html"/>
      </extension>
      <path value="ImagingStudy.patient"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.eu/fhir/trillium2/StructureDefinition/Patient-uv-ips"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element id="ImagingStudy.patient.reference">
      <path value="ImagingStudy.patient.reference"/>
      <min value="1"/>
      <mustSupport value="true"/>
    </element>
    <element id="ImagingStudy.started">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
        <valueString
                     value="dicom=http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.2.html#sect_C.7.2.1"/>
      </extension>
      <path value="ImagingStudy.started"/>
      <mustSupport value="true"/>
    </element>
    <element id="ImagingStudy.interpreter">
      <path value="ImagingStudy.interpreter"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.eu/fhir/trillium2/StructureDefinition/practitioner-uv-ips"/>
      </type>
      <mustSupport value="false"/>
    </element>
    <element id="ImagingStudy.procedureCode">
      <path value="ImagingStudy.procedureCode"/>
      <type>
        <code value="CodeableConcept"/>
        <profile
                 value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element id="ImagingStudy.reason">
      <path value="ImagingStudy.reason"/>
      <type>
        <code value="CodeableConcept"/>
        <profile
                 value="http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element id="ImagingStudy.reason.text">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true"/>
      </extension>
      <path value="ImagingStudy.reason.text"/>
      <mustSupport value="true"/>
    </element>
    <element id="ImagingStudy.series">
      <path value="ImagingStudy.series"/>
      <mustSupport value="true"/>
    </element>
    <element id="ImagingStudy.series.uid">
      <path value="ImagingStudy.series.uid"/>
      <mustSupport value="true"/>
    </element>
    <element id="ImagingStudy.series.modality">
      <path value="ImagingStudy.series.modality"/>
      <mustSupport value="true"/>
    </element>
    <element id="ImagingStudy.series.instance">
      <path value="ImagingStudy.series.instance"/>
      <mustSupport value="true"/>
    </element>
    <element id="ImagingStudy.series.instance.uid">
      <path value="ImagingStudy.series.instance.uid"/>
      <mustSupport value="true"/>
    </element>
    <element id="ImagingStudy.series.instance.sopClass">
      <path value="ImagingStudy.series.instance.sopClass"/>
      <mustSupport value="true"/>
    </element>
  </differential>
</StructureDefinition>