Mappings for the epa-mhd-document-reference resource profile.
EPAMHDDocumentReference |
DocumentReference | XDS.b DocumentEntry: Inhaltsgleiche Abbildung zum XDS Document Service |
meta | |
profile | Keine Entsprechung zu XDS.b DocumentEntry |
masterIdentifier | DocumentEntry.uniqueId |
identifier | DocumentEntry.entryUUID |
status | DocumentEntry.availabilityStatus |
type | DocumentEntry.typeCode |
category | DocumentEntry.classCode |
subject | DocumentEntry.patientId |
author | DocumentEntry.author |
authenticator | DocumentEntry.legalAuthenticator |
relatesTo | Keine Entsprechung zu XDS.b DocumentEntry |
description | DocumentEntry.comments |
securityLabel | DocumentEntry.confidentialityCode sowie zugewiesene Datenkategorien gemäß Legal Policy |
content | |
attachment | |
contentType | DocumentEntry.mimeType |
language | DocumentEntry.languageCode |
url | Abweichend zu MHD V4.2.2 vom Document Responder festgelegter Speicherort des Documents |
size | DocumentEntry.size |
hash | DocumentEntry.hash |
title | DocumentEntry.title |
creation | DocumentEntry.creationTime |
format | DocumentEntry.formatCode |
context | |
event | DocumentEntry.eventCodeList |
period | |
start | DocumetEntry.serviceStartTime |
end | DocumentEntry.serviceStopTime |
facilityType | DocumentEntry.healthcareFacilityTypeCode |
practiceSetting | DocumentEntry.practiceSettingCode |
sourcePatientInfo | |
reference | DocumentEntry.sourcePatientInfo |
identifier | DocumentEntry.sourcePatientId |
related | DocumentEntry.referenceIdList |
EPAMHDDocumentReference |
DocumentReference | XDS DocumentEntry: Used in the context of the IHE MHD ImplementationGuide |
meta | |
profile | DocumentEntry.limitedMetadata |
masterIdentifier | DocumentEntry.uniqueId |
identifier | DocumentEntry.entryUUID |
status | DocumentEntry.availabilityStatus |
type | DocumentEntry.typeCode |
category | DocumentEntry.classCode |
subject | DocumentEntry.patientId |
author | DocumentEntry.author |
authenticator | DocumentEntry.legalAuthenticator |
relatesTo | DocumentEntry Associations |
code | DocumentEntry Associations.type |
target | DocumentEntry Associations.reference |
description | DocumentEntry.comments |
securityLabel | DocumentEntry.confidentialityCode |
content | |
attachment | |
contentType | DocumentEntry.mimeType |
language | DocumentEntry.languageCode |
url | DocumentEntry.repositoryUniqueId or DocuemntEntry.URI |
size | DocumentEntry.size |
hash | DocumentEntry.hash |
title | DocumentEntry.title |
creation | DocumentEntry.creationTime |
format | DocumentEntry.formatCode |
context | |
event | DocumentEntry.eventCodeList |
period | |
start | DocumetEntry.serviceStartTime |
end | DocumentEntry.serviceStopTime |
facilityType | DocumentEntry.healthcareFacilityTypeCode |
practiceSetting | DocumentEntry.practiceSettingCode |
sourcePatientInfo | |
reference | DocumentEntry.sourcePatientInfo |
identifier | DocumentEntry.sourcePatientId |
related | DocumentEntry.referenceIdList using CXi encoding for type when possible |
EPAMHDDocumentReference |
DocumentReference | Entity. Role, or Act, Document[classCode="DOC" and moodCode="EVN"] |
meta | |
id | n/a |
extension | n/a |
text | Act.text? |
contained | N/A |
extension | N/A |
masterIdentifier | n/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT] |
identifier | .id / .setId |
identifier (entryUUID) | n/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT] |
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" |
type | ./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 |
category | .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].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 |
subject | .participation[typeCode="SBJ"].role[typeCode="PAT"] |
id | n/a |
extension | n/a |
reference | N/A |
type | N/A |
identifier | .identifier |
display | N/A |
date | .availabilityTime[type="TS"] |
author | .participation[typeCode="AUT"].role[classCode="ASSIGNED"] |
id | n/a |
extension | n/a |
reference | N/A |
type | N/A |
identifier | .identifier |
display | N/A |
authenticator | .participation[typeCode="AUTHEN"].role[classCode="ASSIGNED"] |
id | n/a |
extension | n/a |
reference | N/A |
type | N/A |
identifier | .identifier |
display | N/A |
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 |
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 |
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 |
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 |
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 |
period | .effectiveTime |
id | n/a |
extension | n/a |
start | ./low |
end | ./high |
facilityType | .participation[typeCode="LOC"].role[classCode="DSDLOC"].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 |
practiceSetting | .participation[typeCode="LOC"].role[classCode="DSDLOC"].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 |
sourcePatientInfo | .participation[typeCode="SBJ"].role[typeCode="PAT"] |
id | n/a |
extension | n/a |
reference | N/A |
type | N/A |
identifier | .identifier |
display | N/A |
related | ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct] |
EPAMHDDocumentReference |
DocumentReference | when describing a CDA |
type | ClinicalDocument/code/@code
The typeCode should be mapped from the ClinicalDocument/code element to a set of document type codes configured in the affinity domain. One suggested coding system to use for typeCode is LOINC, in which case the mapping step can be omitted. |
category | Derived from a mapping of /ClinicalDocument/code/@code to an Affinity Domain specified coded value to use and coding system. Affinity Domains are encouraged to use the appropriate value for Type of Service, based on the LOINC Type of Service (see Page 53 of the LOINC User's Manual). Must be consistent with /ClinicalDocument/code/@code |
subject | ClinicalDocument/recordTarget/ |
author | ClinicalDocument/author |
authenticator | ClinicalDocument/legalAuthenticator |
securityLabel | ClinicalDocument/confidentialityCode/@code |
content | |
attachment | ClinicalDocument/languageCode, ClinicalDocument/title, ClinicalDocument/date |
format | derived from the IHE Profile or Implementation Guide templateID |
context | |
period | ClinicalDocument/documentationOf/
serviceEvent/effectiveTime/low/
@value --> ClinicalDocument/documentationOf/
serviceEvent/effectiveTime/high/
@value |
facilityType | usually a mapping to a local ValueSet. Must be consistent with /clinicalDocument/code |
practiceSetting | usually from a mapping to a local ValueSet |
sourcePatientInfo | ClinicalDocument/recordTarget/ |
related | ClinicalDocument/relatedDocument |
EPAMHDDocumentReference |
DocumentReference | |
masterIdentifier | CX / EI (occasionally, more often EI maps to a resource id or a URL) |
identifier | TXA-16? |
identifier (entryUUID) | CX / EI (occasionally, more often EI maps to a resource id or a URL) |
status | TXA-19 |
type | TXA-2 |
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 |
category | |
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 |
subject | PID-3 (No standard way to define a Practitioner or Group subject in HL7 v2 MDM message) |
author | TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message) |
authenticator | TXA-10 |
description | TXA-25 |
securityLabel | TXA-18 |
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 |
content | |
attachment | TXA-3 for mime type |
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) |
context | |
event | |
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 |
period | |
start | DR.1 |
end | DR.2 |
facilityType | |
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 |
practiceSetting | |
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 |
EPAMHDDocumentReference |
DocumentReference | |
identifier | DocumentEntry.entryUUID |
status | DocumentEntry.availabilityStatus |
type | DocumentEntry.type |
category | DocumentEntry.class |
subject | DocumentEntry.patientId |
author | DocumentEntry.author |
authenticator | DocumentEntry.legalAuthenticator |
relatesTo | DocumentEntry Associations |
code | DocumentEntry Associations type |
target | DocumentEntry Associations reference |
description | DocumentEntry.comments |
securityLabel | DocumentEntry.confidentialityCode |
content | |
attachment | DocumentEntry.mimeType, DocumentEntry.languageCode, DocumentEntry.URI, DocumentEntry.size, DocumentEntry.hash, DocumentEntry.title, DocumentEntry.creationTime |
format | DocumentEntry.formatCode |
context | |
event | DocumentEntry.eventCodeList |
period | DocumentEntry.serviceStartTime, DocumentEntry.serviceStopTime |
facilityType | DocumentEntry.healthcareFacilityTypeCode |
practiceSetting | DocumentEntry.practiceSettingCode |
sourcePatientInfo | DocumentEntry.sourcePatientInfo, DocumentEntry.sourcePatientId |
related | DocumentEntry.referenceIdList |