This
page
is
part
of
the
FHIR
Specification
(v4.3.0:
R4B
(v5.0.0-ballot:
R5
Ballot
-
STU
see
ballot
notes
).
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
Group
|
Maturity Level : N/A | Standards Status : Informative | Security Category : Patient | Compartments : Practitioner |
R3
:
R4
:
R5
Conversion
maps
for
PaymentReconciliation.
Functional status for this map: 1 test that all execute ok. 1 fail round-trip testing and 1 r3 resources are invalid (0 errors). ( see documentation)
map "http://hl7.org/fhir/StructureMap/PaymentReconciliation3to4" = "R3 to R4 Conversions for PaymentReconciliation"
uses "http://hl7.org/fhir/3.0/StructureDefinition/PaymentReconciliation" alias PaymentReconciliationR3 as source
uses "http://hl7.org/fhir/StructureDefinition/PaymentReconciliation" alias PaymentReconciliation as target
imports "http://hl7.org/fhir/StructureMap/*3to4"
group PaymentReconciliation(source src : PaymentReconciliationR3, target tgt : PaymentReconciliation) extends DomainResource <<type+>> {
src.identifier -> tgt.identifier;
src.status -> tgt.status;
src.period -> tgt.period;
src.created -> tgt.created;
src.organization -> tgt.paymentIssuer;
src.request -> tgt.request;
src.outcome as vs then {
vs.coding as c where code in ('complete' | 'error' | 'partial') then {
c.code -> tgt.outcome;
};
};
src.disposition -> tgt.disposition;
src.requestProvider -> tgt.requestor;
src.detail as s -> tgt.detail as t then PaymentReconciliationDetail(s, t);
src.form -> tgt.formCode;
src.total -> tgt.paymentAmount;
src.processNote as s -> tgt.processNote as t then PaymentReconciliationProcessNote(s, t);
}
group PaymentReconciliationDetail(source src, target tgt) extends BackboneElement {
src.type -> tgt.type;
src.request -> tgt.request;
src.response -> tgt.response;
src.submitter -> tgt.submitter;
src.payee -> tgt.payee;
src.date -> tgt.date;
src.amount -> tgt.amount;
}
group PaymentReconciliationProcessNote(source src, target tgt) extends BackboneElement {
src.type as vs then {
vs.coding as c then {
c.code -> tgt.type;
};
};
src.text -> tgt.text;
}
map "http://hl7.org/fhir/StructureMap/PaymentReconciliation4to3" = "R4 to R3 Conversion for PaymentReconciliation" uses "http://hl7.org/fhir/StructureDefinition/PaymentReconciliation" alias PaymentReconciliation as source uses "http://hl7.org/fhir/3.0/StructureDefinition/PaymentReconciliation" alias PaymentReconciliationR3 as target imports "http://hl7.org/fhir/StructureMap/*4to3"group PaymentReconciliation(source src : PaymentReconciliationR3, target tgt : PaymentReconciliation) extends DomainResource <<type+>> {group PaymentReconciliation(source src : PaymentReconciliation, target tgt : PaymentReconciliationR3) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.status -> tgt.status; src.period -> tgt.period; src.created -> tgt.created; src.paymentIssuer -> tgt.organization; src.request -> tgt.request; src.outcome as vs where value in ('complete' | 'error' | 'partial') -> tgt.outcome as vt, vt.coding as c, c.system = 'http://hl7.org/fhir/remittance-outcome', c.code = vs; src.disposition -> tgt.disposition; src.requestor -> tgt.requestProvider; src.detail as s -> tgt.detail as t then PaymentReconciliationDetail(s, t); src.formCode -> tgt.form; src.paymentAmount -> tgt.total; src.processNote as s -> tgt.processNote as t then PaymentReconciliationProcessNote(s, t); } group PaymentReconciliationDetail(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.request -> tgt.request; src.response -> tgt.response; src.submitter -> tgt.submitter; src.payee -> tgt.payee; src.date -> tgt.date; src.amount -> tgt.amount; } group PaymentReconciliationProcessNote(source src, target tgt) extends BackboneElement { src.type as vs -> tgt.type as vt, vt.coding as c, c.system = 'http://hl7.org/fhir/note-type', c.code = vs; src.text -> tgt.text; }