This page is part of the FHIR Specification (v5.0.0-snapshot3: R5 Snapshot #3, to support Connectathon 32). 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
Patient Administration Work Group | Maturity Level: N/A | Standards Status: Informative | Security Category: Patient | Compartments: Device, Encounter, Patient, Practitioner, RelatedPerson |
R4 : R5 Conversion maps for ChargeItem.
Functional status for this map: 1 test that all execute ok. All tests pass round-trip testing and all r3 resources are valid. (see documentation)
map "http://hl7.org/fhir/StructureMap/ChargeItem3to4" = "R3 to R4 Conversions for ChargeItem"
uses "http://hl7.org/fhir/3.0/StructureDefinition/ChargeItem" alias ChargeItemR3 as source
uses "http://hl7.org/fhir/StructureDefinition/ChargeItem" alias ChargeItem as target
imports "http://hl7.org/fhir/StructureMap/*3to4"
group ChargeItem(source src : ChargeItemR3, target tgt : ChargeItem) extends DomainResource <<type+>> {
src.identifier -> tgt.identifier;
src.definition -> tgt.definitionUri;
src.status -> tgt.status;
src.partOf -> tgt.partOf;
src.code -> tgt.code;
src.subject -> tgt.subject;
src.context -> tgt.context;
src.occurrence -> tgt.occurrence;
src.participant as s -> tgt.performer as t then ChargeItemPerformer(s, t);
src.performingOrganization -> tgt.performingOrganization;
src.requestingOrganization -> tgt.requestingOrganization;
src.costCenter -> tgt.costCenter;
src.quantity -> tgt.quantity;
src.bodysite -> tgt.bodysite;
src.factorOverride -> tgt.factorOverride;
src.priceOverride -> tgt.priceOverride;
src.overrideReason -> tgt.overrideReason;
src.enterer -> tgt.enterer;
src.enteredDate -> tgt.enteredDate;
src.reason -> tgt.reason;
src.service -> tgt.service;
src.product -> tgt.product;
src.account -> tgt.account;
src.note -> tgt.note;
src.supportingInformation -> tgt.supportingInformation;
}
group ChargeItemPerformer(source src, target tgt) extends BackboneElement {
src.role -> tgt.function;
src.actor -> tgt.actor;
}
map "http://hl7.org/fhir/StructureMap/ChargeItem4to3" = "R4 to R3 Conversion for ChargeItem"
uses "http://hl7.org/fhir/StructureDefinition/ChargeItem" alias ChargeItem as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/ChargeItem" alias ChargeItemR3 as target
imports "http://hl7.org/fhir/StructureMap/*4to3"
group ChargeItem(source src : ChargeItem, target tgt : ChargeItemR3) extends DomainResource <<type+>> {
src.identifier -> tgt.identifier;
src.definitionUri -> tgt.definition;
src.status -> tgt.status;
src.partOf -> tgt.partOf;
src.code -> tgt.code;
src.subject -> tgt.subject;
src.context -> tgt.context;
src.occurrence -> tgt.occurrence;
src.performer as s -> tgt.participant as t then ChargeItemPerformer(s, t);
src.performingOrganization -> tgt.performingOrganization;
src.requestingOrganization -> tgt.requestingOrganization;
src.costCenter -> tgt.costCenter;
src.quantity -> tgt.quantity;
src.bodysite -> tgt.bodysite;
src.factorOverride -> tgt.factorOverride;
src.priceOverride -> tgt.priceOverride;
src.overrideReason -> tgt.overrideReason;
src.enterer -> tgt.enterer;
src.enteredDate -> tgt.enteredDate;
src.reason -> tgt.reason;
src.service -> tgt.service;
src.product -> tgt.product;
src.account -> tgt.account;
src.note -> tgt.note;
src.supportingInformation -> tgt.supportingInformation;
}
group ChargeItemPerformer(source src, target tgt) extends BackboneElement {
src.function -> tgt.role;
src.actor -> tgt.actor;
}