FHIR Release 3 (STU)

This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Clinical Decision Support Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Device, Patient, Practitioner

R2 : R3 Converson maps for DetectedIssue.

Functional status for this map: 4 tests that all execute ok. All tests pass round-trip testing and 4 r3 resources are invalid (4 errors). (see documentation)

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

uses "http://hl7.org/fhir/DSTU2/StructureDefinition/DetectedIssue" alias DetectedIssueR2 as source
uses "http://hl7.org/fhir/StructureDefinition/DetectedIssue" alias DetectedIssue as target

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

group for type+types  DetectedIssue extends DomainResource
  input src : DetectedIssueR2 as source
  input tgt : DetectedIssue as target

  "DetectedIssue-patient" : for src.patient make tgt.patient
  "DetectedIssue-category" : for src.category make tgt.category
  "DetectedIssue-severity" : for src.severity make tgt.severity
  "DetectedIssue-implicated" : for src.implicated make tgt.implicated
  "DetectedIssue-detail" : for src.detail make tgt.detail
  "DetectedIssue-date" : for src.date make tgt.date
  "DetectedIssue-author" : for src.author make tgt.author
  "DetectedIssue-identifier" : for src.identifier make tgt.identifier
  "DetectedIssue-reference" : for src.reference make tgt.reference
  "DetectedIssue-mitigation" : for src.mitigation as vs0 make tgt.mitigation as vt0 then dtiMitigation(vs0, vt0)
endgroup

group dtiMitigation extends BackboneElement
  input src as source
  input tgt as target

  "DetectedIssue.mitigation-action" : for src.action make tgt.action
  "DetectedIssue.mitigation-date" : for src.date make tgt.date
  "DetectedIssue.mitigation-author" : for src.author make tgt.author
endgroup
  
map "http://hl7.org/fhir/StructureMap/DetectedIssue3to2" = "R3 to R2 Conversion for DetectedIssue"

uses "http://hl7.org/fhir/StructureDefinition/DetectedIssue" alias DetectedIssue as source
uses "http://hl7.org/fhir/DSTU2/StructureDefinition/DetectedIssue" alias DetectedIssueR2 as target

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

group for type+types  DetectedIssue extends DomainResource
  input src : DetectedIssue as source
  input tgt : DetectedIssueR2 as target

  "DetectedIssue-patient" : for src.patient make tgt.patient
  "DetectedIssue-category" : for src.category make tgt.category
  "DetectedIssue-severity" : for src.severity make tgt.severity
  "DetectedIssue-implicated" : for src.implicated make tgt.implicated
  "DetectedIssue-detail" : for src.detail make tgt.detail
  "DetectedIssue-date" : for src.date make tgt.date
  "DetectedIssue-author" : for src.author make tgt.author
  "DetectedIssue-identifier" : for src.identifier make tgt.identifier
  "DetectedIssue-reference" : for src.reference make tgt.reference
  "DetectedIssue-mitigation" : for src.mitigation as vs0 make tgt.mitigation as vt0 then dtiMitigation(vs0, vt0)
endgroup

group dtiMitigation extends BackboneElement
  input src as source
  input tgt as target

  "DetectedIssue.mitigation-action" : for src.action make tgt.action
  "DetectedIssue.mitigation-date" : for src.date make tgt.date
  "DetectedIssue.mitigation-author" : for src.author make tgt.author
endgroup

ddi
  • ERROR @ DetectedIssue: Profile http://hl7.org/fhir/StructureDefinition/DetectedIssue, Element 'DetectedIssue.status': minimum required = 1, but only found 0 (src = InstanceValidator)
allergy
  • ERROR @ DetectedIssue: Profile http://hl7.org/fhir/StructureDefinition/DetectedIssue, Element 'DetectedIssue.status': minimum required = 1, but only found 0 (src = InstanceValidator)
duplicate
  • ERROR @ DetectedIssue: Profile http://hl7.org/fhir/StructureDefinition/DetectedIssue, Element 'DetectedIssue.status': minimum required = 1, but only found 0 (src = InstanceValidator)
lab
  • ERROR @ DetectedIssue: Profile http://hl7.org/fhir/StructureDefinition/DetectedIssue, Element 'DetectedIssue.status': minimum required = 1, but only found 0 (src = InstanceValidator)