Release 4

This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU) in it's permanent home (it will always be available at this URL). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Imagingstudy.profile.ttl

Imaging Integration Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient

Raw Turtle (+ also see Turtle/RDF Format Specification)

StructureDefinition for imagingstudy

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:StructureDefinition;
  fhir:Resource.id [ fhir:value "ImagingStudy"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2019-11-01T09:29:23.356+11:00" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-category" ];
     fhir:Extension.value [ fhir:value "Clinical.Diagnostics" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
     fhir:Extension.value [ fhir:value "trial-use" ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.value [ fhir:value "3" ]
  ], [
     fhir:index 3;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category" ];
     fhir:Extension.value [ fhir:value "patient" ]
  ], [
     fhir:index 4;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "ii" ]
  ];
  fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/ImagingStudy"];
  fhir:StructureDefinition.version [ fhir:value "4.0.1"];
  fhir:StructureDefinition.name [ fhir:value "ImagingStudy"];
  fhir:StructureDefinition.status [ fhir:value "draft"];
  fhir:StructureDefinition.date [ fhir:value "2019-11-01T09:29:23+11:00"];
  fhir:StructureDefinition.publisher [ fhir:value "Health Level Seven International (Imaging Integration)"];
  fhir:StructureDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ], [
     fhir:index 1;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/imagemgt/index.cfm" ]
     ]
  ];
  fhir:StructureDefinition.description [ fhir: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."];
  fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"];
  fhir:StructureDefinition.mapping [
     fhir:index 0;
     fhir:StructureDefinition.identity [ fhir:value "workflow" ];
     fhir:StructureDefinition.uri [ fhir:value "http://hl7.org/fhir/workflow" ];
     fhir:StructureDefinition.name [ fhir:value "Workflow Pattern" ]
  ], [
     fhir:index 1;
     fhir:StructureDefinition.identity [ fhir:value "rim" ];
     fhir:StructureDefinition.uri [ fhir:value "http://hl7.org/v3" ];
     fhir:StructureDefinition.name [ fhir:value "RIM Mapping" ]
  ], [
     fhir:index 2;
     fhir:StructureDefinition.identity [ fhir:value "dicom" ];
     fhir:StructureDefinition.uri [ fhir:value "http://nema.org/dicom" ];
     fhir:StructureDefinition.name [ fhir:value "DICOM Tag Mapping" ]
  ], [
     fhir:index 3;
     fhir:StructureDefinition.identity [ fhir:value "w5" ];
     fhir:StructureDefinition.uri [ fhir:value "http://hl7.org/fhir/fivews" ];
     fhir:StructureDefinition.name [ fhir:value "FiveWs Pattern Mapping" ]
  ], [
     fhir:index 4;
     fhir:StructureDefinition.identity [ fhir:value "v2" ];
     fhir:StructureDefinition.uri [ fhir:value "http://hl7.org/v2" ];
     fhir:StructureDefinition.name [ fhir:value "HL7 v2 Mapping" ]
  ];
  fhir:StructureDefinition.kind [ fhir:value "resource"];
  fhir:StructureDefinition.abstract [ fhir:value "false"];
  fhir:StructureDefinition.type [ fhir:value "ImagingStudy"];
  fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource"];
  fhir:StructureDefinition.derivation [ fhir:value "specialization"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "ImagingStudy" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy" ];
       fhir:ElementDefinition.short [ fhir:value "A set of images produced in single study (one or more series of references images)" ];
       fhir:ElementDefinition.definition [ fhir: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." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "dom-2" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ];
         fhir:ElementDefinition.expression [ fhir:value "contained.contained.empty()" ];
         fhir:ElementDefinition.xpath [ fhir:value "not(parent::f:contained and f:contained)" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "dom-3" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ];
         fhir:ElementDefinition.expression [ fhir:value "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ];
         fhir:ElementDefinition.xpath [ fhir:value "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.key [ fhir:value "dom-4" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ];
         fhir:ElementDefinition.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ];
         fhir:ElementDefinition.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.key [ fhir:value "dom-5" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a security label" ];
         fhir:ElementDefinition.expression [ fhir:value "contained.meta.security.empty()" ];
         fhir:ElementDefinition.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:security))" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]
       ], [
         fhir:index 4;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ];
           fhir:Extension.value [ fhir:value "true" ]
         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ];
           fhir:Extension.value [ fhir:value "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." ]
         ];
         fhir:ElementDefinition.key [ fhir:value "dom-6" ];
         fhir:ElementDefinition.severity [ fhir:value "warning" ];
         fhir:ElementDefinition.human [ fhir:value "A resource should have narrative for robust management" ];
         fhir:ElementDefinition.expression [ fhir:value "text.`div`.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "exists(f:text/h:div)" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "Entity. Role, or Act" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "Act[classCode=COMPOSITION, moodCode=EVN]" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "Reference IHE radiology TF vol 2 table 4.14-1" ]
       ]
     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "ImagingStudy.id" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.id" ];
       fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ];
       fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ];
       fhir:ElementDefinition.comment [ fhir: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." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Resource.id" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
           fhir:Extension.value [ fhir:value "string" ]
         ];
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "ImagingStudy.meta" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.meta" ];
       fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ];
       fhir:ElementDefinition.definition [ fhir:value "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Resource.meta" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Meta" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "ImagingStudy.implicitRules" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.implicitRules" ];
       fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ];
       fhir:ElementDefinition.definition [ fhir: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. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ];
       fhir:ElementDefinition.comment [ fhir: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. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Resource.implicitRules" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "uri" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true" ];
       fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "ImagingStudy.language" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.language" ];
       fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ];
       fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ];
       fhir:ElementDefinition.comment [ fhir: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)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Resource.language" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ];
           fhir:Extension.value [ fhir:value "http://hl7.org/fhir/ValueSet/all-languages" ]
         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "Language" ]
         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
           fhir:Extension.value [ fhir:value "true" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.description [ fhir:value "A human language." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/languages" ]
       ]
     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "ImagingStudy.text" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.text" ];
       fhir:ElementDefinition.short [ fhir:value "Text summary of the resource, for human interpretation" ];
       fhir:ElementDefinition.definition [ fhir:value "A human-readable narrative that contains a summary of the resource and can 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." ];
       fhir:ElementDefinition.comment [ fhir: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 information is added later." ];
       fhir:ElementDefinition.alias [
         fhir:value "narrative";
         fhir:index 0
       ], [
         fhir:value "html";
         fhir:index 1
       ], [
         fhir:value "xhtml";
         fhir:index 2
       ], [
         fhir:value "display";
         fhir:index 3
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DomainResource.text" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Narrative" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "Act.text?" ]
       ]
     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "ImagingStudy.contained" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.contained" ];
       fhir:ElementDefinition.short [ fhir:value "Contained, inline Resources" ];
       fhir:ElementDefinition.definition [ fhir: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." ];
       fhir:ElementDefinition.comment [ fhir: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. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." ];
       fhir:ElementDefinition.alias [
         fhir:value "inline resources";
         fhir:index 0
       ], [
         fhir:value "anonymous resources";
         fhir:index 1
       ], [
         fhir:value "contained resources";
         fhir:index 2
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DomainResource.contained" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Resource" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "ImagingStudy.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comment [ fhir: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." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0
       ], [
         fhir:value "user content";
         fhir:index 1
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DomainResource.extension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "ext-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "ImagingStudy.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir: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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ];
       fhir:ElementDefinition.comment [ fhir: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." ];
       fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0
       ], [
         fhir:value "user content";
         fhir:index 1
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DomainResource.modifierExtension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "ext-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true" ];
       fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "ImagingStudy.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.identifier" ];
       fhir:ElementDefinition.short [ fhir:value "Identifiers for the whole study" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifiers for the ImagingStudy such as DICOM Study Instance UID, and Accession Number." ];
       fhir:ElementDefinition.comment [ fhir:value "See discussion under [Imaging Study Implementation Notes](imagingstudy.html#notes) for encoding of DICOM Study Instance UID. Accession Number should use ACSN Identifier type." ];
       fhir:ElementDefinition.requirements [ fhir:value "If one or more series elements are present in the ImagingStudy, then there shall be one DICOM Study UID identifier (see [DICOM PS 3.3 C.7.2](http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.2.html)." ];
       fhir:ElementDefinition.alias [
         fhir:value "StudyInstanceUID";
         fhir:index 0
       ], [
         fhir:value "AccessionNumber";
         fhir:index 1
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.identifier" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Identifier" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.identifier" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.identifier" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".id and .inboundRelationship[typeCode=COMP].source[classCode=ACSN, moodCode=EVN].id" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "StudyInstanceUID (0020,000D) | Accession Number and Issuer (0080,0050)+(0080,0051) | Study ID (0020,0010)" ]
       ]
     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "ImagingStudy.status" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.status" ];
       fhir:ElementDefinition.short [ fhir:value "registered | available | cancelled | entered-in-error | unknown" ];
       fhir:ElementDefinition.definition [ fhir:value "The current state of the ImagingStudy." ];
       fhir:ElementDefinition.comment [ fhir:value "Unknown does not represent \"other\" - one of the defined statuses must apply.  Unknown is used when the authoring system is not sure what the current status is." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.status" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true" ];
       fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "ImagingStudyStatus" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.description [ fhir:value "The status of the ImagingStudy." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/imagingstudy-status|4.0.1" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.status" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.status" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.map [ fhir:value "Varies by domain" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".status" ]
       ]
     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "ImagingStudy.modality" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.modality" ];
       fhir:ElementDefinition.short [ fhir:value "All series modality if actual acquisition modalities" ];
       fhir:ElementDefinition.definition [ fhir:value "A list of all the series.modality 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)." ];
       fhir:ElementDefinition.alias [
         fhir:value "ModalitiesInStudy";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.modality" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Coding" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "ImagingModality" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.description [ fhir:value "Type of acquired data in the instance." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_29.html" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.class" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".code" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,0061)" ]
       ]
     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "ImagingStudy.subject" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ];
         fhir:Extension.value [ fhir:value "dicom=http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.2.2.html" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.subject" ];
       fhir:ElementDefinition.short [ fhir:value "Who or what is the subject of the study" ];
       fhir:ElementDefinition.definition [ fhir:value "The subject, typically a patient, of the imaging study." ];
       fhir:ElementDefinition.comment [ fhir:value "QA phantoms can be recorded with a Device; multiple subjects (such as mice) can be recorded with a Group." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.subject" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Patient";
           fhir:index 0
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Device";
           fhir:index 1
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Group";
           fhir:index 2
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.subject" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.subject[x]" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=SBJ].role" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0010/*)" ]
       ], [
         fhir:index 4;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.subject" ]
       ]
     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "ImagingStudy.encounter" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.encounter" ];
       fhir:ElementDefinition.short [ fhir:value "Encounter with which this imaging study is associated" ];
       fhir:ElementDefinition.definition [ fhir:value "The healthcare event (e.g. a patient and healthcare provider interaction) during which this ImagingStudy is made." ];
       fhir:ElementDefinition.comment [ fhir:value "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission test)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.encounter" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.encounter" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.context" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" ]
       ]
     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "ImagingStudy.started" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ];
         fhir:Extension.value [ fhir:value "dicom=http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.2.html#sect_C.7.2.1" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.started" ];
       fhir:ElementDefinition.short [ fhir:value "When the study was started" ];
       fhir:ElementDefinition.definition [ fhir:value "Date and time the study started." ];
       fhir:ElementDefinition.alias [
         fhir:value "StudyDate";
         fhir:index 0
       ], [
         fhir:value "StudyTime";
         fhir:index 1
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.started" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "dateTime" ]
       ];
       fhir:ElementDefinition.example [
         fhir:index 0;
         fhir:ElementDefinition.label [ fhir:value "General" ];
         fhir:ElementDefinition.value [ fhir:value "2011-01-01T11:01:20+03:00" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.occurrence[x]" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.init" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".effectiveTime" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,0020)+(0008,0030)" ]
       ]
     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "ImagingStudy.basedOn" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.basedOn" ];
       fhir:ElementDefinition.short [ fhir:value "Request fulfilled" ];
       fhir:ElementDefinition.definition [ fhir:value "A list of the diagnostic requests that resulted in this imaging study being performed." ];
       fhir:ElementDefinition.requirements [ fhir:value "To support grouped procedures (one imaging study supporting multiple ordered procedures, e.g. chest/abdomen/pelvis CT)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.basedOn" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/CarePlan";
           fhir:index 0
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest";
           fhir:index 1
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Appointment";
           fhir:index 2
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/AppointmentResponse";
           fhir:index 3
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Task";
           fhir:index 4
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.basedOn" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.cause" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=FLFS].target[classCode=DGIMG, moodCode=RQO]" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0032,1064)" ]
       ]
     ], [
       fhir:index 16;
       fhir:Element.id [ fhir:value "ImagingStudy.referrer" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.referrer" ];
       fhir:ElementDefinition.short [ fhir:value "Referring physician" ];
       fhir:ElementDefinition.definition [ fhir:value "The requesting/referring physician." ];
       fhir:ElementDefinition.alias [
         fhir:value "ReferringPhysiciansName";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.referrer" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner";
           fhir:index 0
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole";
           fhir:index 1
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.cause" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=FLFS].target[classCode=DGIMG, moodCode=RQO].participation[typeCode=AUT].role" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,0090)+(0008,0096)" ]
       ]
     ], [
       fhir:index 17;
       fhir:Element.id [ fhir:value "ImagingStudy.interpreter" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.interpreter" ];
       fhir:ElementDefinition.short [ fhir:value "Who interpreted images" ];
       fhir:ElementDefinition.definition [ fhir:value "Who read the study and interpreted the images or other content." ];
       fhir:ElementDefinition.alias [
         fhir:value "Name of Physician(s) Reading Study";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.interpreter" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner";
           fhir:index 0
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole";
           fhir:index 1
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.witness" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=PRF].role" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,1060)" ]
       ]
     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "ImagingStudy.endpoint" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.endpoint" ];
       fhir:ElementDefinition.short [ fhir:value "Study access endpoint" ];
       fhir:ElementDefinition.definition [ fhir:value "The network service providing access (e.g., query, view, or retrieval) for the study. See implementation notes for information about using DICOM endpoints. A study-level endpoint applies to each series in the study, unless overridden by a series-level endpoint with the same Endpoint.connectionType." ];
       fhir:ElementDefinition.comment [ fhir:value "Typical endpoint types include DICOM WADO-RS, which is used to retrieve DICOM instances in native or rendered (e.g., JPG, PNG), formats using a RESTful API; DICOM WADO-URI, which can similarly retrieve native or rendered instances, except using an HTTP query-based approach; DICOM QIDO-RS, which allows RESTful query for DICOM information without retrieving the actual instances; or IHE Invoke Image Display (IID), which provides standard invocation of an imaging web viewer." ];
       fhir:ElementDefinition.requirements [ fhir: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." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.endpoint" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Endpoint";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "Not supported" ]
       ]
     ], [
       fhir:index 19;
       fhir:Element.id [ fhir:value "ImagingStudy.numberOfSeries" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.numberOfSeries" ];
       fhir:ElementDefinition.short [ fhir:value "Number of Study Related Series" ];
       fhir:ElementDefinition.definition [ fhir:value "Number of Series in the Study. This value given may be larger than the number of series elements this Resource contains due to resource availability, security, or other factors. This element should be present if any series elements are present." ];
       fhir:ElementDefinition.alias [
         fhir:value "NumberOfStudyRelatedSeries";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.numberOfSeries" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "unsignedInt" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target[classCode=OBSSER, moodCode=EVN].repeatNumber" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0020,1206)" ]
       ]
     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "ImagingStudy.numberOfInstances" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.numberOfInstances" ];
       fhir:ElementDefinition.short [ fhir:value "Number of Study Related Instances" ];
       fhir:ElementDefinition.definition [ fhir:value "Number of SOP Instances in Study. This value given may be larger than the number of instance elements this resource contains due to resource availability, security, or other factors. This element should be present if any instance elements are present." ];
       fhir:ElementDefinition.alias [
         fhir:value "NumberOfStudyRelatedInstances";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.numberOfInstances" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "unsignedInt" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target[classCode=DGIMG, moodCode=EVN].repeatNumber" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0020,1208)" ]
       ]
     ], [
       fhir:index 21;
       fhir:Element.id [ fhir:value "ImagingStudy.procedureReference" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.procedureReference" ];
       fhir:ElementDefinition.short [ fhir:value "The performed Procedure reference" ];
       fhir:ElementDefinition.definition [ fhir:value "The procedure which this ImagingStudy was part of." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.procedureReference" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Procedure";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.partOf" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=PROC, moodCode=EVN]" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,1032)" ]
       ]
     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "ImagingStudy.procedureCode" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.procedureCode" ];
       fhir:ElementDefinition.short [ fhir:value "The performed procedure code" ];
       fhir:ElementDefinition.definition [ fhir:value "The code for the performed procedure type." ];
       fhir:ElementDefinition.alias [
         fhir:value "ProcedureCodeSequence";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.procedureCode" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "ImagingProcedureCode" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.description [ fhir:value "The performed procedure type." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://www.rsna.org/RadLex_Playbook.aspx" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.code" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=PROC, moodCode=EVN]" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,1032)" ]
       ]
     ], [
       fhir:index 23;
       fhir:Element.id [ fhir:value "ImagingStudy.location" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.location" ];
       fhir:ElementDefinition.short [ fhir:value "Where ImagingStudy occurred" ];
       fhir:ElementDefinition.definition [ fhir:value "The principal physical location where the ImagingStudy was performed." ];
       fhir:ElementDefinition.requirements [ fhir:value "Ties the event to where the records are likely kept and provides context around the event occurrence (e.g. if it occurred inside or outside a dedicated healthcare setting)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.location" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Location";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.location" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.where[x]" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.map [ fhir:value "EVN.7" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=LOC].role" ]
       ], [
         fhir:index 4;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,1040) | (0040,0243)" ]
       ]
     ], [
       fhir:index 24;
       fhir:Element.id [ fhir:value "ImagingStudy.reasonCode" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.reasonCode" ];
       fhir:ElementDefinition.short [ fhir:value "Why the study was requested" ];
       fhir:ElementDefinition.definition [ fhir:value "Description of clinical condition indicating why the ImagingStudy was requested." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.reasonCode" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "ImagingReason" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "example" ];
         fhir:ElementDefinition.description [ fhir:value "The reason for the study." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/procedure-reason" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.reasonCode" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.why[x]" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".reasonCode" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0040,1002)" ]
       ]
     ], [
       fhir:index 25;
       fhir:Element.id [ fhir:value "ImagingStudy.reasonReference" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.reasonReference" ];
       fhir:ElementDefinition.short [ fhir:value "Why was study performed" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates another resource whose existence justifies this Study." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.reasonReference" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Condition";
           fhir:index 0
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Observation";
           fhir:index 1
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Media";
           fhir:index 2
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/DiagnosticReport";
           fhir:index 3
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/DocumentReference";
           fhir:index 4
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.reasonReference" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.why[x]" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.map [ fhir:value "EVN.4 or by domain" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=RSON].target" ]
       ]
     ], [
       fhir:index 26;
       fhir:Element.id [ fhir:value "ImagingStudy.note" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.note" ];
       fhir:ElementDefinition.short [ fhir:value "User-defined comments" ];
       fhir:ElementDefinition.definition [ fhir:value "Per the recommended DICOM mapping, this element is derived from the Study Description attribute (0008,1030). Observations or findings about the imaging study should be recorded in another resource, e.g. Observation, and not in this element." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.note" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Annotation" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.note" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "unknown" ]
       ]
     ], [
       fhir:index 27;
       fhir:Element.id [ fhir:value "ImagingStudy.description" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.description" ];
       fhir:ElementDefinition.short [ fhir:value "Institution-generated description" ];
       fhir:ElementDefinition.definition [ fhir:value "The Imaging Manager description of the study. Institution-generated description or classification of the Study (component) performed." ];
       fhir:ElementDefinition.alias [
         fhir:value "StudyDescription";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.description" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".text" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,1030)" ]
       ]
     ], [
       fhir:index 28;
       fhir:Element.id [ fhir:value "ImagingStudy.series" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series" ];
       fhir:ElementDefinition.short [ fhir:value "Each study has one or more series of instances" ];
       fhir:ElementDefinition.definition [ fhir:value "Each study has one or more series of images or other content." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "BackboneElement" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=OBSSER, moodCode=EVN]" ]
       ]
     ], [
       fhir:index 29;
       fhir:Element.id [ fhir:value "ImagingStudy.series.id" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
       fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
           fhir:Extension.value [ fhir:value "string" ]
         ];
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 30;
       fhir:Element.id [ fhir:value "ImagingStudy.series.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comment [ fhir: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." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0
       ], [
         fhir:value "user content";
         fhir:index 1
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "ext-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 31;
       fhir:Element.id [ fhir:value "ImagingStudy.series.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
       fhir:ElementDefinition.definition [ fhir: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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ];
       fhir:ElementDefinition.comment [ fhir: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." ];
       fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0
       ], [
         fhir:value "user content";
         fhir:index 1
       ], [
         fhir:value "modifiers";
         fhir:index 2
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "ext-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true" ];
       fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index 32;
       fhir:Element.id [ fhir:value "ImagingStudy.series.uid" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.uid" ];
       fhir:ElementDefinition.short [ fhir:value "DICOM Series Instance UID for the series" ];
       fhir:ElementDefinition.definition [ fhir:value "The DICOM Series Instance UID for the series." ];
       fhir:ElementDefinition.comment [ fhir:value "See [DICOM PS3.3 C.7.3](http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.3.html)." ];
       fhir:ElementDefinition.requirements [ fhir:value "DICOM Series Instance UID." ];
       fhir:ElementDefinition.alias [
         fhir:value "SeriesInstanceUID";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.uid" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "id" ]
       ];
       fhir:ElementDefinition.example [
         fhir:index 0;
         fhir:ElementDefinition.label [ fhir:value "General" ];
         fhir:ElementDefinition.value [ fhir:value "2.16.124.113543.6003.2588828330.45298.17418.2723805630" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".id" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0020,000E)" ]
       ]
     ], [
       fhir:index 33;
       fhir:Element.id [ fhir:value "ImagingStudy.series.number" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.number" ];
       fhir:ElementDefinition.short [ fhir:value "Numeric identifier of this series" ];
       fhir:ElementDefinition.definition [ fhir:value "The numeric identifier of this series in the study." ];
       fhir:ElementDefinition.alias [
         fhir:value "SeriesNumber";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.number" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "unsignedInt" ]
       ];
       fhir:ElementDefinition.example [
         fhir:index 0;
         fhir:ElementDefinition.label [ fhir:value "General" ];
         fhir:ElementDefinition.value [ fhir:value "3" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".inboundRelationship[type=COMP, source[classCode=COMPOSITION, moodCode=EVN]].sequenceNumber" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0020,0011)" ]
       ]
     ], [
       fhir:index 34;
       fhir:Element.id [ fhir:value "ImagingStudy.series.modality" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.modality" ];
       fhir:ElementDefinition.short [ fhir:value "The modality of the instances in the series" ];
       fhir:ElementDefinition.definition [ fhir:value "The modality of this series sequence." ];
       fhir:ElementDefinition.alias [
         fhir:value "Modality";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.modality" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Coding" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "ImagingModality" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.description [ fhir:value "Type of acquired data in the instance." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_29.html" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".code" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,0060)" ]
       ]
     ], [
       fhir:index 35;
       fhir:Element.id [ fhir:value "ImagingStudy.series.description" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.description" ];
       fhir:ElementDefinition.short [ fhir:value "A short human readable summary of the series" ];
       fhir:ElementDefinition.definition [ fhir:value "A description of the series." ];
       fhir:ElementDefinition.alias [
         fhir:value "SeriesDescription";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.description" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.example [
         fhir:index 0;
         fhir:ElementDefinition.label [ fhir:value "General" ];
         fhir:ElementDefinition.value [ fhir:value "CT Surview 180" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".text" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,103E)" ]
       ]
     ], [
       fhir:index 36;
       fhir:Element.id [ fhir:value "ImagingStudy.series.numberOfInstances" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.numberOfInstances" ];
       fhir:ElementDefinition.short [ fhir:value "Number of Series Related Instances" ];
       fhir:ElementDefinition.definition [ fhir:value "Number of SOP Instances in the Study. The value given may be larger than the number of instance elements this resource contains due to resource availability, security, or other factors. This element should be present if any instance elements are present." ];
       fhir:ElementDefinition.alias [
         fhir:value "NumberOfSeriesRelatedInstances";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.numberOfInstances" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "unsignedInt" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target[classCode=DGIMG, moodCode=EVN].repeatNumber" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0020,1209)" ]
       ]
     ], [
       fhir:index 37;
       fhir:Element.id [ fhir:value "ImagingStudy.series.endpoint" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.endpoint" ];
       fhir:ElementDefinition.short [ fhir:value "Series access endpoint" ];
       fhir:ElementDefinition.definition [ fhir:value "The network service providing access (e.g., query, view, or retrieval) for this series. See implementation notes for information about using DICOM endpoints. A series-level endpoint, if present, has precedence over a study-level endpoint with the same Endpoint.connectionType." ];
       fhir:ElementDefinition.comment [ fhir:value "Typical endpoint types include DICOM WADO-RS, which is used to retrieve DICOM instances in native or rendered (e.g., JPG, PNG) formats using a RESTful API; DICOM WADO-URI, which can similarly retrieve native or rendered instances, except using an HTTP query-based approach; and DICOM QIDO-RS, which allows RESTful query for DICOM information without retrieving the actual instances." ];
       fhir:ElementDefinition.requirements [ fhir: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." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.endpoint" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Endpoint";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "Not supported" ]
       ]
     ], [
       fhir:index 38;
       fhir:Element.id [ fhir:value "ImagingStudy.series.bodySite" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.bodySite" ];
       fhir:ElementDefinition.short [ fhir:value "Body part examined" ];
       fhir:ElementDefinition.definition [ fhir:value "The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. The bodySite may indicate the laterality of body part imaged; if so, it shall be consistent with any content of ImagingStudy.series.laterality." ];
       fhir:ElementDefinition.alias [
         fhir:value "BodyPartExamined";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.bodySite" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Coding" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "BodySite" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "example" ];
         fhir:ElementDefinition.description [ fhir:value "Codes describing anatomical locations. May include laterality." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/body-site" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".targetSiteCode" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0018,0015)" ]
       ]
     ], [
       fhir:index 39;
       fhir:Element.id [ fhir:value "ImagingStudy.series.laterality" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.laterality" ];
       fhir:ElementDefinition.short [ fhir:value "Body part laterality" ];
       fhir:ElementDefinition.definition [ fhir:value "The laterality of the (possibly paired) anatomic structures examined. E.g., the left knee, both lungs, or unpaired abdomen. If present, shall be consistent with any laterality information indicated in ImagingStudy.series.bodySite." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.laterality" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Coding" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "Laterality" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "example" ];
         fhir:ElementDefinition.description [ fhir:value "Codes describing body site laterality (left, right, etc.)." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/bodysite-laterality" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".targetSiteCode" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0020,0060)" ]
       ]
     ], [
       fhir:index 40;
       fhir:Element.id [ fhir:value "ImagingStudy.series.specimen" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.specimen" ];
       fhir:ElementDefinition.short [ fhir:value "Specimen imaged" ];
       fhir:ElementDefinition.definition [ fhir:value "The specimen imaged, e.g., for whole slide imaging of a biopsy." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.specimen" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Specimen";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "Role[classCode=SPEC]" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0040,0551) + (0040,0562)" ]
       ]
     ], [
       fhir:index 41;
       fhir:Element.id [ fhir:value "ImagingStudy.series.started" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.started" ];
       fhir:ElementDefinition.short [ fhir:value "When the series started" ];
       fhir:ElementDefinition.definition [ fhir:value "The date and time the series was started." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.started" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "dateTime" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".effectiveTime" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,0021) + (0008,0031)" ]
       ]
     ], [
       fhir:index 42;
       fhir:Element.id [ fhir:value "ImagingStudy.series.performer" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.performer" ];
       fhir:ElementDefinition.short [ fhir:value "Who performed the series" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates who or what performed the series and how they were involved." ];
       fhir:ElementDefinition.comment [ fhir:value "If the person who performed the series is not known, their Organization may be recorded. A patient, or related person, may be the performer, e.g. for patient-captured images." ];
       fhir:ElementDefinition.requirements [ fhir:value "The performer is recorded at the series level, since each series in a study may be performed by a different performer, at different times, and using different devices. A series may be performed by multiple performers." ];
       fhir:ElementDefinition.alias [
         fhir:value "PerformingPhysicianName";
         fhir:index 0
       ], [
         fhir:value "OperatorName";
         fhir:index 1
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.performer" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "BackboneElement" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.performer" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=PRF].role" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008, 1050) | (0008, 1052) | (0008, 1070) | (0008, 1072)" ]
       ]
     ], [
       fhir:index 43;
       fhir:Element.id [ fhir:value "ImagingStudy.series.performer.id" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.performer.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
       fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
           fhir:Extension.value [ fhir:value "string" ]
         ];
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 44;
       fhir:Element.id [ fhir:value "ImagingStudy.series.performer.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.performer.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comment [ fhir: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." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0
       ], [
         fhir:value "user content";
         fhir:index 1
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "ext-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 45;
       fhir:Element.id [ fhir:value "ImagingStudy.series.performer.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.performer.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
       fhir:ElementDefinition.definition [ fhir: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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ];
       fhir:ElementDefinition.comment [ fhir: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." ];
       fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0
       ], [
         fhir:value "user content";
         fhir:index 1
       ], [
         fhir:value "modifiers";
         fhir:index 2
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "ext-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true" ];
       fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index 46;
       fhir:Element.id [ fhir:value "ImagingStudy.series.performer.function" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.performer.function" ];
       fhir:ElementDefinition.short [ fhir:value "Type of performance" ];
       fhir:ElementDefinition.definition [ fhir:value "Distinguishes the type of involvement of the performer in the series." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows disambiguation of the types of involvement of different performers." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.performer.function" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "EventPerformerFunction" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.description [ fhir:value "The type of involvement of the performer." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/series-performer-function" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=PRF].role" ]
       ]
     ], [
       fhir:index 47;
       fhir:Element.id [ fhir:value "ImagingStudy.series.performer.actor" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.performer.actor" ];
       fhir:ElementDefinition.short [ fhir:value "Who performed the series" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates who or what performed the series." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.performer.actor" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner";
           fhir:index 0
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole";
           fhir:index 1
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Organization";
           fhir:index 2
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/CareTeam";
           fhir:index 3
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Patient";
           fhir:index 4
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Device";
           fhir:index 5
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson";
           fhir:index 6
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.actor" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.map [ fhir:value "EVN.5 or by domain" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" ]
       ]
     ], [
       fhir:index 48;
       fhir:Element.id [ fhir:value "ImagingStudy.series.instance" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance" ];
       fhir:ElementDefinition.short [ fhir:value "A single SOP instance from the series" ];
       fhir:ElementDefinition.definition [ fhir:value "A single SOP instance within the series, e.g. an image, or presentation state." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "BackboneElement" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=DGIMG, moodCode=EVN]" ]
       ]
     ], [
       fhir:index 49;
       fhir:Element.id [ fhir:value "ImagingStudy.series.instance.id" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
       fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
           fhir:Extension.value [ fhir:value "string" ]
         ];
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 50;
       fhir:Element.id [ fhir:value "ImagingStudy.series.instance.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comment [ fhir: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." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0
       ], [
         fhir:value "user content";
         fhir:index 1
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "ext-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 51;
       fhir:Element.id [ fhir:value "ImagingStudy.series.instance.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
       fhir:ElementDefinition.definition [ fhir: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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ];
       fhir:ElementDefinition.comment [ fhir: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." ];
       fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0
       ], [
         fhir:value "user content";
         fhir:index 1
       ], [
         fhir:value "modifiers";
         fhir:index 2
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "ext-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true" ];
       fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index 52;
       fhir:Element.id [ fhir:value "ImagingStudy.series.instance.uid" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance.uid" ];
       fhir:ElementDefinition.short [ fhir:value "DICOM SOP Instance UID" ];
       fhir:ElementDefinition.definition [ fhir:value "The DICOM SOP Instance UID for this image or other DICOM content." ];
       fhir:ElementDefinition.comment [ fhir:value "See  [DICOM PS3.3 C.12.1](http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.12.html#sect_C.12.1)." ];
       fhir:ElementDefinition.requirements [ fhir:value "DICOM SOP Instance UID." ];
       fhir:ElementDefinition.alias [
         fhir:value "SOPInstanceUID";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance.uid" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "id" ]
       ];
       fhir:ElementDefinition.example [
         fhir:index 0;
         fhir:ElementDefinition.label [ fhir:value "General" ];
         fhir:ElementDefinition.value [ fhir:value "2.16.124.113543.6003.189642796.63084.16748.2599092903" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".id" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,0018)" ]
       ]
     ], [
       fhir:index 53;
       fhir:Element.id [ fhir:value "ImagingStudy.series.instance.sopClass" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance.sopClass" ];
       fhir:ElementDefinition.short [ fhir:value "DICOM class type" ];
       fhir:ElementDefinition.definition [ fhir:value "DICOM instance  type." ];
       fhir:ElementDefinition.alias [
         fhir:value "SOPClassUID";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance.sopClass" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Coding" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "sopClass" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.description [ fhir:value "The sopClass for the instance." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://dicom.nema.org/medical/dicom/current/output/chtml/part04/sect_B.5.html#table_B.5-1" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".inboundRelationship[typeCode=COMP]. source[classCode=OBS, moodCode=EVN, code=\"sop class\"].value" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,0016)" ]
       ]
     ], [
       fhir:index 54;
       fhir:Element.id [ fhir:value "ImagingStudy.series.instance.number" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance.number" ];
       fhir:ElementDefinition.short [ fhir:value "The number of this instance in the series" ];
       fhir:ElementDefinition.definition [ fhir:value "The number of instance in the series." ];
       fhir:ElementDefinition.alias [
         fhir:value "InstanceNumber";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance.number" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "unsignedInt" ]
       ];
       fhir:ElementDefinition.example [
         fhir:index 0;
         fhir:ElementDefinition.label [ fhir:value "General" ];
         fhir:ElementDefinition.value [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".inboundRelationship[typeCode=COMP, source[classCode=OBSSER, moodCode=EVN]].sequenceNumber" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0020,0013)" ]
       ]
     ], [
       fhir:index 55;
       fhir:Element.id [ fhir:value "ImagingStudy.series.instance.title" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance.title" ];
       fhir:ElementDefinition.short [ fhir:value "Description of instance" ];
       fhir:ElementDefinition.definition [ fhir:value "The description of the instance." ];
       fhir:ElementDefinition.comment [ fhir:value "Particularly for post-acquisition analytic objects, such as SR, presentation states, value mapping, etc." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance.title" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".title" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,0008) | (0007,0080) | (0040,A043) + (0008,0104) | (0042,0010)" ]
       ]
     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "ImagingStudy" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy" ];
       fhir:ElementDefinition.short [ fhir:value "A set of images produced in single study (one or more series of references images)" ];
       fhir:ElementDefinition.definition [ fhir: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." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "Act[classCode=COMPOSITION, moodCode=EVN]" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "Reference IHE radiology TF vol 2 table 4.14-1" ]
       ]
     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "ImagingStudy.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.identifier" ];
       fhir:ElementDefinition.short [ fhir:value "Identifiers for the whole study" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifiers for the ImagingStudy such as DICOM Study Instance UID, and Accession Number." ];
       fhir:ElementDefinition.comment [ fhir:value "See discussion under [Imaging Study Implementation Notes](imagingstudy.html#notes) for encoding of DICOM Study Instance UID. Accession Number should use ACSN Identifier type." ];
       fhir:ElementDefinition.requirements [ fhir:value "If one or more series elements are present in the ImagingStudy, then there shall be one DICOM Study UID identifier (see [DICOM PS 3.3 C.7.2](http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.2.html)." ];
       fhir:ElementDefinition.alias [
         fhir:value "StudyInstanceUID";
         fhir:index 0
       ], [
         fhir:value "AccessionNumber";
         fhir:index 1
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Identifier" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.identifier" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.identifier" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".id and .inboundRelationship[typeCode=COMP].source[classCode=ACSN, moodCode=EVN].id" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "StudyInstanceUID (0020,000D) | Accession Number and Issuer (0080,0050)+(0080,0051) | Study ID (0020,0010)" ]
       ]
     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "ImagingStudy.status" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.status" ];
       fhir:ElementDefinition.short [ fhir:value "registered | available | cancelled | entered-in-error | unknown" ];
       fhir:ElementDefinition.definition [ fhir:value "The current state of the ImagingStudy." ];
       fhir:ElementDefinition.comment [ fhir:value "Unknown does not represent \"other\" - one of the defined statuses must apply.  Unknown is used when the authoring system is not sure what the current status is." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true" ];
       fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "ImagingStudyStatus" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.description [ fhir:value "The status of the ImagingStudy." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/imagingstudy-status|4.0.1" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.status" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.status" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.map [ fhir:value "Varies by domain" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".status" ]
       ]
     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "ImagingStudy.modality" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.modality" ];
       fhir:ElementDefinition.short [ fhir:value "All series modality if actual acquisition modalities" ];
       fhir:ElementDefinition.definition [ fhir:value "A list of all the series.modality 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)." ];
       fhir:ElementDefinition.alias [
         fhir:value "ModalitiesInStudy";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Coding" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "ImagingModality" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.description [ fhir:value "Type of acquired data in the instance." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_29.html" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.class" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".code" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,0061)" ]
       ]
     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "ImagingStudy.subject" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ];
         fhir:Extension.value [ fhir:value "dicom=http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.2.2.html" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.subject" ];
       fhir:ElementDefinition.short [ fhir:value "Who or what is the subject of the study" ];
       fhir:ElementDefinition.definition [ fhir:value "The subject, typically a patient, of the imaging study." ];
       fhir:ElementDefinition.comment [ fhir:value "QA phantoms can be recorded with a Device; multiple subjects (such as mice) can be recorded with a Group." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Patient";
           fhir:index 0
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Device";
           fhir:index 1
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Group";
           fhir:index 2
         ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.subject" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.subject[x]" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=SBJ].role" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0010/*)" ]
       ], [
         fhir:index 4;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.subject" ]
       ]
     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "ImagingStudy.encounter" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.encounter" ];
       fhir:ElementDefinition.short [ fhir:value "Encounter with which this imaging study is associated" ];
       fhir:ElementDefinition.definition [ fhir:value "The healthcare event (e.g. a patient and healthcare provider interaction) during which this ImagingStudy is made." ];
       fhir:ElementDefinition.comment [ fhir:value "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission test)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.encounter" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.context" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" ]
       ]
     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "ImagingStudy.started" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ];
         fhir:Extension.value [ fhir:value "dicom=http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.2.html#sect_C.7.2.1" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.started" ];
       fhir:ElementDefinition.short [ fhir:value "When the study was started" ];
       fhir:ElementDefinition.definition [ fhir:value "Date and time the study started." ];
       fhir:ElementDefinition.alias [
         fhir:value "StudyDate";
         fhir:index 0
       ], [
         fhir:value "StudyTime";
         fhir:index 1
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "dateTime" ]
       ];
       fhir:ElementDefinition.example [
         fhir:index 0;
         fhir:ElementDefinition.label [ fhir:value "General" ];
         fhir:ElementDefinition.value [ fhir:value "2011-01-01T11:01:20+03:00" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.occurrence[x]" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.init" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".effectiveTime" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,0020)+(0008,0030)" ]
       ]
     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "ImagingStudy.basedOn" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.basedOn" ];
       fhir:ElementDefinition.short [ fhir:value "Request fulfilled" ];
       fhir:ElementDefinition.definition [ fhir:value "A list of the diagnostic requests that resulted in this imaging study being performed." ];
       fhir:ElementDefinition.requirements [ fhir:value "To support grouped procedures (one imaging study supporting multiple ordered procedures, e.g. chest/abdomen/pelvis CT)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/CarePlan";
           fhir:index 0
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest";
           fhir:index 1
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Appointment";
           fhir:index 2
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/AppointmentResponse";
           fhir:index 3
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Task";
           fhir:index 4
         ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.basedOn" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.cause" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=FLFS].target[classCode=DGIMG, moodCode=RQO]" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0032,1064)" ]
       ]
     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "ImagingStudy.referrer" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.referrer" ];
       fhir:ElementDefinition.short [ fhir:value "Referring physician" ];
       fhir:ElementDefinition.definition [ fhir:value "The requesting/referring physician." ];
       fhir:ElementDefinition.alias [
         fhir:value "ReferringPhysiciansName";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner";
           fhir:index 0
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole";
           fhir:index 1
         ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.cause" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=FLFS].target[classCode=DGIMG, moodCode=RQO].participation[typeCode=AUT].role" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,0090)+(0008,0096)" ]
       ]
     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "ImagingStudy.interpreter" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.interpreter" ];
       fhir:ElementDefinition.short [ fhir:value "Who interpreted images" ];
       fhir:ElementDefinition.definition [ fhir:value "Who read the study and interpreted the images or other content." ];
       fhir:ElementDefinition.alias [
         fhir:value "Name of Physician(s) Reading Study";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner";
           fhir:index 0
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole";
           fhir:index 1
         ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.witness" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=PRF].role" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,1060)" ]
       ]
     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "ImagingStudy.endpoint" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.endpoint" ];
       fhir:ElementDefinition.short [ fhir:value "Study access endpoint" ];
       fhir:ElementDefinition.definition [ fhir:value "The network service providing access (e.g., query, view, or retrieval) for the study. See implementation notes for information about using DICOM endpoints. A study-level endpoint applies to each series in the study, unless overridden by a series-level endpoint with the same Endpoint.connectionType." ];
       fhir:ElementDefinition.comment [ fhir:value "Typical endpoint types include DICOM WADO-RS, which is used to retrieve DICOM instances in native or rendered (e.g., JPG, PNG), formats using a RESTful API; DICOM WADO-URI, which can similarly retrieve native or rendered instances, except using an HTTP query-based approach; DICOM QIDO-RS, which allows RESTful query for DICOM information without retrieving the actual instances; or IHE Invoke Image Display (IID), which provides standard invocation of an imaging web viewer." ];
       fhir:ElementDefinition.requirements [ fhir: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." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Endpoint";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "Not supported" ]
       ]
     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "ImagingStudy.numberOfSeries" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.numberOfSeries" ];
       fhir:ElementDefinition.short [ fhir:value "Number of Study Related Series" ];
       fhir:ElementDefinition.definition [ fhir:value "Number of Series in the Study. This value given may be larger than the number of series elements this Resource contains due to resource availability, security, or other factors. This element should be present if any series elements are present." ];
       fhir:ElementDefinition.alias [
         fhir:value "NumberOfStudyRelatedSeries";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "unsignedInt" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target[classCode=OBSSER, moodCode=EVN].repeatNumber" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0020,1206)" ]
       ]
     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "ImagingStudy.numberOfInstances" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.numberOfInstances" ];
       fhir:ElementDefinition.short [ fhir:value "Number of Study Related Instances" ];
       fhir:ElementDefinition.definition [ fhir:value "Number of SOP Instances in Study. This value given may be larger than the number of instance elements this resource contains due to resource availability, security, or other factors. This element should be present if any instance elements are present." ];
       fhir:ElementDefinition.alias [
         fhir:value "NumberOfStudyRelatedInstances";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "unsignedInt" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target[classCode=DGIMG, moodCode=EVN].repeatNumber" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0020,1208)" ]
       ]
     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "ImagingStudy.procedureReference" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.procedureReference" ];
       fhir:ElementDefinition.short [ fhir:value "The performed Procedure reference" ];
       fhir:ElementDefinition.definition [ fhir:value "The procedure which this ImagingStudy was part of." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Procedure";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.partOf" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=PROC, moodCode=EVN]" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,1032)" ]
       ]
     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "ImagingStudy.procedureCode" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.procedureCode" ];
       fhir:ElementDefinition.short [ fhir:value "The performed procedure code" ];
       fhir:ElementDefinition.definition [ fhir:value "The code for the performed procedure type." ];
       fhir:ElementDefinition.alias [
         fhir:value "ProcedureCodeSequence";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "ImagingProcedureCode" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.description [ fhir:value "The performed procedure type." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://www.rsna.org/RadLex_Playbook.aspx" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.code" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=PROC, moodCode=EVN]" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,1032)" ]
       ]
     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "ImagingStudy.location" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.location" ];
       fhir:ElementDefinition.short [ fhir:value "Where ImagingStudy occurred" ];
       fhir:ElementDefinition.definition [ fhir:value "The principal physical location where the ImagingStudy was performed." ];
       fhir:ElementDefinition.requirements [ fhir:value "Ties the event to where the records are likely kept and provides context around the event occurrence (e.g. if it occurred inside or outside a dedicated healthcare setting)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Location";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.location" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.where[x]" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.map [ fhir:value "EVN.7" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=LOC].role" ]
       ], [
         fhir:index 4;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,1040) | (0040,0243)" ]
       ]
     ], [
       fhir:index 16;
       fhir:Element.id [ fhir:value "ImagingStudy.reasonCode" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.reasonCode" ];
       fhir:ElementDefinition.short [ fhir:value "Why the study was requested" ];
       fhir:ElementDefinition.definition [ fhir:value "Description of clinical condition indicating why the ImagingStudy was requested." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "ImagingReason" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "example" ];
         fhir:ElementDefinition.description [ fhir:value "The reason for the study." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/procedure-reason" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.reasonCode" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.why[x]" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".reasonCode" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0040,1002)" ]
       ]
     ], [
       fhir:index 17;
       fhir:Element.id [ fhir:value "ImagingStudy.reasonReference" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.reasonReference" ];
       fhir:ElementDefinition.short [ fhir:value "Why was study performed" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates another resource whose existence justifies this Study." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Condition";
           fhir:index 0
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Observation";
           fhir:index 1
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Media";
           fhir:index 2
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/DiagnosticReport";
           fhir:index 3
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/DocumentReference";
           fhir:index 4
         ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.reasonReference" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.why[x]" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.map [ fhir:value "EVN.4 or by domain" ]
       ], [
         fhir:index 3;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=RSON].target" ]
       ]
     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "ImagingStudy.note" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.note" ];
       fhir:ElementDefinition.short [ fhir:value "User-defined comments" ];
       fhir:ElementDefinition.definition [ fhir:value "Per the recommended DICOM mapping, this element is derived from the Study Description attribute (0008,1030). Observations or findings about the imaging study should be recorded in another resource, e.g. Observation, and not in this element." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Annotation" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.note" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "unknown" ]
       ]
     ], [
       fhir:index 19;
       fhir:Element.id [ fhir:value "ImagingStudy.description" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.description" ];
       fhir:ElementDefinition.short [ fhir:value "Institution-generated description" ];
       fhir:ElementDefinition.definition [ fhir:value "The Imaging Manager description of the study. Institution-generated description or classification of the Study (component) performed." ];
       fhir:ElementDefinition.alias [
         fhir:value "StudyDescription";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".text" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,1030)" ]
       ]
     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "ImagingStudy.series" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series" ];
       fhir:ElementDefinition.short [ fhir:value "Each study has one or more series of instances" ];
       fhir:ElementDefinition.definition [ fhir:value "Each study has one or more series of images or other content." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "BackboneElement" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=OBSSER, moodCode=EVN]" ]
       ]
     ], [
       fhir:index 21;
       fhir:Element.id [ fhir:value "ImagingStudy.series.uid" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.uid" ];
       fhir:ElementDefinition.short [ fhir:value "DICOM Series Instance UID for the series" ];
       fhir:ElementDefinition.definition [ fhir:value "The DICOM Series Instance UID for the series." ];
       fhir:ElementDefinition.comment [ fhir:value "See [DICOM PS3.3 C.7.3](http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.3.html)." ];
       fhir:ElementDefinition.requirements [ fhir:value "DICOM Series Instance UID." ];
       fhir:ElementDefinition.alias [
         fhir:value "SeriesInstanceUID";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "id" ]
       ];
       fhir:ElementDefinition.example [
         fhir:index 0;
         fhir:ElementDefinition.label [ fhir:value "General" ];
         fhir:ElementDefinition.value [ fhir:value "2.16.124.113543.6003.2588828330.45298.17418.2723805630" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".id" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0020,000E)" ]
       ]
     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "ImagingStudy.series.number" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.number" ];
       fhir:ElementDefinition.short [ fhir:value "Numeric identifier of this series" ];
       fhir:ElementDefinition.definition [ fhir:value "The numeric identifier of this series in the study." ];
       fhir:ElementDefinition.alias [
         fhir:value "SeriesNumber";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "unsignedInt" ]
       ];
       fhir:ElementDefinition.example [
         fhir:index 0;
         fhir:ElementDefinition.label [ fhir:value "General" ];
         fhir:ElementDefinition.value [ fhir:value "3" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".inboundRelationship[type=COMP, source[classCode=COMPOSITION, moodCode=EVN]].sequenceNumber" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0020,0011)" ]
       ]
     ], [
       fhir:index 23;
       fhir:Element.id [ fhir:value "ImagingStudy.series.modality" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.modality" ];
       fhir:ElementDefinition.short [ fhir:value "The modality of the instances in the series" ];
       fhir:ElementDefinition.definition [ fhir:value "The modality of this series sequence." ];
       fhir:ElementDefinition.alias [
         fhir:value "Modality";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Coding" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "ImagingModality" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.description [ fhir:value "Type of acquired data in the instance." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_29.html" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".code" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,0060)" ]
       ]
     ], [
       fhir:index 24;
       fhir:Element.id [ fhir:value "ImagingStudy.series.description" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.description" ];
       fhir:ElementDefinition.short [ fhir:value "A short human readable summary of the series" ];
       fhir:ElementDefinition.definition [ fhir:value "A description of the series." ];
       fhir:ElementDefinition.alias [
         fhir:value "SeriesDescription";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.example [
         fhir:index 0;
         fhir:ElementDefinition.label [ fhir:value "General" ];
         fhir:ElementDefinition.value [ fhir:value "CT Surview 180" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".text" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,103E)" ]
       ]
     ], [
       fhir:index 25;
       fhir:Element.id [ fhir:value "ImagingStudy.series.numberOfInstances" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.numberOfInstances" ];
       fhir:ElementDefinition.short [ fhir:value "Number of Series Related Instances" ];
       fhir:ElementDefinition.definition [ fhir:value "Number of SOP Instances in the Study. The value given may be larger than the number of instance elements this resource contains due to resource availability, security, or other factors. This element should be present if any instance elements are present." ];
       fhir:ElementDefinition.alias [
         fhir:value "NumberOfSeriesRelatedInstances";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "unsignedInt" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target[classCode=DGIMG, moodCode=EVN].repeatNumber" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0020,1209)" ]
       ]
     ], [
       fhir:index 26;
       fhir:Element.id [ fhir:value "ImagingStudy.series.endpoint" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.endpoint" ];
       fhir:ElementDefinition.short [ fhir:value "Series access endpoint" ];
       fhir:ElementDefinition.definition [ fhir:value "The network service providing access (e.g., query, view, or retrieval) for this series. See implementation notes for information about using DICOM endpoints. A series-level endpoint, if present, has precedence over a study-level endpoint with the same Endpoint.connectionType." ];
       fhir:ElementDefinition.comment [ fhir:value "Typical endpoint types include DICOM WADO-RS, which is used to retrieve DICOM instances in native or rendered (e.g., JPG, PNG) formats using a RESTful API; DICOM WADO-URI, which can similarly retrieve native or rendered instances, except using an HTTP query-based approach; and DICOM QIDO-RS, which allows RESTful query for DICOM information without retrieving the actual instances." ];
       fhir:ElementDefinition.requirements [ fhir: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." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Endpoint";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "Not supported" ]
       ]
     ], [
       fhir:index 27;
       fhir:Element.id [ fhir:value "ImagingStudy.series.bodySite" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.bodySite" ];
       fhir:ElementDefinition.short [ fhir:value "Body part examined" ];
       fhir:ElementDefinition.definition [ fhir:value "The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. The bodySite may indicate the laterality of body part imaged; if so, it shall be consistent with any content of ImagingStudy.series.laterality." ];
       fhir:ElementDefinition.alias [
         fhir:value "BodyPartExamined";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Coding" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "BodySite" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "example" ];
         fhir:ElementDefinition.description [ fhir:value "Codes describing anatomical locations. May include laterality." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/body-site" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".targetSiteCode" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0018,0015)" ]
       ]
     ], [
       fhir:index 28;
       fhir:Element.id [ fhir:value "ImagingStudy.series.laterality" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.laterality" ];
       fhir:ElementDefinition.short [ fhir:value "Body part laterality" ];
       fhir:ElementDefinition.definition [ fhir:value "The laterality of the (possibly paired) anatomic structures examined. E.g., the left knee, both lungs, or unpaired abdomen. If present, shall be consistent with any laterality information indicated in ImagingStudy.series.bodySite." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Coding" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "Laterality" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "example" ];
         fhir:ElementDefinition.description [ fhir:value "Codes describing body site laterality (left, right, etc.)." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/bodysite-laterality" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".targetSiteCode" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0020,0060)" ]
       ]
     ], [
       fhir:index 29;
       fhir:Element.id [ fhir:value "ImagingStudy.series.specimen" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.specimen" ];
       fhir:ElementDefinition.short [ fhir:value "Specimen imaged" ];
       fhir:ElementDefinition.definition [ fhir:value "The specimen imaged, e.g., for whole slide imaging of a biopsy." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Specimen";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "Role[classCode=SPEC]" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0040,0551) + (0040,0562)" ]
       ]
     ], [
       fhir:index 30;
       fhir:Element.id [ fhir:value "ImagingStudy.series.started" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.started" ];
       fhir:ElementDefinition.short [ fhir:value "When the series started" ];
       fhir:ElementDefinition.definition [ fhir:value "The date and time the series was started." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "dateTime" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".effectiveTime" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,0021) + (0008,0031)" ]
       ]
     ], [
       fhir:index 31;
       fhir:Element.id [ fhir:value "ImagingStudy.series.performer" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.performer" ];
       fhir:ElementDefinition.short [ fhir:value "Who performed the series" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates who or what performed the series and how they were involved." ];
       fhir:ElementDefinition.comment [ fhir:value "If the person who performed the series is not known, their Organization may be recorded. A patient, or related person, may be the performer, e.g. for patient-captured images." ];
       fhir:ElementDefinition.requirements [ fhir:value "The performer is recorded at the series level, since each series in a study may be performed by a different performer, at different times, and using different devices. A series may be performed by multiple performers." ];
       fhir:ElementDefinition.alias [
         fhir:value "PerformingPhysicianName";
         fhir:index 0
       ], [
         fhir:value "OperatorName";
         fhir:index 1
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "BackboneElement" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.map [ fhir:value "Event.performer" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=PRF].role" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008, 1050) | (0008, 1052) | (0008, 1070) | (0008, 1072)" ]
       ]
     ], [
       fhir:index 32;
       fhir:Element.id [ fhir:value "ImagingStudy.series.performer.function" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.performer.function" ];
       fhir:ElementDefinition.short [ fhir:value "Type of performance" ];
       fhir:ElementDefinition.definition [ fhir:value "Distinguishes the type of involvement of the performer in the series." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows disambiguation of the types of involvement of different performers." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "EventPerformerFunction" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.description [ fhir:value "The type of involvement of the performer." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/series-performer-function" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=PRF].role" ]
       ]
     ], [
       fhir:index 33;
       fhir:Element.id [ fhir:value "ImagingStudy.series.performer.actor" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.performer.actor" ];
       fhir:ElementDefinition.short [ fhir:value "Who performed the series" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates who or what performed the series." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner";
           fhir:index 0
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole";
           fhir:index 1
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Organization";
           fhir:index 2
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/CareTeam";
           fhir:index 3
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Patient";
           fhir:index 4
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Device";
           fhir:index 5
         ], [
           fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson";
           fhir:index 6
         ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.map [ fhir:value "FiveWs.actor" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.map [ fhir:value "EVN.5 or by domain" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" ]
       ]
     ], [
       fhir:index 34;
       fhir:Element.id [ fhir:value "ImagingStudy.series.instance" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance" ];
       fhir:ElementDefinition.short [ fhir:value "A single SOP instance from the series" ];
       fhir:ElementDefinition.definition [ fhir:value "A single SOP instance within the series, e.g. an image, or presentation state." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "BackboneElement" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=DGIMG, moodCode=EVN]" ]
       ]
     ], [
       fhir:index 35;
       fhir:Element.id [ fhir:value "ImagingStudy.series.instance.uid" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance.uid" ];
       fhir:ElementDefinition.short [ fhir:value "DICOM SOP Instance UID" ];
       fhir:ElementDefinition.definition [ fhir:value "The DICOM SOP Instance UID for this image or other DICOM content." ];
       fhir:ElementDefinition.comment [ fhir:value "See  [DICOM PS3.3 C.12.1](http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.12.html#sect_C.12.1)." ];
       fhir:ElementDefinition.requirements [ fhir:value "DICOM SOP Instance UID." ];
       fhir:ElementDefinition.alias [
         fhir:value "SOPInstanceUID";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "id" ]
       ];
       fhir:ElementDefinition.example [
         fhir:index 0;
         fhir:ElementDefinition.label [ fhir:value "General" ];
         fhir:ElementDefinition.value [ fhir:value "2.16.124.113543.6003.189642796.63084.16748.2599092903" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".id" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,0018)" ]
       ]
     ], [
       fhir:index 36;
       fhir:Element.id [ fhir:value "ImagingStudy.series.instance.sopClass" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance.sopClass" ];
       fhir:ElementDefinition.short [ fhir:value "DICOM class type" ];
       fhir:ElementDefinition.definition [ fhir:value "DICOM instance  type." ];
       fhir:ElementDefinition.alias [
         fhir:value "SOPClassUID";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Coding" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "sopClass" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.description [ fhir:value "The sopClass for the instance." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://dicom.nema.org/medical/dicom/current/output/chtml/part04/sect_B.5.html#table_B.5-1" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".inboundRelationship[typeCode=COMP]. source[classCode=OBS, moodCode=EVN, code=\"sop class\"].value" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,0016)" ]
       ]
     ], [
       fhir:index 37;
       fhir:Element.id [ fhir:value "ImagingStudy.series.instance.number" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance.number" ];
       fhir:ElementDefinition.short [ fhir:value "The number of this instance in the series" ];
       fhir:ElementDefinition.definition [ fhir:value "The number of instance in the series." ];
       fhir:ElementDefinition.alias [
         fhir:value "InstanceNumber";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "unsignedInt" ]
       ];
       fhir:ElementDefinition.example [
         fhir:index 0;
         fhir:ElementDefinition.label [ fhir:value "General" ];
         fhir:ElementDefinition.value [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".inboundRelationship[typeCode=COMP, source[classCode=OBSSER, moodCode=EVN]].sequenceNumber" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0020,0013)" ]
       ]
     ], [
       fhir:index 38;
       fhir:Element.id [ fhir:value "ImagingStudy.series.instance.title" ];
       fhir:ElementDefinition.path [ fhir:value "ImagingStudy.series.instance.title" ];
       fhir:ElementDefinition.short [ fhir:value "Description of instance" ];
       fhir:ElementDefinition.definition [ fhir:value "The description of the instance." ];
       fhir:ElementDefinition.comment [ fhir:value "Particularly for post-acquisition analytic objects, such as SR, presentation states, value mapping, etc." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value ".title" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.identity [ fhir:value "dicom" ];
         fhir:ElementDefinition.map [ fhir:value "(0008,0008) | (0007,0080) | (0040,A043) + (0008,0104) | (0042,0010)" ]
       ]
     ]
  ] .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.