FHIR Extensions Pack v5.1.0-snapshot1 (2024-03-12)

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

Clinical Decision Support Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: N/A Compartments: N/A

Following are maps for converting between the equivalent R4B resource and this R5 resource.

Maps to GuidanceResponse

FML Conversion for GuidanceResponse: R5 to R4 (Ready for Use/Trial Use)

/// url = 'http://hl7.org/fhir/StructureMap/GuidanceResponse5to4'
/// name = 'GuidanceResponse5to4'
/// title = 'FML Conversion for GuidanceResponse: R5 to R4'
/// status = 'active'

conceptmap "GuidanceResponseStatus" {
  prefix s = "http://hl7.org/fhir/guidance-response-status"
  prefix t = "http://hl7.org/fhir/4.0/guidance-response-status"

  s:success - t:success
  s:"data-requested" - t:"data-requested"
  s:"data-required" - t:"data-required"
  s:"in-progress" - t:"in-progress"
  s:failure - t:failure
  s:"entered-in-error" - t:"entered-in-error"
}

uses "http://hl7.org/fhir/StructureDefinition/GuidanceResponse" alias GuidanceResponseR5 as source
uses "http://hl7.org/fhir/4.0/StructureDefinition/GuidanceResponse" alias GuidanceResponseR4 as target

imports "http://hl7.org/fhir/StructureMap/*5to4"

group GuidanceResponse(source src : GuidanceResponseR5, target tgt : GuidanceResponseR4) extends DomainResource <<type+>> {
  src.requestIdentifier -> tgt.requestIdentifier;
  src.identifier -> tgt.identifier;
  src.module : uri -> tgt.module;
  src.module : canonical -> tgt.module;
  src.module : CodeableConcept -> tgt.module;
  src.status as v -> tgt.status = translate(v, '#GuidanceResponseStatus', 'code');
  src.subject -> tgt.subject;
  src.encounter -> tgt.encounter;
  src.occurrenceDateTime -> tgt.occurrenceDateTime;
  src.performer -> tgt.performer;
  src.reason -> tgt.reasonCode;
  src.reason -> tgt.reasonReference;
  src.note -> tgt.note;
  src.evaluationMessage -> tgt.evaluationMessage;
  src.outputParameters -> tgt.outputParameters;
  src.result -> tgt.result;
  src.dataRequirement -> tgt.dataRequirement;
}

FML Conversion for GuidanceResponse: R5 to R4B (Ready for Use/Trial Use)

/// url = 'http://hl7.org/fhir/StructureMap/GuidanceResponse5to4B'
/// name = 'GuidanceResponse5to4B'
/// title = 'FML Conversion for GuidanceResponse: R5 to R4B'
/// status = 'active'

conceptmap "GuidanceResponseStatus" {
  prefix s = "http://hl7.org/fhir/guidance-response-status"
  prefix t = "http://hl7.org/fhir/4.3/guidance-response-status"

  s:success - t:success
  s:"data-requested" - t:"data-requested"
  s:"data-required" - t:"data-required"
  s:"in-progress" - t:"in-progress"
  s:failure - t:failure
  s:"entered-in-error" - t:"entered-in-error"
}

uses "http://hl7.org/fhir/StructureDefinition/GuidanceResponse" alias GuidanceResponseR5 as source
uses "http://hl7.org/fhir/4.3/StructureDefinition/GuidanceResponse" alias GuidanceResponseR4B as target

imports "http://hl7.org/fhir/StructureMap/*5to4B"

group GuidanceResponse(source src : GuidanceResponseR5, target tgt : GuidanceResponseR4B) extends DomainResource <<type+>> {
  src.requestIdentifier -> tgt.requestIdentifier;
  src.identifier -> tgt.identifier;
  src.module : uri -> tgt.module;
  src.module : canonical -> tgt.module;
  src.module : CodeableConcept -> tgt.module;
  src.status as v -> tgt.status = translate(v, '#GuidanceResponseStatus', 'code');
  src.subject -> tgt.subject;
  src.encounter -> tgt.encounter;
  src.occurrenceDateTime -> tgt.occurrenceDateTime;
  src.performer -> tgt.performer;
  src.reason -> tgt.reasonCode;
  src.reason -> tgt.reasonReference;
  src.note -> tgt.note;
  src.evaluationMessage -> tgt.evaluationMessage;
  src.outputParameters -> tgt.outputParameters;
  src.result -> tgt.result;
  src.dataRequirement -> tgt.dataRequirement;
}

