- HSPC Implementation Guide

This page is part of the HSPC FHIR Implementation Guide (v0.1.0: Daft For Comment Draft) based on FHIR v1.9.0. This is the current published version. For a full list of available versions, see the Directory of published versions

href="assets/ico/favicon.png"/>

Profile hspc-imagingstudy


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="hspc-imagingstudy"/>
  <url value="http://fhir.org/guides/hspc/StructureDefinition/hspc-imagingstudy"/>
  <name value="Profile hspc-imagingstudy"/>
  <status value="draft"/>
  <publisher value="HSPC"/>
  <contact>
    <telecom>
      <system value="other"/>
      <value value="http://healthcaresoa.org"/>
    </telecom>
  </contact>
  <date value="2016-02-03"/>
  <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:hspcimagingstudy">
      <path value="ImagingStudy"/>
      <name value="HSPC Imaging Study"/>
      <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>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <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>
      <mapping>
        <identity value="qdm"/>
        <map value="Patient Characteristic"/>
      </mapping>
    </element>
    <element id="ImagingStudy:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.extension">
      <path value="ImagingStudy.extension"/>
      <slicing id="37">
        <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:hspcimagingstudy.extension:radiologytext$Extension">
      <path value="ImagingStudy.extension"/>
      <name value="RadiologyText"/>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </type>
      <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"/>
    </element>
    <element
             id="ImagingStudy:hspcimagingstudy.extension:radiologytext$Extension.id">
      <path value="ImagingStudy.extension.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:hspcimagingstudy.extension:radiologytext$Extension.extension">
      <path value="ImagingStudy.extension.extension"/>
      <slicing id="38">
        <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="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element
             id="ImagingStudy:hspcimagingstudy.extension:radiologytext$Extension.extension:radiologytexttextsection$Extension">
      <path value="ImagingStudy.extension.extension"/>
      <name value="RadiologyText.TextSection"/>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </type>
      <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"/>
    </element>
    <element
             id="ImagingStudy:hspcimagingstudy.extension:radiologytext$Extension.extension:radiologytextsequencenumber$Extension">
      <path value="ImagingStudy.extension.extension"/>
      <name value="RadiologyText.SequenceNumber"/>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </type>
      <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"/>
    </element>
    <element
             id="ImagingStudy:hspcimagingstudy.extension:radiologytext$Extension.url">
      <path value="ImagingStudy.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comments
                value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="ImagingStudy:hspcimagingstudy.extension:radiologytext$Extension.value[x]">
      <path value="ImagingStudy.extension.value[x]"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="base64Binary"/>
      </type>
      <type>
        <code value="boolean"/>
      </type>
      <type>
        <code value="code"/>
      </type>
      <type>
        <code value="date"/>
      </type>
      <type>
        <code value="dateTime"/>
      </type>
      <type>
        <code value="decimal"/>
      </type>
      <type>
        <code value="id"/>
      </type>
      <type>
        <code value="instant"/>
      </type>
      <type>
        <code value="integer"/>
      </type>
      <type>
        <code value="markdown"/>
      </type>
      <type>
        <code value="oid"/>
      </type>
      <type>
        <code value="positiveInt"/>
      </type>
      <type>
        <code value="string"/>
      </type>
      <type>
        <code value="time"/>
      </type>
      <type>
        <code value="unsignedInt"/>
      </type>
      <type>
        <code value="uri"/>
      </type>
      <type>
        <code value="Address"/>
      </type>
      <type>
        <code value="Age"/>
      </type>
      <type>
        <code value="Annotation"/>
      </type>
      <type>
        <code value="Attachment"/>
      </type>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <type>
        <code value="Coding"/>
      </type>
      <type>
        <code value="ContactPoint"/>
      </type>
      <type>
        <code value="Count"/>
      </type>
      <type>
        <code value="Distance"/>
      </type>
      <type>
        <code value="Duration"/>
      </type>
      <type>
        <code value="HumanName"/>
      </type>
      <type>
        <code value="Identifier"/>
      </type>
      <type>
        <code value="Money"/>
      </type>
      <type>
        <code value="Period"/>
      </type>
      <type>
        <code value="Quantity"/>
      </type>
      <type>
        <code value="Range"/>
      </type>
      <type>
        <code value="Ratio"/>
      </type>
      <type>
        <code value="Reference"/>
      </type>
      <type>
        <code value="SampledData"/>
      </type>
      <type>
        <code value="Signature"/>
      </type>
      <type>
        <code value="Timing"/>
      </type>
      <type>
        <code value="Meta"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="ImagingStudy:hspcimagingstudy.extension:associatedprecondition$Extension">
      <path value="ImagingStudy.extension"/>
      <name value="AssociatedPrecondition"/>
      <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"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </type>
      <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"/>
      <binding>
        <strength value="example"/>
        <description
                     value="Conditions that exist that may effect the imaging study"/>
        <valueSetReference>
          <reference value="ValueSet/radiologyAssociatedPrecondition"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ImagingStudy:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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/StructureDefinition/Patient"/>
      </type>
      <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:hspcimagingstudy.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:hspcimagingstudy.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"/>
      <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:hspcimagingstudy.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"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/ReferralRequest"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/DiagnosticRequest"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 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:hspcimagingstudy.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/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:hspcimagingstudy.interpreter">
      <path value="ImagingStudy.interpreter"/>
      <short
             value="A person with a  formal responsibility in the provisioning of healthcare or related services"/>
      <definition
                  value="A person who is directly or indirectly involved in the provisioning of healthcare."/>
      <comments
                value="Note that a cab driver no longer fits the bill. You probably would be interested in the organization rather than the individual?"/>
      <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://fhir.org/guides/hspc/StructureDefinition/hspc-provpract"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="v2"/>
        <map value="PRD (as one example)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Role"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="Provider"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="administrative.individual"/>
      </mapping>
    </element>
    <element id="ImagingStudy:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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>
      <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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy.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:hspcimagingstudy">
      <path value="ImagingStudy"/>
      <name value="HSPC Imaging Study"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="qdm"/>
        <map value="Patient Characteristic"/>
      </mapping>
    </element>
    <element
             id="ImagingStudy:hspcimagingstudy.extension:radiologytext$Extension">
      <path value="ImagingStudy.extension"/>
      <name value="RadiologyText"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="Extension"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="ImagingStudy:hspcimagingstudy.extension:radiologytext$Extension.extension:radiologytexttextsection$Extension">
      <path value="ImagingStudy.extension.extension"/>
      <name value="RadiologyText.TextSection"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="Extension"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="ImagingStudy:hspcimagingstudy.extension:radiologytext$Extension.extension:radiologytextsequencenumber$Extension">
      <path value="ImagingStudy.extension.extension"/>
      <name value="RadiologyText.SequenceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Extension"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="ImagingStudy:hspcimagingstudy.extension:associatedprecondition$Extension">
      <path value="ImagingStudy.extension"/>
      <name value="AssociatedPrecondition"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Extension"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <binding>
        <strength value="example"/>
        <description
                     value="Conditions that exist that may effect the imaging study"/>
        <valueSetReference>
          <reference value="ValueSet/radiologyAssociatedPrecondition"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ImagingStudy:hspcimagingstudy.interpreter">
      <path value="ImagingStudy.interpreter"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://fhir.org/guides/hspc/StructureDefinition/hspc-provpract"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
  </differential>
</StructureDefinition>