Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Clinical Decision Support icon Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: Patient Compartments: Device, Patient, Practitioner

R4 : R5 Conversion maps for DetectedIssue.

Functional status for this map: See Conversions Summary. (see documentation)

map "http://hl7.org/fhir/StructureMap/DetectedIssue3to4" = "R3 to R4 Conversions for DetectedIssue"

uses "http://hl7.org/fhir/3.0/StructureDefinition/DetectedIssue" alias DetectedIssueR3 as source
uses "http://hl7.org/fhir/StructureDefinition/DetectedIssue" alias DetectedIssue as target

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

group DetectedIssue(source src : DetectedIssueR3, target tgt : DetectedIssue) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.category -> tgt.code;
  src.severity -> tgt.severity;
  src.patient -> tgt.patient;
  src.date as vs -> tgt.identified = create('dateTime') as vt then dateTime(vs, vt);
  src.author -> tgt.author;
  src.implicated -> tgt.implicated;
  src.detail -> tgt.detail;
  src.reference -> tgt.reference;
  src.mitigation as vs0 -> tgt.mitigation as vt0 then mitigation(vs0, vt0);
}

group mitigation(source src, target tgt) extends BackboneElement {
  src.action -> tgt.action;
  src.date -> tgt.date;
  src.author -> tgt.author;
}


map "http://hl7.org/fhir/StructureMap/DetectedIssue4to3" = "R4 to R3 Conversion for DetectedIssue"

uses "http://hl7.org/fhir/StructureDefinition/DetectedIssue" alias DetectedIssue as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/DetectedIssue" alias DetectedIssueR3 as target

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

group DetectedIssue(source src : DetectedIssue, target tgt : DetectedIssueR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.code -> tgt.category;
  src.severity -> tgt.severity;
  src.patient -> tgt.patient;
  src.identified : dateTime as vs -> tgt.date as vt then dateTime(vs, vt);
  src.author -> tgt.author;
  src.implicated -> tgt.implicated;
  src.detail -> tgt.detail;
  src.reference -> tgt.reference;
  src.mitigation as vs0 -> tgt.mitigation as vt0 then mitigation(vs0, vt0);
}

group mitigation(source src, target tgt) extends BackboneElement {
  src.action -> tgt.action;
  src.date -> tgt.date;
  src.author -> tgt.author;
}


No validation errors - all conversions are clean