Mappings for the xdsdocumentreference Profile.
| XDS profile for Document Reference |
| DocumentReference | XDSDocumentReference | Entity. Role, or Act |
| id | | |
| meta | | |
| implicitRules | | |
| language | | |
| text | | Act.text? |
| contained | | N/A |
| extension | | N/A |
| modifierExtension | | N/A |
| masterIdentifier | | .id |
| identifier | | .id / .setId |
| subject | | Entity. Role, or Act |
| type | | ./code |
| class | | .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code |
| author | | .participation[typeCode="AUT"].role[classCode="ASSIGNED"] |
| authenticator | | Entity. Role, or Act |
| created | | .effectiveTime[type="TS"] |
| indexed | | .availabilityTime[type="TS"] |
| status | | interim: .completionCode="IN" & ./statusCode[isNormalDatatype()]="active"; final: .completionCode="AU" && ./statusCode[isNormalDatatype()]="complete" and not(./inboundRelationship[typeCode="SUBJ" and isNormalActRelationship()]/source[subsumesCode("ActClass#CACT") and moodCode="EVN" and domainMember("ReviseDocument", code) and isNormalAct()]); amended: .completionCode="AU" && ./statusCode[isNormalDatatype()]="complete" and ./inboundRelationship[typeCode="SUBJ" and isNormalActRelationship()]/source[subsumesCode("ActClass#CACT") and moodCode="EVN" and domainMember("ReviseDocument", code) and isNormalAct() and statusCode="completed"]; withdrawn : .completionCode=NI && ./statusCode[isNormalDatatype()]="obsolete" |
| relatesTo | | .outboundRelationship |
| id | | n/a |
| extension | | n/a |
| modifierExtension | | N/A |
| code | | .outboundRelationship.typeCode |
| target | | .target[classCode="DOC", moodCode="EVN"].id |
| description | | .outboundRelationship[typeCode="SUBJ"].target.text |
| securityLabel | | .confidentialityCode |
| content | | document.text |
| id | | n/a |
| extension | | n/a |
| modifierExtension | | N/A |
| attachment | | document.text |
| 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) |
| format | | document.text |
| context | | outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT'] |
| id | | n/a |
| extension | | n/a |
| modifierExtension | | N/A |
| event | | .code |
| period | | .effectiveTime |
| facilityType | | .participation[typeCode="LOC"].role[classCode="DSDLOC"].code |
| practiceSetting | | .participation[typeCode="LOC"].role[classCode="DSDLOC"].code |
| sourcePatientInfo | | .participation[typeCode="SBJ"].role[typeCode="PAT"] |
| related | | ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct] |
| id | | n/a |
| extension | | n/a |
| modifierExtension | | N/A |
| identifier | | ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct] .id |
| ref | | ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct].text.reference |
| XDS profile for Document Reference |
| DocumentReference | XDSDocumentReference | |
| id | | |
| meta | | |
| implicitRules | | |
| language | | |
| text | | |
| contained | | |
| extension | | |
| modifierExtension | | |
| masterIdentifier | | DocumentEntry.uniqueId |
| identifier | | DocumentEntry.entryUUID |
| subject | | |
| type | | DocumentEntry.type |
| class | | DocumentEntry.class |
| author | | DocumentEntry.author |
| authenticator | | |
| created | | DocumentEntry.submissionTime |
| indexed | | DocumentEntry.submissionTime |
| status | | DocumentEntry status |
| relatesTo | | |
| id | | |
| extension | | |
| modifierExtension | | |
| code | | DocumentEntry Associations type |
| target | | DocumentEntry Associations reference |
| description | | DocumentEntry.description |
| securityLabel | | DocumentEntry.confidentialityCode |
| content | | |
| id | | |
| extension | | |
| modifierExtension | | |
| attachment | | DocumentEntry.mimeType DocumentEntry.languageCode DocumentEntry.URI DocumentEntry.size DocumentEntry.hash DocumentEntry.title |
| id | | |
| extension | | |
| contentType | | |
| language | | |
| data | | |
| url | | |
| size | | |
| hash | | |
| title | | |
| creation | | |
| format | | DocumentEntry.formatCode |
| context | | |
| id | | |
| extension | | |
| modifierExtension | | |
| event | | DocumentEntry.eventCodeList |
| period | | DocumentEntry.serviceStartTime DocumentEntry.serviceStopTime |
| facilityType | | DocumentEntry.healthcareFacilityTypeCode |
| practiceSetting | | DocumentEntry.practiceSettingCode |
| sourcePatientInfo | | DocumentEntry.sourcePatientInfo DocumentEntry.sourcePatientId |
| related | | DocumentEntry.referenceIdList |
| id | | |
| extension | | |
| modifierExtension | | |
| identifier | | |
| ref | | |