This page is part of the FHIR Specification (v3.0.2: STU 3). 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 R3
Imaging Integration Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Patient |
R2 : R3 Converson maps for ImagingStudy.
Functional status for this map: 2 tests that all execute ok. 2 fail round-trip testing and 1 r3 resources are invalid (2 errors). (see documentation)
map "http://hl7.org/fhir/StructureMap/ImagingStudy2to3" = "R2 to R3 Conversions for ImagingStudy" uses "http://hl7.org/fhir/DSTU2/StructureDefinition/ImagingStudy" alias ImagingStudyR2 as source uses "http://hl7.org/fhir/StructureDefinition/ImagingStudy" alias ImagingStudy as target imports "http://hl7.org/fhir/StructureMap/*2to3" group for type+types ImagingStudy extends DomainResource input src : ImagingStudyR2 as source input tgt : ImagingStudy as target "ImagingStudy-started" : for src.started make tgt.started "ImagingStudy-patient" : for src.patient make tgt.patient "ImagingStudy-uid" : for src.uid make tgt.uid "ImagingStudy-accession" : for src.accession make tgt.accession "ImagingStudy-identifier" : for src.identifier make tgt.identifier // no order "ImagingStudy-modalityList" : for src.modalityList make tgt.modalityList "ImagingStudy-referrer" : for src.referrer make tgt.referrer "ImagingStudy-availability" : for src.availability make tgt.availability "ImagingStudy-url" : for src.url as v make tgt.extension as t, t.url = 'http://hl7.org/fhir/ImagingStudy-r2-url', t.value = v "ImagingStudy-numberOfSeries" : for src.numberOfSeries make tgt.numberOfSeries "ImagingStudy-numberOfInstances" : for src.numberOfInstances make tgt.numberOfInstances "ImagingStudy-procedure" : for src.procedure make tgt.procedureReference "ImagingStudy-interpreter" : for src.interpreter make tgt.interpreter "ImagingStudy-description" : for src.description make tgt.description "ImagingStudy-series" : for src.series as vs0 make tgt.series as vt0 then imgSeries(vs0, vt0) endgroup group imgSeries extends BackboneElement input src as source input tgt as target "ImagingStudy.series-uid" : for src.uid make tgt.uid "ImagingStudy.series-number" : for src.number make tgt.number "ImagingStudy.series-modality" : for src.modality make tgt.modality "ImagingStudy.series-description" : for src.description make tgt.description "ImagingStudy.series-numberOfInstances" : for src.numberOfInstances make tgt.numberOfInstances "ImagingStudy.series-availability" : for src.availability make tgt.availability "ImagingStudy.series-url" : for src.url as v make tgt.extension as t, t.url = 'http://hl7.org/fhir/ImagingStudy-r2-url', t.value = v "ImagingStudy.series-bodySite" : for src.bodySite make tgt.bodySite "ImagingStudy.series-laterality" : for src.laterality make tgt.laterality "ImagingStudy.series-started" : for src.started make tgt.started "ImagingStudy.series-instance" : for src.instance as vs0 make tgt.instance as vt0 then imgInstance(vs0, vt0) endgroup group imgInstance extends BackboneElement input src as source input tgt as target "ImagingStudy.series.instance-number" : for src.number make tgt.number "ImagingStudy.series.instance-uid" : for src.uid make tgt.uid "ImagingStudy.series.instance-sopClass" : for src.sopClass make tgt.sopClass "ImagingStudy.series.instance-title" : for src.title make tgt.title endgroup
map "http://hl7.org/fhir/StructureMap/ImagingStudy3to2" = "R3 to R2 Conversion for ImagingStudy" uses "http://hl7.org/fhir/StructureDefinition/ImagingStudy" alias ImagingStudy as source uses "http://hl7.org/fhir/DSTU2/StructureDefinition/ImagingStudy" alias ImagingStudyR2 as target imports "http://hl7.org/fhir/StructureMap/*3to2" group for type+types ImagingStudy extends DomainResource input src : ImagingStudy as source input tgt : ImagingStudyR2 as target "ImagingStudy-started" : for src.started make tgt.started "ImagingStudy-patient" : for src.patient make tgt.patient "ImagingStudy-uid" : for src.uid make tgt.uid "ImagingStudy-accession" : for src.accession make tgt.accession "ImagingStudy-identifier" : for src.identifier make tgt.identifier "ImagingStudy-modalityList" : for src.modalityList make tgt.modalityList "ImagingStudy-referrer" : for src.referrer make tgt.referrer "ImagingStudy-availability" : for src.availability make tgt.availability "ImagingStudy-url" : for src.extension as e where e.url = 'http://hl7.org/fhir/ImagingStudy-r2-url' make tgt.modified = (e.value) "ImagingStudy-numberOfSeries" : for src.numberOfSeries make tgt.numberOfSeries "ImagingStudy-numberOfInstances" : for src.numberOfInstances make tgt.numberOfInstances "ImagingStudy-procedure" : for src.procedureReference make tgt.procedure "ImagingStudy-interpreter" : for src.interpreter make tgt.interpreter "ImagingStudy-description" : for src.description make tgt.description "ImagingStudy-series" : for src.series as vs0 make tgt.series as vt0 then imgSeries(vs0, vt0) endgroup group imgSeries extends BackboneElement input src as source input tgt as target "ImagingStudy.series-uid" : for src.uid make tgt.uid "ImagingStudy.series-number" : for src.number make tgt.number "ImagingStudy.series-modality" : for src.modality make tgt.modality "ImagingStudy.series-description" : for src.description make tgt.description "ImagingStudy.series-numberOfInstances" : for src.numberOfInstances make tgt.numberOfInstances "ImagingStudy.series-availability" : for src.availability make tgt.availability "ImagingStudy.series-url" : for src.extension as e where e.url = 'http://hl7.org/fhir/ImagingStudy-r2-url' make tgt.modified = (e.value) "ImagingStudy.series-bodySite" : for src.bodySite make tgt.bodySite "ImagingStudy.series-laterality" : for src.laterality make tgt.laterality "ImagingStudy.series-started" : for src.started make tgt.started "ImagingStudy.series-instance" : for src.instance as vs0 make tgt.instance as vt0 then imgInstance(vs0, vt0) endgroup group imgInstance extends BackboneElement input src as source input tgt as target "ImagingStudy.series.instance-number" : for src.number make tgt.number "ImagingStudy.series.instance-uid" : for src.uid make tgt.uid "ImagingStudy.series.instance-sopClass" : for src.sopClass make tgt.sopClass "ImagingStudy.series.instance-title" : for src.title make tgt.title endgroup group imgSrc input src as source input tgt as target "imgSrc" : for src.url make tgt.url endgroup
imagingstudy-example |
|