This page is part of the FHIR Core Extensions Registry (v5.1.0-snapshot1: Release 5.1) 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
Patient Care Work Group | Maturity Level: N/A | Standards Status: Informative | Security Category: N/A | Compartments: N/A |
Following are maps for converting between the equivalent R4B resource and this R5 resource.
/// url = 'http://hl7.org/fhir/StructureMap/Goal5to4' /// name = 'Goal5to4' /// title = 'FML Conversion for Goal: R5 to R4' /// status = 'active' conceptmap "GoalLifecycleStatus" { prefix s = "http://hl7.org/fhir/goal-status" prefix t = "http://hl7.org/fhir/4.0/goal-status" s:proposed - t:proposed s:planned - t:planned s:accepted - t:accepted s:active - t:active s:"on-hold" - t:"on-hold" s:completed - t:completed s:cancelled - t:cancelled s:"entered-in-error" - t:"entered-in-error" s:rejected - t:rejected } uses "http://hl7.org/fhir/StructureDefinition/Goal" alias GoalR5 as source uses "http://hl7.org/fhir/4.0/StructureDefinition/Goal" alias GoalR4 as target imports "http://hl7.org/fhir/StructureMap/*5to4" group Goal(source src : GoalR5, target tgt : GoalR4) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.lifecycleStatus as v -> tgt.lifecycleStatus = translate(v, '#GoalLifecycleStatus', 'code'); src.achievementStatus -> tgt.achievementStatus; src.category -> tgt.category; src.priority -> tgt.priority; // src.continuous -> tgt.continuous; src.description -> tgt.description; src.subject -> tgt.subject; src.start : date -> tgt.start; src.start : CodeableConcept -> tgt.start; src.target as s -> tgt.target as t then GoalTarget(s, t); src.statusDate -> tgt.statusDate; src.statusReason -> tgt.statusReason; src.addresses -> tgt.addresses; // src.source -> tgt.source; src.note -> tgt.note; src.outcome -> tgt.outcomeCode; src.outcome -> tgt.outcomeReference; } group GoalTarget(source src, target tgt) extends BackboneElement { src.measure -> tgt.measure; src.detail : Quantity -> tgt.detail; src.detail : Range -> tgt.detail; src.detail : CodeableConcept -> tgt.detail; src.detail : string -> tgt.detail; src.detail : boolean -> tgt.detail; src.detail : integer -> tgt.detail; src.detail : Ratio -> tgt.detail; src.due : date -> tgt.due; src.due : Duration -> tgt.due; }
/// url = 'http://hl7.org/fhir/StructureMap/Goal5to4B' /// name = 'Goal5to4B' /// title = 'FML Conversion for Goal: R5 to R4B' /// status = 'active' conceptmap "GoalLifecycleStatus" { prefix s = "http://hl7.org/fhir/goal-status" prefix t = "http://hl7.org/fhir/4.3/goal-status" s:proposed - t:proposed s:planned - t:planned s:accepted - t:accepted s:active - t:active s:"on-hold" - t:"on-hold" s:completed - t:completed s:cancelled - t:cancelled s:"entered-in-error" - t:"entered-in-error" s:rejected - t:rejected } uses "http://hl7.org/fhir/StructureDefinition/Goal" alias GoalR5 as source uses "http://hl7.org/fhir/4.3/StructureDefinition/Goal" alias GoalR4B as target imports "http://hl7.org/fhir/StructureMap/*5to4B" group Goal(source src : GoalR5, target tgt : GoalR4B) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.lifecycleStatus as v -> tgt.lifecycleStatus = translate(v, '#GoalLifecycleStatus', 'code'); src.achievementStatus -> tgt.achievementStatus; src.category -> tgt.category; src.priority -> tgt.priority; // src.continuous -> tgt.continuous; src.description -> tgt.description; src.subject -> tgt.subject; src.start : date -> tgt.start; src.start : CodeableConcept -> tgt.start; src.target as s -> tgt.target as t then GoalTarget(s, t); src.statusDate -> tgt.statusDate; src.statusReason -> tgt.statusReason; src.addresses -> tgt.addresses; // src.source -> tgt.source; src.note -> tgt.note; src.outcome -> tgt.outcomeCode; src.outcome -> tgt.outcomeReference; } group GoalTarget(source src, target tgt) extends BackboneElement { src.measure -> tgt.measure; src.detail : Quantity -> tgt.detail; src.detail : Range -> tgt.detail; src.detail : CodeableConcept -> tgt.detail; src.detail : string -> tgt.detail; src.detail : boolean -> tgt.detail; src.detail : integer -> tgt.detail; src.detail : Ratio -> tgt.detail; src.due : date -> tgt.due; src.due : Duration -> tgt.due; }
/// url = 'http://hl7.org/fhir/StructureMap/Goal4Bto5' /// name = 'Goal4Bto5' /// title = 'FML Conversion for Goal: R4B to R5' /// status = 'active' conceptmap "GoalLifecycleStatus" { prefix s = "http://hl7.org/fhir/4.3/goal-status" prefix t = "http://hl7.org/fhir/goal-status" s:proposed - t:proposed s:planned - t:planned s:accepted - t:accepted s:active - t:active s:"on-hold" - t:"on-hold" s:completed - t:completed s:cancelled - t:cancelled s:"entered-in-error" - t:"entered-in-error" s:rejected - t:rejected } uses "http://hl7.org/fhir/4.3/StructureDefinition/Goal" alias GoalR4B as source uses "http://hl7.org/fhir/StructureDefinition/Goal" alias GoalR5 as target imports "http://hl7.org/fhir/StructureMap/*4Bto5" group Goal(source src : GoalR4B, target tgt : GoalR5) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.lifecycleStatus as v -> tgt.lifecycleStatus = translate(v, '#GoalLifecycleStatus', 'code'); src.achievementStatus -> tgt.achievementStatus; src.category -> tgt.category; src.priority -> tgt.priority; // src.continuous -> tgt.continuous; src.description -> tgt.description; src.subject -> tgt.subject; src.start : date -> tgt.start; src.start : CodeableConcept -> tgt.start; src.target as s -> tgt.target as t then GoalTarget(s, t); src.statusDate -> tgt.statusDate; src.statusReason -> tgt.statusReason; src.addresses -> tgt.addresses; // src.source -> tgt.source; src.note -> tgt.note; src.outcomeCode -> tgt.outcome; src.outcomeReference -> tgt.outcome; } group GoalTarget(source src, target tgt) extends BackboneElement { src.measure -> tgt.measure; src.detail : Quantity -> tgt.detail; src.detail : Range -> tgt.detail; src.detail : CodeableConcept -> tgt.detail; src.detail : string -> tgt.detail; src.detail : boolean -> tgt.detail; src.detail : integer -> tgt.detail; src.detail : Ratio -> tgt.detail; src.due : date -> tgt.due; src.due : Duration -> tgt.due; }
/// url = 'http://hl7.org/fhir/StructureMap/Goal4to5' /// name = 'Goal4to5' /// title = 'FML Conversion for Goal: R4 to R5' /// status = 'active' conceptmap "GoalLifecycleStatus" { prefix s = "http://hl7.org/fhir/4.0/goal-status" prefix t = "http://hl7.org/fhir/goal-status" s:proposed - t:proposed s:planned - t:planned s:accepted - t:accepted s:active - t:active s:"on-hold" - t:"on-hold" s:completed - t:completed s:cancelled - t:cancelled s:"entered-in-error" - t:"entered-in-error" s:rejected - t:rejected } uses "http://hl7.org/fhir/4.0/StructureDefinition/Goal" alias GoalR4 as source uses "http://hl7.org/fhir/StructureDefinition/Goal" alias GoalR5 as target imports "http://hl7.org/fhir/StructureMap/*4to5" group Goal(source src : GoalR4, target tgt : GoalR5) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.lifecycleStatus as v -> tgt.lifecycleStatus = translate(v, '#GoalLifecycleStatus', 'code'); src.achievementStatus -> tgt.achievementStatus; src.category -> tgt.category; src.priority -> tgt.priority; // src.continuous -> tgt.continuous; src.description -> tgt.description; src.subject -> tgt.subject; src.start : date -> tgt.start; src.start : CodeableConcept -> tgt.start; src.target as s -> tgt.target as t then GoalTarget(s, t); src.statusDate -> tgt.statusDate; src.statusReason -> tgt.statusReason; src.addresses -> tgt.addresses; // src.source -> tgt.source; src.note -> tgt.note; src.outcomeCode -> tgt.outcome; src.outcomeReference -> tgt.outcome; } group GoalTarget(source src, target tgt) extends BackboneElement { src.measure -> tgt.measure; src.detail : Quantity -> tgt.detail; src.detail : Range -> tgt.detail; src.detail : CodeableConcept -> tgt.detail; src.detail : string -> tgt.detail; src.detail : boolean -> tgt.detail; src.detail : integer -> tgt.detail; src.detail : Ratio -> tgt.detail; src.due : date -> tgt.due; src.due : Duration -> tgt.due; }