This page is part of the FHIR Core Extensions Registry (v5.1.0-ballot: Releases Ballot 4) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/fhir/StructureMap/DeviceUsage4Bto5 | Version: 5.1.0-ballot1 | |||
Standards status: Trial-use | Maturity Level: 1 | Computable Name: DeviceUsage4Bto5 |
FMLConversionforDeviceUsageR4BtoR5
/// url = 'http://hl7.org/fhir/StructureMap/DeviceUsage4Bto5' /// name = 'DeviceUsage4Bto5' /// title = 'FML Conversion for DeviceUsage: R4B to R5' /// status = 'active' conceptmap "DeviceUsageStatus" { prefix s = "http://hl7.org/fhir/4.3/device-statement-status" prefix t = "http://hl7.org/fhir/deviceusage-status" s:active - t:active s:completed - t:completed s:"entered-in-error" - t:"entered-in-error" s:intended - t:intended s:stopped - t:stopped s:"on-hold" - t:"on-hold" } uses "http://hl7.org/fhir/4.3/StructureDefinition/DeviceUseStatement" alias DeviceUseStatementR4B as source uses "http://hl7.org/fhir/StructureDefinition/DeviceUsage" alias DeviceUsageR5 as target imports "http://hl7.org/fhir/StructureMap/*4Bto5" group DeviceUsage(source src : DeviceUseStatementR4B, target tgt : DeviceUsageR5) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.basedOn -> tgt.basedOn; src.status as v -> tgt.status = translate(v, '#DeviceUsageStatus', 'code'); src.subject -> tgt.patient; // src.category -> tgt.category; src.derivedFrom -> tgt.derivedFrom; src.timing : Timing -> tgt.timing; // src.context -> tgt.context; src.timing : Period -> tgt.timing; src.timing : dateTime -> tgt.timing; src.recordedOn -> tgt.dateAsserted; src.source -> tgt.informationSource; // src.usageStatus as v -> tgt.usageStatus = translate(v, '#DeviceUsageStatus', 'code'); src.device -> tgt.device; src.reasonCode -> tgt.reason; src.reasonReference -> tgt.reason; src.bodySite -> tgt.bodySite; src.note -> tgt.note; }