R4 Ballot #2 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.5.0: R4 Ballot #2). 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

Patient Care Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Patient

R3 : R4 Conversion maps for FamilyMemberHistory.

Functional status for this map: 2 tests of which 2 fail to execute. (see documentation)

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


uses "http://hl7.org/fhir/3.0/StructureDefinition/FamilyMemberHistory" alias FamilyMemberHistoryR3 as source
uses "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory" alias FamilyMemberHistory as target

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



group FamilyMemberHistory extends DomainResource
  input src : FamilyMemberHistoryR3 as source
  input tgt : FamilyMemberHistory as target

  "FamilyMemberHistory.identifier": for src.identifier make tgt.identifier
  "FamilyMemberHistory.instantiatesCanonical": for src.instantiatesCanonical make tgt.instantiatesCanonical
  "FamilyMemberHistory.instantiatesUri": for src.instantiatesUri make tgt.instantiatesUri
  "FamilyMemberHistory.status": for src.status make tgt.status
  "FamilyMemberHistory.dataAbsentReason": for src.dataAbsentReason make tgt.dataAbsentReason
  "FamilyMemberHistory.patient": for src.patient make tgt.patient
  "FamilyMemberHistory.date": for src.date make tgt.date
  "FamilyMemberHistory.name": for src.name make tgt.name
  "FamilyMemberHistory.relationship": for src.relationship make tgt.relationship
  "FamilyMemberHistory.gender": for src.gender make tgt.gender
  "FamilyMemberHistory.born": for src.born make tgt.born
  "FamilyMemberHistory.age": for src.age make tgt.age
  "FamilyMemberHistory.estimatedAge": for src.estimatedAge make tgt.estimatedAge
  "FamilyMemberHistory.deceased": for src.deceased make tgt.deceased
  "FamilyMemberHistory.reasonCode": for src.reasonCode make tgt.reasonCode
  "FamilyMemberHistory.reasonReference": for src.reasonReference make tgt.reasonReference
  "FamilyMemberHistory.note": for src.note make tgt.note
  "FamilyMemberHistory.condition": for src.condition as s make tgt.condition as t then FamilyMemberHistoryCondition(s,t)
endgroup


group FamilyMemberHistoryCondition extends BackboneElement
  input src : FamilyMemberHistoryR3 as source
  input tgt : FamilyMemberHistory as target

  "FamilyMemberHistory.condition.code": for src.code make tgt.code
  "FamilyMemberHistory.condition.outcome": for src.outcome make tgt.outcome
  "FamilyMemberHistory.condition.onset": for src.onset make tgt.onset
  "FamilyMemberHistory.condition.note": for src.note make tgt.note
endgroup


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


uses "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory" alias FamilyMemberHistory as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/FamilyMemberHistory" alias FamilyMemberHistoryR3 as target

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



group FamilyMemberHistory extends DomainResource
  input src : FamilyMemberHistoryR3 as source
  input tgt : FamilyMemberHistory as target

  "FamilyMemberHistory.identifier": for src.identifier make tgt.identifier
  "FamilyMemberHistory.instantiatesCanonical": for src.instantiatesCanonical make tgt.instantiatesCanonical
  "FamilyMemberHistory.instantiatesUri": for src.instantiatesUri make tgt.instantiatesUri
  "FamilyMemberHistory.status": for src.status make tgt.status
  "FamilyMemberHistory.dataAbsentReason": for src.dataAbsentReason make tgt.dataAbsentReason
  "FamilyMemberHistory.patient": for src.patient make tgt.patient
  "FamilyMemberHistory.date": for src.date make tgt.date
  "FamilyMemberHistory.name": for src.name make tgt.name
  "FamilyMemberHistory.relationship": for src.relationship make tgt.relationship
  "FamilyMemberHistory.gender": for src.gender make tgt.gender
  "FamilyMemberHistory.born": for src.born make tgt.born
  "FamilyMemberHistory.age": for src.age make tgt.age
  "FamilyMemberHistory.estimatedAge": for src.estimatedAge make tgt.estimatedAge
  "FamilyMemberHistory.deceased": for src.deceased make tgt.deceased
  "FamilyMemberHistory.reasonCode": for src.reasonCode make tgt.reasonCode
  "FamilyMemberHistory.reasonReference": for src.reasonReference make tgt.reasonReference
  "FamilyMemberHistory.note": for src.note make tgt.note
  "FamilyMemberHistory.condition": for src.condition as s make tgt.condition as t then FamilyMemberHistoryCondition(s,t)
endgroup

group FamilyMemberHistoryCondition extends BackboneElement
  input src : FamilyMemberHistoryR3 as source
  input tgt : FamilyMemberHistory as target

  "FamilyMemberHistory.condition.code": for src.code make tgt.code
  "FamilyMemberHistory.condition.outcome": for src.outcome make tgt.outcome
  "FamilyMemberHistory.condition.onset": for src.onset make tgt.onset
  "FamilyMemberHistory.condition.note": for src.note make tgt.note
endgroup