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

Orders and Observations Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Not linked to any defined compartments

R3 : R4 Conversion maps for ObservationDefinition.

Functional status for this map: Not Mapped (see documentation)

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


uses "http://hl7.org/fhir/3.0/StructureDefinition/ObservationDefinition" alias ObservationDefinitionR3 as source
uses "http://hl7.org/fhir/StructureDefinition/ObservationDefinition" alias ObservationDefinition as target

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



group ObservationDefinition extends DomainResource
  input src : ObservationDefinitionR3 as source
  input tgt : ObservationDefinition as target

  "ObservationDefinition.category": for src.category make tgt.category
  "ObservationDefinition.code": for src.code make tgt.code
  "ObservationDefinition.permittedDataType": for src.permittedDataType make tgt.permittedDataType
  "ObservationDefinition.multipleResultsAllowed": for src.multipleResultsAllowed make tgt.multipleResultsAllowed
  "ObservationDefinition.method": for src.method make tgt.method
  "ObservationDefinition.preferredReportName": for src.preferredReportName make tgt.preferredReportName
  "ObservationDefinition.quantitativeDetails": for src.quantitativeDetails as s make tgt.quantitativeDetails as t then ObservationDefinitionQuantitativeDetails(s,t)
  "ObservationDefinition.qualifiedInterval": for src.qualifiedInterval as s make tgt.qualifiedInterval as t then ObservationDefinitionQualifiedInterval(s,t)
  "ObservationDefinition.validCodedValueSet": for src.validCodedValueSet make tgt.validCodedValueSet
  "ObservationDefinition.normalCodedValueSet": for src.normalCodedValueSet make tgt.normalCodedValueSet
  "ObservationDefinition.abnormalCodedValueSet": for src.abnormalCodedValueSet make tgt.abnormalCodedValueSet
  "ObservationDefinition.criticalCodedValueSet": for src.criticalCodedValueSet make tgt.criticalCodedValueSet
endgroup


group ObservationDefinitionQuantitativeDetails extends BackboneElement
  input src : ObservationDefinitionR3 as source
  input tgt : ObservationDefinition as target

  "ObservationDefinition.quantitativeDetails.customaryUnit": for src.customaryUnit make tgt.customaryUnit
  "ObservationDefinition.quantitativeDetails.unit": for src.unit make tgt.unit
  "ObservationDefinition.quantitativeDetails.conversionFactor": for src.conversionFactor make tgt.conversionFactor
  "ObservationDefinition.quantitativeDetails.decimalPrecision": for src.decimalPrecision make tgt.decimalPrecision
endgroup


group ObservationDefinitionQualifiedInterval extends BackboneElement
  input src : ObservationDefinitionR3 as source
  input tgt : ObservationDefinition as target

  "ObservationDefinition.qualifiedInterval.category": for src.category make tgt.category
  "ObservationDefinition.qualifiedInterval.range": for src.range make tgt.range
  "ObservationDefinition.qualifiedInterval.type": for src.type make tgt.type
  "ObservationDefinition.qualifiedInterval.appliesTo": for src.appliesTo make tgt.appliesTo
  "ObservationDefinition.qualifiedInterval.age": for src.age make tgt.age
  "ObservationDefinition.qualifiedInterval.gestationalAge": for src.gestationalAge make tgt.gestationalAge
  "ObservationDefinition.qualifiedInterval.condition": for src.condition make tgt.condition
endgroup


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


uses "http://hl7.org/fhir/StructureDefinition/ObservationDefinition" alias ObservationDefinition as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/ObservationDefinition" alias ObservationDefinitionR3 as target

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



group ObservationDefinition extends DomainResource
  input src : ObservationDefinitionR3 as source
  input tgt : ObservationDefinition as target

  "ObservationDefinition.category": for src.category make tgt.category
  "ObservationDefinition.code": for src.code make tgt.code
  "ObservationDefinition.permittedDataType": for src.permittedDataType make tgt.permittedDataType
  "ObservationDefinition.multipleResultsAllowed": for src.multipleResultsAllowed make tgt.multipleResultsAllowed
  "ObservationDefinition.method": for src.method make tgt.method
  "ObservationDefinition.preferredReportName": for src.preferredReportName make tgt.preferredReportName
  "ObservationDefinition.quantitativeDetails": for src.quantitativeDetails as s make tgt.quantitativeDetails as t then ObservationDefinitionQuantitativeDetails(s,t)
  "ObservationDefinition.qualifiedInterval": for src.qualifiedInterval as s make tgt.qualifiedInterval as t then ObservationDefinitionQualifiedInterval(s,t)
  "ObservationDefinition.validCodedValueSet": for src.validCodedValueSet make tgt.validCodedValueSet
  "ObservationDefinition.normalCodedValueSet": for src.normalCodedValueSet make tgt.normalCodedValueSet
  "ObservationDefinition.abnormalCodedValueSet": for src.abnormalCodedValueSet make tgt.abnormalCodedValueSet
  "ObservationDefinition.criticalCodedValueSet": for src.criticalCodedValueSet make tgt.criticalCodedValueSet
endgroup

group ObservationDefinitionQuantitativeDetails extends BackboneElement
  input src : ObservationDefinitionR3 as source
  input tgt : ObservationDefinition as target

  "ObservationDefinition.quantitativeDetails.customaryUnit": for src.customaryUnit make tgt.customaryUnit
  "ObservationDefinition.quantitativeDetails.unit": for src.unit make tgt.unit
  "ObservationDefinition.quantitativeDetails.conversionFactor": for src.conversionFactor make tgt.conversionFactor
  "ObservationDefinition.quantitativeDetails.decimalPrecision": for src.decimalPrecision make tgt.decimalPrecision
endgroup

group ObservationDefinitionQualifiedInterval extends BackboneElement
  input src : ObservationDefinitionR3 as source
  input tgt : ObservationDefinition as target

  "ObservationDefinition.qualifiedInterval.category": for src.category make tgt.category
  "ObservationDefinition.qualifiedInterval.range": for src.range make tgt.range
  "ObservationDefinition.qualifiedInterval.type": for src.type make tgt.type
  "ObservationDefinition.qualifiedInterval.appliesTo": for src.appliesTo make tgt.appliesTo
  "ObservationDefinition.qualifiedInterval.age": for src.age make tgt.age
  "ObservationDefinition.qualifiedInterval.gestationalAge": for src.gestationalAge make tgt.gestationalAge
  "ObservationDefinition.qualifiedInterval.condition": for src.condition make tgt.condition
endgroup

n/a