Mappings for the cds-fr-related-person resource profile.
| CDSFrRelatedPerson |
| RelatedPerson | Entity. Role, or Act, role |
| meta | |
| id | n/a |
| extension | n/a |
| text | Act.text? |
| contained | N/A |
| extension | N/A |
| modifierExtension | N/A |
| identifier | .id |
| active | .statusCode |
| patient | scoper[classCode=PSN|ANM and determinerCode='INSTANCE']/playedRole[classCode='PAT']/id |
| relationship | code |
| relationship (Role) | 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 |
| relationship (RelationType) | 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 |
| name | n/a, EN (actually, PN) |
| 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 | n/a, TEL |
| gender | administrativeGender |
| birthDate | player.birthTime |
| address | n/a, AD |
| photo | player[classCode='PSN' and determinerCode='INSTANCE']/desc |
| period | .effectiveTime |
| communication | LanguageCommunication |
| id | n/a |
| extension | n/a |
| modifierExtension | N/A |
| language | player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code |
| preferred | preferenceInd |
| CDSFrRelatedPerson |
| RelatedPerson | |
| identifier | NK1-33 |
| patient | PID-3 |
| relationship | NK1-3 |
| relationship (Role) | NK1-3 |
| 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 |
| relationship (RelationType) | NK1-3 |
| 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 |
| name | XPN |
| 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 | XTN |
| gender | NK1-15 |
| address | XAD |
| photo | OBX-5 - needs a profile |