Mappings for the documentreference resource.
DocumentReference | Document[classCode="DOC" and moodCode="EVN"] |
masterIdentifier | .id |
identifier | .id / .setId |
subject | .participation[typeCode="SBJ"].role[typeCode="PAT"] |
type | ./code |
class | .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code |
format | n/a |
author | .participation[typeCode="AUT"].role[classCode="ASSIGNED"] |
custodian | .participation[typeCode="RCV"].role[classCode="CUST"].scoper[classCode="ORG" and determinerCode="INST"] |
policyManager | N/A - New participation type required |
authenticator | .participation[typeCode="AUTHEN"].role[classCode="ASSIGNED"] |
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" |
docStatus | .statusCode |
relatesTo | .outboundRelationship |
code | .outboundRelationship.typeCode |
target | .target[classCode="DOC", moodCode="EVN"].id |
description | .outboundRelationship[typeCode="SUBJ"].target.text |
confidentiality | .confidentialityCode |
content | |
context | outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT'] |
event | .code |
period | .effectiveTime |
facilityType | .participation[typeCode="LOC"].role[classCode="DSDLOC"].code |
DocumentReference | |
masterIdentifier | TXA-12-Unique Document Number |
identifier | TXA-16-Unique Document File Name? |
subject | PID-3-Patient ID List (No standard way to define a Practitioner or Group subject in V2 MDM message) |
type | TXA-2-Document Type |
class | .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code |
format | |
author | TXA-9-Originator Code/Name (No standard way to indicate a Device in V2 MDM message) |
custodian | |
policyManager | |
authenticator | TXA-10-Assigned Document Authenticator |
created | TXA-6-Origination Date/Time |
indexed | |
status | TXA-19-Document Availability Status |
docStatus | TXA-17-Document Completion Status |
relatesTo | |
code | |
target | |
description | TXA-25-Document Title |
confidentiality | TXA-18-Document Confidentiality Status |
content | |
context | |
event | |
period | |
facilityType | |
DocumentReference | |
masterIdentifier | DocumentEntry.uniqueId |
identifier | DocumentEntry.entryUUID |
subject | DocumentEntry.patientId
DocumentEntry.sourcePatientId
DocumentEntry.SourcePatientInfo |
type | DocumentEntry.type |
class | DocumentEntry.class |
format | DocumentEntry.formatCode |
author | DocumentEntry.author |
custodian | |
policyManager | |
authenticator | DocumentEntry.legalAuthenticator |
created | DocumentEntry.submissionTime |
indexed | DocumentEntry.submissionTime |
status | DocumentEntry status |
docStatus | |
relatesTo | |
code | DocumentEntry Associations type |
target | DocumentEntry Associations reference |
description | DocumentEntry.description |
confidentiality | DocumentEntry.confidentialityCode |
content | DocumentEntry.mimeType
DocumentEntry.languageCode
DocumentEntry.URI
DocumentEntry.size
DocumentEntry.hash
DocumentEntry.title |
context | |
event | DocumentEntry.eventCodeList |
period | DocumentEntry.serviceStartTime
DocumentEntry.serviceStopTime |
facilityType | DocumentEntry.healthcareFacilityTypeCode |