Mappings for the openimis-patient resource profile.
OpenIMISPatient |
Patient | Entity. Role, or Act, Patient[classCode=PAT] |
text | Act.text? |
contained | N/A |
modifierExtension | N/A |
identifier | id |
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) | id |
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) | id |
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 |
active | statusCode |
name | name |
id | n/a |
extension | n/a |
use | unique(./use) |
text | ./formatted |
family | ./part[partType = FAM] |
given | ./part[partType = GIV] |
prefix | ./part[partType = PFX] |
suffix | ./part[partType = SFX] |
period | ./usablePeriod[type="IVL<TS>"] |
telecom | telecom |
id | n/a |
extension | n/a |
system | ./scheme |
value | ./url |
use | unique(./use) |
rank | n/a |
period | ./usablePeriod[type="IVL<TS>"] |
telecom (email) | telecom |
id | n/a |
extension | n/a |
system | ./scheme |
value | ./url |
use | unique(./use) |
rank | n/a |
period | ./usablePeriod[type="IVL<TS>"] |
telecom (phone) | telecom |
id | n/a |
extension | n/a |
system | ./scheme |
value | ./url |
use | unique(./use) |
rank | n/a |
period | ./usablePeriod[type="IVL<TS>"] |
gender | player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender |
birthDate | player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime |
address | addr |
id | n/a |
use | unique(./use) |
type | unique(./use) |
text | ./formatted |
line | AD.part[parttype = AL] |
city | AD.part[parttype = CTY] |
district | AD.part[parttype = CNT | CPA] |
state | AD.part[parttype = STA] |
period | ./usablePeriod[type="IVL<TS>"] |
address (FamilyAddress) | addr |
id | n/a |
extension | n/a |
use | unique(./use) |
type | unique(./use) |
text | ./formatted |
line | AD.part[parttype = AL] |
city | AD.part[parttype = CTY] |
district | AD.part[parttype = CNT | CPA] |
state | AD.part[parttype = STA] |
postalCode | AD.part[parttype = ZIP] |
country | AD.part[parttype = CNT] |
period | ./usablePeriod[type="IVL<TS>"] |
address (InsureeAddress) | addr |
id | n/a |
extension | n/a |
use | unique(./use) |
type | unique(./use) |
text | ./formatted |
line | AD.part[parttype = AL] |
city | AD.part[parttype = CTY] |
district | AD.part[parttype = CNT | CPA] |
state | AD.part[parttype = STA] |
postalCode | AD.part[parttype = ZIP] |
country | AD.part[parttype = CNT] |
period | ./usablePeriod[type="IVL<TS>"] |
maritalStatus | player[classCode=PSN]/maritalStatusCode |
photo | player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc |
id | n/a |
extension | n/a |
contentType | ./mediaType, ./charset |
language | ./language |
data | ./data |
url | ./reference/literal |
size | N/A (needs data type R3 proposal) |
hash | .integrityCheck[parent::ED/integrityCheckAlgorithm="SHA-1"] |
title | ./title/data |
creation | N/A (needs data type R3 proposal) |
photo (URL) | player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc |
id | n/a |
extension | n/a |
contentType | ./mediaType, ./charset |
language | ./language |
url | ./reference/literal |
size | N/A (needs data type R3 proposal) |
hash | .integrityCheck[parent::ED/integrityCheckAlgorithm="SHA-1"] |
title | ./title/data |
creation | N/A (needs data type R3 proposal) |
photo (Data) | player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc |
id | n/a |
extension | n/a |
contentType | ./mediaType, ./charset |
language | ./language |
data | ./data |
size | N/A (needs data type R3 proposal) |
hash | .integrityCheck[parent::ED/integrityCheckAlgorithm="SHA-1"] |
title | ./title/data |
creation | N/A (needs data type R3 proposal) |
contact | player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON] |
id | n/a |
extension | n/a |
modifierExtension | N/A |
relationship | code |
name | name |
id | n/a |
extension | n/a |
family | ./part[partType = FAM] |
given | ./part[partType = GIV] |
telecom | telecom |
address | addr |
gender | player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender |
organization | scoper |
period | effectiveTime |
generalPractitioner | subjectOf.CareEvent.performer.AssignedEntity |
OpenIMISPatient |
Patient | |
identifier | PID-3 |
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) | PID-3 |
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) | PID-3 |
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) |
name | PID-5, PID-9 |
use | XPN.7, but often indicated by which field contains the name |
text | implied by XPN.11 |
family | XPN.1/FN.1 |
given | XPN.2 + XPN.3 |
prefix | XPN.5 |
suffix | XPN/4 |
period | XPN.13 + XPN.14 |
telecom | PID-13, PID-14, PID-40 |
system | XTN.3 |
value | XTN.1 (or XTN.12) |
use | XTN.2 - but often indicated by field |
rank | n/a |
period | N/A |
telecom (email) | PID-13, PID-14, PID-40 |
system | XTN.3 |
value | XTN.1 (or XTN.12) |
use | XTN.2 - but often indicated by field |
rank | n/a |
period | N/A |
telecom (phone) | PID-13, PID-14, PID-40 |
system | XTN.3 |
value | XTN.1 (or XTN.12) |
use | XTN.2 - but often indicated by field |
rank | n/a |
period | N/A |
gender | PID-8 |
birthDate | PID-7 |
address | PID-11 |
use | XAD.7 |
type | XAD.18 |
text | XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6 |
line | XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address) |
city | XAD.3 |
district | XAD.9 |
state | XAD.4 |
period | XAD.12 / XAD.13 + XAD.14 |
address (FamilyAddress) | PID-11 |
use | XAD.7 |
type | XAD.18 |
text | XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6 |
line | XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address) |
city | XAD.3 |
district | XAD.9 |
state | XAD.4 |
postalCode | XAD.5 |
country | XAD.6 |
period | XAD.12 / XAD.13 + XAD.14 |
address (InsureeAddress) | PID-11 |
use | XAD.7 |
type | XAD.18 |
text | XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6 |
line | XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address) |
city | XAD.3 |
district | XAD.9 |
state | XAD.4 |
postalCode | XAD.5 |
country | XAD.6 |
period | XAD.12 / XAD.13 + XAD.14 |
maritalStatus | PID-16 |
photo | OBX-5 - needs a profile |
contentType | ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used |
data | ED.5 |
url | RP.1+RP.2 - if they refer to a URL (see v2.6) |
photo (URL) | OBX-5 - needs a profile |
contentType | ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used |
url | RP.1+RP.2 - if they refer to a URL (see v2.6) |
photo (Data) | OBX-5 - needs a profile |
contentType | ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used |
data | ED.5 |
contact | |
relationship | NK1-7, NK1-3 |
name | NK1-2 |
family | XPN.1/FN.1 |
given | XPN.2 + XPN.3 |
telecom | NK1-5, NK1-6, NK1-40 |
address | NK1-4 |
gender | NK1-15 |
organization | NK1-13, NK1-30, NK1-31, NK1-32, NK1-41 |
generalPractitioner | PD1-4 |