Mappings for the Patient-twcore resource profile.
TWCorePatient |
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 | n/a, CD |
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 (idCardNumber) | 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 (passportNumber) | 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 (residentNumber) | 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 (medicalRecord) | 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 |
name (official) | 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>"] |
name (usual) | 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>"] |
name (temp) | name |
id | n/a |
extension | n/a |
use | unique(./use) |
text | ./formatted |
period | ./usablePeriod[type="IVL<TS>"] |
name (anonymous) | name |
id | n/a |
extension | n/a |
use | unique(./use) |
text | ./formatted |
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>"] |
gender | player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender |
birthDate | player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime |
deceased[x] | player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime |
address | n/a, AD |
maritalStatus | n/a, CD |
multipleBirth[x] | player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber |
photo | player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc |
contact | player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON] |
id | n/a |
extension | n/a |
modifierExtension | N/A |
relationship | n/a, CD |
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>"] |
address | n/a, AD |
gender | player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender |
organization | scoper |
period | effectiveTime |
communication | LanguageCommunication |
id | n/a |
extension | n/a |
modifierExtension | N/A |
language | n/a, CD |
preferred | preferenceInd |
generalPractitioner | subjectOf.CareEvent.performer.AssignedEntity |
managingOrganization | scoper |
link | outboundLink |
id | n/a |
extension | n/a |
modifierExtension | N/A |
other | id |
type | typeCode |
TWCorePatient |
Patient | |
identifier | PID-3 |
use | N/A |
type | CE/CNE/CWE |
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 (idCardNumber) | 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 (passportNumber) | 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 (residentNumber) | 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 (medicalRecord) | 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 |
name (official) | 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 |
name (usual) | 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 |
name (temp) | PID-5, PID-9 |
use | XPN.7, but often indicated by which field contains the name |
text | implied by XPN.11 |
period | XPN.13 + XPN.14 |
name (anonymous) | PID-5, PID-9 |
use | XPN.7, but often indicated by which field contains the name |
text | implied by XPN.11 |
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 |
gender | PID-8 |
birthDate | PID-7 |
deceased[x] | PID-30 (bool) and PID-29 (datetime) |
address | XAD |
maritalStatus | CE/CNE/CWE |
multipleBirth[x] | PID-24 (bool), PID-25 (integer) |
photo | OBX-5 - needs a profile |
contact | |
relationship | CE/CNE/CWE |
name | NK1-2 |
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 | NK1-5, NK1-6, NK1-40 |
system | XTN.3 |
value | XTN.1 (or XTN.12) |
use | XTN.2 - but often indicated by field |
rank | n/a |
period | N/A |
address | XAD |
gender | NK1-15 |
organization | NK1-13, NK1-30, NK1-31, NK1-32, NK1-41 |
communication | |
language | CE/CNE/CWE |
preferred | PID-15 |
generalPractitioner | PD1-4 |
link | |
other | PID-3, MRG-1 |