Mappings for the openimis-invoice-invoice resource profile.
| OpenIMISInvoice |
| Invoice | FT1 |
| identifier | FT1.2 |
| use | N/A |
| type | CX.5 |
| coding | C*E.1-8, C*E.10-22 |
| system | C*E.3 |
| version | C*E.7 |
| code | C*E.1 |
| display | C*E.2 - but note this is not well followed |
| userSelected | Sometimes implied by being first |
| text | C*E.9. But note many systems use C*E.2 for this |
| system | CX.4 / EI-2-4 |
| value | CX.1 / EI.1 |
| period | CX.7 + CX.8 |
| assigner | CX.4 / (CX.4,CX.9,CX.10) |
| identifier (Code) | FT1.2 |
| use | N/A |
| type | CX.5 |
| coding | C*E.1-8, C*E.10-22 |
| system | C*E.3 |
| version | C*E.7 |
| code | C*E.1 |
| display | C*E.2 - but note this is not well followed |
| userSelected | Sometimes implied by being first |
| text | C*E.9. But note many systems use C*E.2 for this |
| system | CX.4 / EI-2-4 |
| value | CX.1 / EI.1 |
| period | CX.7 + CX.8 |
| assigner | CX.4 / (CX.4,CX.9,CX.10) |
| identifier (UUID) | FT1.2 |
| use | N/A |
| type | CX.5 |
| coding | C*E.1-8, C*E.10-22 |
| system | C*E.3 |
| version | C*E.7 |
| code | C*E.1 |
| display | C*E.2 - but note this is not well followed |
| userSelected | Sometimes implied by being first |
| text | C*E.9. But note many systems use C*E.2 for this |
| system | CX.4 / EI-2-4 |
| value | CX.1 / EI.1 |
| period | CX.7 + CX.8 |
| assigner | CX.4 / (CX.4,CX.9,CX.10) |
| status | Varies by domain |
| type | FT1.7 |
| coding | C*E.1-8, C*E.10-22 |
| text | C*E.9. But note many systems use C*E.2 for this |
| recipient | PV1 in proximity to FT1 segment |
| date | Varies by domain |
| issuer | N/A |
| lineItem | EVN.5 or by domain |
| chargeItem[x] | EVN.5 or by domain |
| chargeItem[x] (chargeItemCodeableConcept) | EVN.5 or by domain |
| priceComponent | EVN.5 or by domain |
| type | FT1.7 |
| code | FT1.7 |
| coding | C*E.1-8, C*E.10-22 |
| system | C*E.3 |
| version | C*E.7 |
| code | C*E.1 |
| display | C*E.2 - but note this is not well followed |
| userSelected | Sometimes implied by being first |
| text | C*E.9. But note many systems use C*E.2 for this |
| factor | FT1.22 |
| amount | FT1.22 |
| value | MO.Value |
| currency | MO.Currency |
| totalNet | FT1.22 |
| value | MO.Value |
| currency | MO.Currency |
| totalGross | FT1.22 |
| value | MO.Value |
| currency | MO.Currency |
| note | NTE |
| OpenIMISInvoice |
| Invoice | Entity. Role, or Act, Act[moodCode=EVN] |
| text | Act.text? |
| contained | N/A |
| extension | N/A |
| modifierExtension | N/A |
| identifier | .identifier |
| id | n/a |
| extension | n/a |
| use | Role.code or implied by context |
| type | Role.code or implied by context |
| id | n/a |
| extension | n/a |
| coding | union(., ./translation) |
| id | n/a |
| extension | n/a |
| system | ./codeSystem |
| version | ./codeSystemVersion |
| code | ./code |
| display | CV.displayName |
| userSelected | CD.codingRationale |
| text | ./originalText[mediaType/code="text/plain"]/data |
| system | II.root or Role.id.root |
| value | II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) |
| period | Role.effectiveTime or implied by context |
| assigner | II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper |
| identifier (Code) | .identifier |
| id | n/a |
| extension | n/a |
| use | Role.code or implied by context |
| type | Role.code or implied by context |
| id | n/a |
| extension | n/a |
| coding | union(., ./translation) |
| id | n/a |
| extension | n/a |
| system | ./codeSystem |
| version | ./codeSystemVersion |
| code | ./code |
| display | CV.displayName |
| userSelected | CD.codingRationale |
| text | ./originalText[mediaType/code="text/plain"]/data |
| system | II.root or Role.id.root |
| value | II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) |
| period | Role.effectiveTime or implied by context |
| assigner | II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper |
| identifier (UUID) | .identifier |
| id | n/a |
| extension | n/a |
| use | Role.code or implied by context |
| type | Role.code or implied by context |
| id | n/a |
| extension | n/a |
| coding | union(., ./translation) |
| id | n/a |
| extension | n/a |
| system | ./codeSystem |
| version | ./codeSystemVersion |
| code | ./code |
| display | CV.displayName |
| userSelected | CD.codingRationale |
| text | ./originalText[mediaType/code="text/plain"]/data |
| system | II.root or Role.id.root |
| value | II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) |
| period | Role.effectiveTime or implied by context |
| assigner | II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper |
| status | .status |
| type | .code |
| id | n/a |
| extension | n/a |
| coding | union(., ./translation) |
| text | ./originalText[mediaType/code="text/plain"]/data |
| recipient | .inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN] |
| date | .effectiveTime |
| issuer | .scoper |
| lineItem | .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE] |
| id | n/a |
| extension | n/a |
| modifierExtension | N/A |
| chargeItem[x] | .player |
| chargeItem[x] (chargeItemCodeableConcept) | .player |
| priceComponent | .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE] |
| id | n/a |
| modifierExtension | N/A |
| type | .code |
| code | .code |
| id | n/a |
| extension | n/a |
| coding | union(., ./translation) |
| id | n/a |
| extension | n/a |
| system | ./codeSystem |
| version | ./codeSystemVersion |
| code | ./code |
| display | CV.displayName |
| userSelected | CD.codingRationale |
| text | ./originalText[mediaType/code="text/plain"]/data |
| amount | |
| id | n/a |
| extension | n/a |
| totalNet | |
| id | n/a |
| extension | n/a |
| totalGross | |
| id | n/a |
| extension | n/a |
| note | .inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST] |