FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.org/fhir/StructureMap/Provenance2to3 | Version: 0.1.0 | |||
Standards status: Draft | Maturity Level: 1 | Computable Name: Provenance2to3 |
ProvenanceTransformsR2toR3
/// url = 'http://hl7.org/fhir/StructureMap/Provenance2to3' /// name = 'Provenance2to3' /// title = 'Provenance Transforms: R2 to R3' /// status = 'active' uses "http://hl7.org/fhir/1.0/Provenance" alias ProvenanceR2 as source uses "http://hl7.org/fhir/3.0/Provenance" alias Provenance as target imports "http://hl7.org/fhir/StructureMap/*2to3" group Provenance(source src : ProvenanceR2, target tgt : Provenance) extends DomainResource <<type+>> { src.target -> tgt.target "Provenance-target"; src.period -> tgt.period "Provenance-period"; src.recorded -> tgt.recorded "Provenance-recorded"; src.reason -> tgt.reason "Provenance-activity"; src.activity -> tgt.activity "Provenance-activity"; src.location -> tgt.location "Provenance-location"; src.policy -> tgt.policy "Provenance-policy"; src.agent as vs0 -> tgt.agent as vt0 then prAgent(vs0, vt0) "Provenance-agent"; src.entity as vs0 -> tgt.entity as vt0 then prEntity(vs0, vt0) "Provenance-entity"; src.signature -> tgt.signature "Provenance-signature"; } group prAgent(source src, target tgt) extends BackboneElement { src.role -> tgt.role "agent-role"; src.actor -> tgt.who "agent-who"; src.userId as su -> tgt.who as tu then { su -> tu.identifier as tu then Identifier(su, tu) "agent-userId2"; } "agent-userId"; } group prEntity(source src, target tgt) extends BackboneElement { src.role -> tgt.role "entity-role"; src.agent as vs0 -> tgt.agent as vt0 then prAgent(vs0, vt0) "entity-agent"; }