Current Build
Clinical Decision Support Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Device, Patient, Practitioner

R3 : R4 Conversion maps for DetectedIssue.

Functional status for this map: 4 tests of which 4 fail to execute. (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 extends DomainResource
  input src : DetectedIssueR3 as source
  input tgt : DetectedIssue as target

  "DetectedIssue.identifier" : for src.identifier as vs make tgt.identifier as vt
  "DetectedIssue.status" : for src.status as vs make tgt.status as vt
  "DetectedIssue.category" : for src.category as vs make tgt.category as vt
  "DetectedIssue.severity" : for src.severity as vs make tgt.severity as vt
  "DetectedIssue.patient" : for src.patient as vs make tgt.patient as vt
  "DetectedIssue.date" : for src.date as vs make tgt.date as vt
  "DetectedIssue.author" : for src.author as vs make tgt.author as vt
  "DetectedIssue.implicated" : for src.implicated as vs make tgt.implicated as vt
  "DetectedIssue.detail" : for src.detail as vs make tgt.detail as vt
  "DetectedIssue.reference" : for src.reference as vs make tgt.reference as vt
  "DetectedIssue.mitigation" : for src.mitigation as vs0 make tgt.mitigation as vt0 then {
    "DetectedIssue.mitigation.action" : for vs0.action as vs make vt0.action as vt
    "DetectedIssue.mitigation.date" : for vs0.date as vs make vt0.date as vt
    "DetectedIssue.mitigation.author" : for vs0.author as vs make vt0.author as vt
  }
endgroup


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 extends DomainResource
  input src : DetectedIssue as source
  input tgt : DetectedIssueR3 as target

  "DetectedIssue.identifier" : for src.identifierFirstRep as vs make tgt.identifier as vt
  "DetectedIssue.status" : for src.status as vs make tgt.status as vt
  "DetectedIssue.category" : for src.category as vs make tgt.category as vt
  "DetectedIssue.severity" : for src.severity as vs make tgt.severity as vt
  "DetectedIssue.patient" : for src.patient as vs make tgt.patient as vt
  "DetectedIssue.date" : for src.date as vs make tgt.date as vt
  "DetectedIssue.author" : for src.author as vs make tgt.author as vt
  "DetectedIssue.implicated" : for src.implicated as vs make tgt.implicated as vt
  "DetectedIssue.detail" : for src.detail as vs make tgt.detail as vt
  "DetectedIssue.reference" : for src.reference as vs make tgt.reference as vt
  "DetectedIssue.mitigation" : for src.mitigation as vs0 make tgt.mitigation as vt0 then {
    "DetectedIssue.mitigation.action" : for vs0.action as vs make vt0.action as vt
    "DetectedIssue.mitigation.date" : for vs0.date as vs make vt0.date as vt
    "DetectedIssue.mitigation.author" : for vs0.author as vs make vt0.author as vt
  }
endgroup