Maps from GuidanceResponse

FML Conversion for GuidanceResponse: R4B to R5 (Ready for Use/Trial Use)

/// url = 'http://hl7.org/fhir/StructureMap/GuidanceResponse4Bto5'
/// name = 'GuidanceResponse4Bto5'
/// title = 'FML Conversion for GuidanceResponse: R4B to R5'
/// status = 'active'

conceptmap "GuidanceResponseStatus" {
  prefix s = "http://hl7.org/fhir/4.3/guidance-response-status"
  prefix t = "http://hl7.org/fhir/guidance-response-status"

  s:success - t:success
  s:"data-requested" - t:"data-requested"
  s:"data-required" - t:"data-required"
  s:"in-progress" - t:"in-progress"
  s:failure - t:failure
  s:"entered-in-error" - t:"entered-in-error"
}

uses "http://hl7.org/fhir/4.3/StructureDefinition/GuidanceResponse" alias GuidanceResponseR4B as source
uses "http://hl7.org/fhir/StructureDefinition/GuidanceResponse" alias GuidanceResponseR5 as target

imports "http://hl7.org/fhir/StructureMap/*4Bto5"

group GuidanceResponse(source src : GuidanceResponseR4B, target tgt : GuidanceResponseR5) extends DomainResource <<type+>> {
  src.requestIdentifier -> tgt.requestIdentifier;
  src.identifier -> tgt.identifier;
  src.module : uri -> tgt.module;
  src.module : canonical -> tgt.module;
  src.module : CodeableConcept -> tgt.module;
  src.status as v -> tgt.status = translate(v, '#GuidanceResponseStatus', 'code');
  src.subject -> tgt.subject;
  src.encounter -> tgt.encounter;
  src.occurrenceDateTime -> tgt.occurrenceDateTime;
  src.performer -> tgt.performer;
  src.reasonCode -> tgt.reason;
  src.reasonReference -> tgt.reason;
  src.note -> tgt.note;
  src.evaluationMessage -> tgt.evaluationMessage;
  src.outputParameters -> tgt.outputParameters;
  src.result -> tgt.result;
  src.dataRequirement -> tgt.dataRequirement;
}

FML Conversion for GuidanceResponse: R4 to R5 (Ready for Use/Trial Use)

/// url = 'http://hl7.org/fhir/StructureMap/GuidanceResponse4to5'
/// name = 'GuidanceResponse4to5'
/// title = 'FML Conversion for GuidanceResponse: R4 to R5'
/// status = 'active'

conceptmap "GuidanceResponseStatus" {
  prefix s = "http://hl7.org/fhir/4.0/guidance-response-status"
  prefix t = "http://hl7.org/fhir/guidance-response-status"

  s:success - t:success
  s:"data-requested" - t:"data-requested"
  s:"data-required" - t:"data-required"
  s:"in-progress" - t:"in-progress"
  s:failure - t:failure
  s:"entered-in-error" - t:"entered-in-error"
}

uses "http://hl7.org/fhir/4.0/StructureDefinition/GuidanceResponse" alias GuidanceResponseR4 as source
uses "http://hl7.org/fhir/StructureDefinition/GuidanceResponse" alias GuidanceResponseR5 as target

imports "http://hl7.org/fhir/StructureMap/*4to5"

group GuidanceResponse(source src : GuidanceResponseR4, target tgt : GuidanceResponseR5) extends DomainResource <<type+>> {
  src.requestIdentifier -> tgt.requestIdentifier;
  src.identifier -> tgt.identifier;
  src.module : uri -> tgt.module;
  src.module : canonical -> tgt.module;
  src.module : CodeableConcept -> tgt.module;
  src.status as v -> tgt.status = translate(v, '#GuidanceResponseStatus', 'code');
  src.subject -> tgt.subject;
  src.encounter -> tgt.encounter;
  src.occurrenceDateTime -> tgt.occurrenceDateTime;
  src.performer -> tgt.performer;
  src.reasonCode -> tgt.reason;
  src.reasonReference -> tgt.reason;
  src.note -> tgt.note;
  src.evaluationMessage -> tgt.evaluationMessage;
  src.outputParameters -> tgt.outputParameters;
  src.result -> tgt.result;
  src.dataRequirement -> tgt.dataRequirement;
}