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

Financial Management Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Encounter, Patient, Practitioner, RelatedPerson

R3 : R4 Conversion maps for Claim.

Functional status for this map: 16 tests of which 4 fail to execute. 12 fail round-trip testing and 12 r3 resources are invalid (0 errors). (see documentation)

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

conceptmap "Use" {
  prefix s = "http://hl7.org/fhir/claim-use"
  prefix t = "http://hl7.org/fhir/claim-use"

  s:complete - t:claim
  s:proposed - t:preauthorization
  s:exploratory - t:predetermination
}

uses "http://hl7.org/fhir/3.0/StructureDefinition/Claim" alias ClaimR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Claim" alias Claim as target

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



group Claim extends DomainResource
  input src : ClaimR3 as source
  input tgt : Claim as target

  "Claim.identifier" : for src.identifier as vs make tgt.identifier as vt
  "Claim.status" : for src.status as vs make tgt.status as vt
  "Claim.type" : for src.type as vs make tgt.type as vt
  "Claim.subType" : for src.subType as vs make tgt.subType as vt
  "Claim.use" : for src.use as v make tgt.use = translate(v, "#Use", "code")
  "Claim.patient" : for src.patient as vs make tgt.patient as vt
  "Claim.billablePeriod" : for src.billablePeriod as vs make tgt.billablePeriod as vt
  "Claim.created" : for src.created as vs make tgt.created as vt
  "Claim.enterer" : for src.enterer as vs make tgt.enterer as vt
  "Claim.insurer" : for src.insurer as vs make tgt.insurer as vt
  "Claim.provider" : for src.provider as vs make tgt.provider as vt
  "Claim.fundsReserve" : for src.fundsReserve as vs make tgt.fundsReserve as vt
  "Claim.prescription" : for src.prescription as vs make tgt.prescription as vt
  "Claim.originalPrescription" : for src.originalPrescription as vs make tgt.originalPrescription as vt
  "Claim.referral" : for src.referral as vs make tgt.referral as vt
  "Claim.facility" : for src.facility as vs make tgt.facility as vt
  "Claim.total" : for src.total as vs make tgt.total as vt
endgroup


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

conceptmap "Use" {
  prefix s = "http://hl7.org/fhir/claim-use"
  prefix t = "http://hl7.org/fhir/claim-use"

  s:claim - t:complete
  s:preauthorization - t:proposed
  s:predetermination - t:exploratory
}

uses "http://hl7.org/fhir/StructureDefinition/Claim" alias Claim as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Claim" alias ClaimR3 as target

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



group Claim extends DomainResource
  input src : Claim as source
  input tgt : ClaimR3 as target

  "Claim.identifier" : for src.identifier as vs make tgt.identifier as vt
  "Claim.status" : for src.status as vs make tgt.status as vt
  "Claim.type" : for src.type as vs make tgt.type as vt
  "Claim.subType" : for src.subType as vs make tgt.subType as vt
  "Claim.use" : for src.use as v make tgt.use = translate(v, "#Use", "code")
  "Claim.patient" : for src.patient as vs make tgt.patient as vt
  "Claim.billablePeriod" : for src.billablePeriod as vs make tgt.billablePeriod as vt
  "Claim.created" : for src.created as vs make tgt.created as vt
  "Claim.enterer" : for src.enterer as vs make tgt.enterer as vt
  "Claim.insurer" : for src.insurer as vs make tgt.insurer as vt
  "Claim.provider" : for src.provider as vs make tgt.provider as vt
  "Claim.fundsReserve" : for src.fundsReserve as vs make tgt.fundsReserve as vt
  "Claim.prescription" : for src.prescription as vs make tgt.prescription as vt
  "Claim.originalPrescription" : for src.originalPrescription as vs make tgt.originalPrescription as vt
  "Claim.referral" : for src.referral as vs make tgt.referral as vt
  "Claim.facility" : for src.facility as vs make tgt.facility as vt
  "Claim.total" : for src.total as vs make tgt.total as vt
endgroup