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/Condition5to4B | Version: 0.1.0 | |||
Standards status: Draft | Maturity Level: 1 | Computable Name: Condition5to4B |
ConditionTransformsR5toR4B
/// url = 'http://hl7.org/fhir/StructureMap/Condition5to4B' /// name = 'Condition5to4B' /// title = 'Condition Transforms: R5 to R4B' /// status = 'active' uses "http://hl7.org/fhir/5.0/Condition" alias ConditionR5 as source uses "http://hl7.org/fhir/4.0/Condition" alias ConditionR4B as target imports "http://hl7.org/fhir/StructureMap/*5to4B" group Condition(source src : ConditionR5, target tgt : ConditionR4B) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.clinicalStatus -> tgt.clinicalStatus; src.verificationStatus -> tgt.verificationStatus; src.category -> tgt.category; src.severity -> tgt.severity; src.code -> tgt.code; src.bodySite -> tgt.bodySite; src.subject -> tgt.subject; src.encounter -> tgt.encounter; src.onset : dateTime -> tgt.onset; src.onset : Age -> tgt.onset; src.onset : Period -> tgt.onset; src.onset : Range -> tgt.onset; src.onset : string -> tgt.onset; src.abatement : dateTime -> tgt.abatement; src.abatement : Age -> tgt.abatement; src.abatement : Period -> tgt.abatement; src.abatement : Range -> tgt.abatement; src.abatement : string -> tgt.abatement; src.recordedDate -> tgt.recordedDate; src.participant as s where code = 'enterer' -> tgt.recorder = s.actor "recorder"; src.participant as s where code = 'author' -> tgt.asserter = s.actor "asserter"; src.stage as s -> tgt.stage as t then ConditionStage(s, t); src.evidence as s -> tgt.evidence as t then { s.concept : CodeableConcept -> t.code; s.reference : Reference -> t.detail; }; src.note -> tgt.note; } group ConditionStage(source src, target tgt) extends BackboneElement { src.summary -> tgt.summary; src.assessment -> tgt.assessment; src.type -> tgt.type; }