FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.org/fhir/StructureMap/Coverage4Bto5 | Version: 0.1.0 | |||
Standards status: Draft | Maturity Level: 1 | Computable Name: Coverage4Bto5 |
CoverageTransformsR4BtoR5
/// url = 'http://hl7.org/fhir/StructureMap/Coverage4Bto5' /// name = 'Coverage4Bto5' /// title = 'Coverage Transforms: R4B to R5' /// status = 'active' uses "http://hl7.org/fhir/4.3/Coverage" alias CoverageR4B as source uses "http://hl7.org/fhir/5.0/Coverage" alias CoverageR5 as target imports "http://hl7.org/fhir/StructureMap/*4Bto5" group Coverage(source src : CoverageR4B, target tgt : CoverageR5) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/CoverageB.status-R4BtoR5', 'code'); src.type -> tgt.type; src.policyHolder -> tgt.policyHolder; src.subscriber -> tgt.subscriber; src.subscriberId as s -> tgt.subscriberId as t, t.value = s; src.beneficiary -> tgt.beneficiary; src.dependent -> tgt.dependent; src.relationship -> tgt.relationship; src.period -> tgt.period; src.class as s -> tgt.class as t then CoverageClass(s, t); src.order -> tgt.order; src.network -> tgt.network; src.costToBeneficiary as s -> tgt.costToBeneficiary as t then CoverageCostToBeneficiary(s, t); src.subrogation -> tgt.subrogation; src.contract -> tgt.contract; } // group CoveragePaymentBy(source src, target tgt) extends BackboneElement { // src.party -> tgt.party; // src.responsibility -> tgt.responsibility; // } group CoverageClass(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.value as s -> tgt.value as t, t.value = s "classValue"; src.name -> tgt.name; } group CoverageCostToBeneficiary(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.value : Quantity -> tgt.value; src.value : Money -> tgt.value; src.exception as s -> tgt.exception as t then CoverageCostToBeneficiaryException(s, t); } group CoverageCostToBeneficiaryException(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.period -> tgt.period; }