This page is part of the Quality Improvement Core Framework (v1.6.0: STU 2 Ballot 1) based on FHIR v1.6.0. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

Profile qicore-imagingstudy


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="qicore-imagingstudy"/>
  <url
       value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-imagingstudy"/>
  <name value="Profile qicore-imagingstudy"/>
  <status value="draft"/>
  <publisher
             value="Health Level Seven International (Clinical Quality Information - QICore)"/>
  <contact>
    <telecom>
      <system value="other"/>
      <value value="http://hl7.org/special/committees/CQI"/>
    </telecom>
  </contact>
  <date value="2015-02-27"/>
  <mapping>
    <identity value="qdm"/>
    <uri value="http://www.healthit.gov/quality-data-model"/>
    <name value="Quality Data Model"/>
  </mapping>
  <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:qicore-imagingstudy">
      <path value="ImagingStudy"/>
      <name value="QICore-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)"/>
      </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)"/>
      </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))"/>
      </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(('#'+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('#', $id))]))"/>
      </constraint>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <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:qicore-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."/>
      <comments
                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="*"/>
      </base>
      <type>
        <code value="id"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="ImagingStudy:qicore-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="*"/>
      </base>
      <type>
        <code value="Meta"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="ImagingStudy:qicore-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."/>
      <comments
                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 as much as possible."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.implicitRules"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.language">
      <path value="ImagingStudy.language"/>
      <short value="Language of the resource content"/>
      <definition value="The base language in which the resource is written."/>
      <comments
                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="*"/>
      </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>
        <strength value="extensible"/>
        <description value="A human language."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/languages"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ImagingStudy:qicore-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 "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
      <comments
                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 "text blob" 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="*"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
      <condition value="dom-1"/>
      <mapping>
        <identity value="rim"/>
        <map value="Act.text?"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-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."/>
      <comments
                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:qicore-imagingstudy.extension">
      <path value="ImagingStudy.extension"/>
      <slicing id="8">
        <discriminator value="url"/>
        <ordered value="false"/>
        <rules value="open"/>
      </slicing>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element
             id="ImagingStudy:qicore-imagingstudy.extension:imagingstudyradiationdose$imagingstudy-radiationDose">
      <path value="ImagingStudy.extension"/>
      <name value="ImagingStudy.radiationDose"/>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/imagingstudy-radiationDose"/>
      </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="children().count() > id.count()"/>
        <xpath value="@value|f:*|h:div"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="qdm"/>
        <map
             value="radiation dosage from "Diagnostic Study, Adverse Event" and "Diagnostic Study, Performed""/>
      </mapping>
    </element>
    <element
             id="ImagingStudy:qicore-imagingstudy.extension:imagingstudyradiationduration$imagingstudy-radiationDuration">
      <path value="ImagingStudy.extension"/>
      <name value="ImagingStudy.radiationDuration"/>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/imagingstudy-radiationDuration"/>
      </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="children().count() > id.count()"/>
        <xpath value="@value|f:*|h:div"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="qdm"/>
        <map
             value="radiation duration from "Diagnostic Study, Adverse Event" and "Diagnostic Study, Performed""/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-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."/>
      <comments
                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:qicore-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>
      <exampleOid
                  value="urn:oid:2.16.124.113543.6003.1154777499.30246.19789.3503430045"/>
      <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:qicore-imagingstudy.accession">
      <path value="ImagingStudy.accession"/>
      <short value="Related workflow identifier ("Accession Number")"/>
      <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:qicore-imagingstudy.identifier">
      <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>
      <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:qicore-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>
        <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:qicore-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>
        <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:qicore-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"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-patient"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <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:qicore-imagingstudy.context">
      <path value="ImagingStudy.context"/>
      <short value="Originating context"/>
      <definition value="The encounter 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"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="w5"/>
        <map value="context"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-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>
      <exampleDateTime value="2011-01-01T11:01:20+03:00"/>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <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:qicore-imagingstudy.basedOn">
      <path value="ImagingStudy.basedOn"/>
      <short value="A request for a diagnostic service"/>
      <definition
                  value="A record of a request for a diagnostic investigation service to be performed."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ImagingStudy.basedOn"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-diagnosticrequest"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map
             value="Observation[classCode=OBS, moodCode=RQO, code<"diagnostic order"]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="clinical.diagnostics"/>
      </mapping>
      <mapping>
        <identity value="qdm"/>
        <map
             value=""Diagnostic Study, Order"; "Diagnostic Study, Recommended" (when DiagnosticRequest.status="recommended")"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-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"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-practitioner"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <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:qicore-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="1"/>
      <base>
        <path value="ImagingStudy.interpreter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-practitioner"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <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:qicore-imagingstudy.baseLocation">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="StudyBaseLocation"/>
      </extension>
      <path value="ImagingStudy.baseLocation"/>
      <short value="Study access service endpoint"/>
      <definition
                  value="Methods of accessing  (e.g., retrieving, viewing) the study."/>
      <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.baseLocation"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.baseLocation.id">
      <path value="ImagingStudy.baseLocation.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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.baseLocation.extension">
      <path value="ImagingStudy.baseLocation.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."/>
      <comments
                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:qicore-imagingstudy.baseLocation.modifierExtension">
      <path value="ImagingStudy.baseLocation.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."/>
      <comments
                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:qicore-imagingstudy.baseLocation.type">
      <path value="ImagingStudy.baseLocation.type"/>
      <short value="WADO-RS | WADO-URI | IID"/>
      <definition
                  value="The service type for accessing (e.g., retrieving, viewing) the DICOM instances."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.baseLocation.type"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <strength value="extensible"/>
        <description value="The type of the service endpoint"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/dWebType"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.baseLocation.url">
      <path value="ImagingStudy.baseLocation.url"/>
      <short value="Study access URL"/>
      <definition
                  value="The service URL for accessing the study. The interpretation of the URL depends on the type of the service specified in ImagingManifest.study.baseLocation.type."/>
      <comments
                value="This URL is to a service endpoint for the particular service indicated by ImagingManifest.study.baseLocation.type. Depending on the type of service, it is may be used to construct a URL to view, retrieve, or otherwise access the study or the study’s series or instances. For example, this element may be a DICOMweb WADO-RS endpoint."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.baseLocation.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="dicom"/>
        <map
             value="(0040,E023) WADO Retrieval Sequence > (0040,E010) Retrieve URI |  (0040,E025) WADO-RS Retrieval Sequence > (0008,1190) Retrieve URI"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.numberOfSeries">
      <path value="ImagingStudy.numberOfSeries"/>
      <short value="Number of Study Related Series"/>
      <definition value="Number of Series in Study."/>
      <alias value="NumberOfStudyRelatedSeries"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.numberOfSeries"/>
        <min value="1"/>
        <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:qicore-imagingstudy.numberOfInstances">
      <path value="ImagingStudy.numberOfInstances"/>
      <short value="Number of Study Related Instances"/>
      <definition value="Number of SOP Instances in Study."/>
      <alias value="NumberOfStudyRelatedInstances"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.numberOfInstances"/>
        <min value="1"/>
        <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:qicore-imagingstudy.procedure">
      <path value="ImagingStudy.procedure"/>
      <short value="Type of procedure performed"/>
      <definition value="Type of procedure performed."/>
      <comments
                value="For the Procedure.code, LOINC radiology orderables would be a good value set to use."/>
      <alias value="ProcedureCodeSequence"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ImagingStudy.procedure"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <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:qicore-imagingstudy.reason">
      <path value="ImagingStudy.reason"/>
      <short value="Reason for study"/>
      <definition
                  value="Description of clinical codition indicating why the ImagingStudy was requested."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.reason"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <strength value="example"/>
        <description value="The reason for the study"/>
      </binding>
      <mapping>
        <identity value="w5"/>
        <map value="why"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-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:qicore-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>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map
             value=".outboundRelationship[typeCode=COMP].target[classCode=OBSSER, moodCode=EVN]"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-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."/>
      <comments
                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:qicore-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."/>
      <comments
                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:qicore-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>
      <exampleOid
                  value="urn:oid:2.16.124.113543.6003.2588828330.45298.17418.2723805630"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".id"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0020,000E)"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-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>
      <exampleUnsignedInt value="3"/>
      <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:qicore-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>
      <isSummary value="true"/>
      <binding>
        <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:qicore-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>
      <exampleString value="CT Surview 180"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".text"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,103E)"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.series.numberOfInstances">
      <path value="ImagingStudy.series.numberOfInstances"/>
      <short value="Number of Series Related Instances"/>
      <definition value="Number of SOP Instances in Series."/>
      <alias value="NumberOfSeriesRelatedInstances"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.series.numberOfInstances"/>
        <min value="1"/>
        <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:qicore-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>
        <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="availability"].value"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,0056)"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.series.baseLocation">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="SeriesBaseLocation"/>
      </extension>
      <path value="ImagingStudy.series.baseLocation"/>
      <short value="Series access endpoint"/>
      <definition value="Methods of accessing (e.g. retrieving) the series."/>
      <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.baseLocation"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.series.baseLocation.id">
      <path value="ImagingStudy.series.baseLocation.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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.series.baseLocation.extension">
      <path value="ImagingStudy.series.baseLocation.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."/>
      <comments
                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:qicore-imagingstudy.series.baseLocation.modifierExtension">
      <path value="ImagingStudy.series.baseLocation.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."/>
      <comments
                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:qicore-imagingstudy.series.baseLocation.type">
      <path value="ImagingStudy.series.baseLocation.type"/>
      <short value="WADO-RS | WADO-URI | IID"/>
      <definition
                  value="The service type for accessing (e.g., retrieving) the DICOM instances."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.series.baseLocation.type"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <strength value="extensible"/>
        <description value="The type of the service endpoint"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/dWebType"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.series.baseLocation.url">
      <path value="ImagingStudy.series.baseLocation.url"/>
      <short value="Series access URL"/>
      <definition
                  value="The service URL for accessing the study. The interpretation of the URL depends on the type of the service specified in ImagingManifest.study.series.baseLocation.type."/>
      <comments
                value="This URL is to a service endpoint for the particular service indicated by ImagingManifest.study.series.baseLocation.type. Depending on the type of service, it is may be used to construct a URL to retrieve, or otherwise access, the series or the series’ instances. For example, this element may be a DICOMweb WADO-RS endpoint."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ImagingStudy.series.baseLocation.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="dicom"/>
        <map
             value="(0040,E023) WADO Retrieval Sequence > (0040,E010) Retrieve URI |  (0040,E025) WADO-RS Retrieval Sequence > (0008,1190) Retrieve URI"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.series.bodySite">
      <path value="ImagingStudy.series.bodySite"/>
      <short value="Body part examined"/>
      <definition
                  value="Body part examined. See  DICOM Part 16 Annex L for the mapping from DICOM to Snomed CT."/>
      <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>
        <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:qicore-imagingstudy.series.laterality">
      <path value="ImagingStudy.series.laterality"/>
      <short value="Body part laterality"/>
      <definition
                  value="Laterality if body site is paired anatomic structure and laterality is not pre-coordinated in body site code."/>
      <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>
        <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:qicore-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:qicore-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>
      <mapping>
        <identity value="rim"/>
        <map
             value=".outboundRelationship[typeCode=COMP].target[classCode=DGIMG, moodCode=EVN]"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-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."/>
      <comments
                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:qicore-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."/>
      <comments
                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:qicore-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>
      <exampleOid
                  value="urn:oid:2.16.124.113543.6003.189642796.63084.16748.2599092903"/>
      <mapping>
        <identity value="rim"/>
        <map value=".id"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,0018)"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-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>
      <exampleUnsignedInt value="1"/>
      <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:qicore-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>
      <exampleOid value="urn:oid:1.2.840.10008.5.1.4.1.1.2"/>
      <mapping>
        <identity value="rim"/>
        <map
             value=".inboundRelationship[typeCode=COMP]. source[classCode=OBS, moodCode=EVN, code="sop class"].value"/>
      </mapping>
      <mapping>
        <identity value="dicom"/>
        <map value="(0008,0016)"/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.series.instance.title">
      <path value="ImagingStudy.series.instance.title"/>
      <short value="Description of instance"/>
      <definition value="The description of the instance."/>
      <comments
                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) > (0008,0104) | (0042,0010) | (0008,0008)"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="ImagingStudy:qicore-imagingstudy">
      <path value="ImagingStudy"/>
      <name value="QICore-ImagingStudy"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="ImagingStudy:qicore-imagingstudy.extension:imagingstudyradiationdose$imagingstudy-radiationDose">
      <path value="ImagingStudy.extension"/>
      <name value="ImagingStudy.radiationDose"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/imagingstudy-radiationDose"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="qdm"/>
        <map
             value="radiation dosage from "Diagnostic Study, Adverse Event" and "Diagnostic Study, Performed""/>
      </mapping>
    </element>
    <element
             id="ImagingStudy:qicore-imagingstudy.extension:imagingstudyradiationduration$imagingstudy-radiationDuration">
      <path value="ImagingStudy.extension"/>
      <name value="ImagingStudy.radiationDuration"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/imagingstudy-radiationDuration"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="qdm"/>
        <map
             value="radiation duration from "Diagnostic Study, Adverse Event" and "Diagnostic Study, Performed""/>
      </mapping>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.patient">
      <path value="ImagingStudy.patient"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-patient"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.started">
      <path value="ImagingStudy.started"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.basedOn">
      <path value="ImagingStudy.basedOn"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-diagnosticrequest"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.referrer">
      <path value="ImagingStudy.referrer"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-practitioner"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.interpreter">
      <path value="ImagingStudy.interpreter"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-practitioner"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="ImagingStudy:qicore-imagingstudy.procedure">
      <path value="ImagingStudy.procedure"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
  </differential>
</StructureDefinition>