Package | hl7.fhir.uv.xver |
Resource Type | StructureMap |
Id | PaymentReconciliation5to4B |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-PaymentReconciliation5to4B.html |
URL | http://hl7.org/fhir/StructureMap/PaymentReconciliation5to4B |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | PaymentReconciliation5to4B |
Title | PaymentReconciliation Transforms: R5 to R4B |
Realm | uv |
Authority | hl7 |
Description | PaymentReconciliationTransformsR5toR4B |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/PaymentReconciliation5to4B' /// name = 'PaymentReconciliation5to4B' /// title = 'PaymentReconciliation Transforms: R5 to R4B' /// status = 'active' uses "http://hl7.org/fhir/5.0/PaymentReconciliation" alias PaymentReconciliationR5 as source uses "http://hl7.org/fhir/4.0/PaymentReconciliation" alias PaymentReconciliationR4B as target imports "http://hl7.org/fhir/StructureMap/*5to4B" group PaymentReconciliation(source src : PaymentReconciliationR5, target tgt : PaymentReconciliationR4B) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/PaymentReconciliation.status-R5toR4', 'code'); src.period -> tgt.period; src.created -> tgt.created; src.paymentIssuer -> tgt.paymentIssuer; src.request -> tgt.request; src.requestor -> tgt.requestor; src.outcome as v -> tgt.outcome = translate(v, 'http://hl7.org/fhir/ConceptMap/PaymentReconciliation.outcome-R5toR4', 'code'); src.disposition -> tgt.disposition; src.date -> tgt.paymentDate; src.amount -> tgt.paymentAmount; src.paymentIdentifier -> tgt.paymentIdentifier; src.allocation as s -> tgt.detail as t then PaymentReconciliationAllocation(s, t); src.formCode -> tgt.formCode; src.processNote as s -> tgt.processNote as t then PaymentReconciliationProcessNote(s, t); } group PaymentReconciliationAllocation(source src, target tgt) extends BackboneElement { src.identifier -> tgt.identifier; src.predecessor -> tgt.predecessor; src.type -> tgt.type; src.submitter -> tgt.submitter; src.response -> tgt.response; src.date -> tgt.date; src.responsible -> tgt.responsible; src.payee -> tgt.payee; src.amount -> tgt.amount; } group PaymentReconciliationProcessNote(source src, target tgt) extends BackboneElement { src.type as v -> tgt.type = translate(v, 'http://hl7.org/fhir/ConceptMap/PaymentReconciliation.processNote.type-R5toR4', 'code'); src.text -> tgt.text; }
{ "resourceType": "StructureMap", "id": "PaymentReconciliation5to4B", "text": { "status": "generated", "div": "<!-- snip (see above) -->" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1, "_valueInteger": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "valueCanonical": "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver" } ] } }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "draft", "_valueCode": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "valueCanonical": "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver" } ] } } ], "url": "http://hl7.org/fhir/StructureMap/PaymentReconciliation5to4B", "version": "0.1.0", "name": "PaymentReconciliation5to4B", "title": "PaymentReconciliation Transforms: R5 to R4B", "status": "active", "date": "2024-02-22T03:16:50+00:00", "publisher": "HL7 International / FHIR Infrastructure", "contact": [ { "telecom": [ { "system": "url", "value": "http://www.hl7.org/Special/committees/fiwg" } ] } ], "description": "PaymentReconciliationTransformsR5toR4B", "jurisdiction": [ { "coding": [ { "system": "http://unstats.un.org/unsd/methods/m49/m49.htm", "code": "001" } ] } ], "structure": [ { "url": "http://hl7.org/fhir/5.0/PaymentReconciliation", "mode": "source", "alias": "PaymentReconciliationR5" }, { "url": "http://hl7.org/fhir/4.0/PaymentReconciliation", "mode": "target", "alias": "PaymentReconciliationR4B" } ], "import": [ "http://hl7.org/fhir/StructureMap/*5to4B" ], "group": [ { "name": "PaymentReconciliation", "extends": "DomainResource", "typeMode": "type-and-types", "input": [ { "name": "src", "type": "PaymentReconciliationR5", "mode": "source" }, { "name": "tgt", "type": "PaymentReconciliationR4B", "mode": "target" } ], "rule": [ { "name": "identifier", "source": [ { "context": "src", "element": "identifier", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "identifier", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "status", "source": [ { "context": "src", "element": "status", "variable": "v" } ], "target": [ { "context": "tgt", "element": "status", "transform": "translate", "parameter": [ { "valueId": "v" }, { "valueString": "http://hl7.org/fhir/ConceptMap/PaymentReconciliation.status-R5toR4" }, { "valueString": "code" } ] } ] }, { "name": "period", "source": [ { "context": "src", "element": "period", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "period", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "created", "source": [ { "context": "src", "element": "created", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "created", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "paymentIssuer", "source": [ { "context": "src", "element": "paymentIssuer", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "paymentIssuer", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "request", "source": [ { "context": "src", "element": "request", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "request", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "requestor", "source": [ { "context": "src", "element": "requestor", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "requestor", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "outcome", "source": [ { "context": "src", "element": "outcome", "variable": "v" } ], "target": [ { "context": "tgt", "element": "outcome", "transform": "translate", "parameter": [ { "valueId": "v" }, { "valueString": "http://hl7.org/fhir/ConceptMap/PaymentReconciliation.outcome-R5toR4" }, { "valueString": "code" } ] } ] }, { "name": "disposition", "source": [ { "context": "src", "element": "disposition", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "disposition", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "date", "source": [ { "context": "src", "element": "date", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "paymentDate", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "amount", "source": [ { "context": "src", "element": "amount", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "paymentAmount", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "paymentIdentifier", "source": [ { "context": "src", "element": "paymentIdentifier", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "paymentIdentifier", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "allocation", "source": [ { "context": "src", "element": "allocation", "variable": "s" } ], "target": [ { "context": "tgt", "element": "detail", "variable": "t" } ], "dependent": [ { "name": "PaymentReconciliationAllocation", "parameter": [ { "valueId": "s" }, { "valueId": "t" } ] } ] }, { "name": "formCode", "source": [ { "context": "src", "element": "formCode", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "formCode", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "processNote", "source": [ { "context": "src", "element": "processNote", "variable": "s" } ], "target": [ { "context": "tgt", "element": "processNote", "variable": "t" } ], "dependent": [ { "name": "PaymentReconciliationProcessNote", "parameter": [ { "valueId": "s" }, { "valueId": "t" } ] } ] } ] }, { "name": "PaymentReconciliationAllocation", "extends": "BackboneElement", "input": [ { "name": "src", "mode": "source" }, { "name": "tgt", "mode": "target" } ], "rule": [ { "name": "identifier", "source": [ { "context": "src", "element": "identifier", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "identifier", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "predecessor", "source": [ { "context": "src", "element": "predecessor", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "predecessor", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "type", "source": [ { "context": "src", "element": "type", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "type", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "submitter", "source": [ { "context": "src", "element": "submitter", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "submitter", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "response", "source": [ { "context": "src", "element": "response", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "response", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "date", "source": [ { "context": "src", "element": "date", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "date", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "responsible", "source": [ { "context": "src", "element": "responsible", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "responsible", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "payee", "source": [ { "context": "src", "element": "payee", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "payee", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "amount", "source": [ { "context": "src", "element": "amount", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "amount", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] } ] }, { "name": "PaymentReconciliationProcessNote", "extends": "BackboneElement", "input": [ { "name": "src", "mode": "source" }, { "name": "tgt", "mode": "target" } ], "rule": [ { "name": "type", "source": [ { "context": "src", "element": "type", "variable": "v" } ], "target": [ { "context": "tgt", "element": "type", "transform": "translate", "parameter": [ { "valueId": "v" }, { "valueString": "http://hl7.org/fhir/ConceptMap/PaymentReconciliation.processNote.type-R5toR4" }, { "valueString": "code" } ] } ] }, { "name": "text", "source": [ { "context": "src", "element": "text", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "text", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] } ] } ] }