Mappings for the fujitsu-documentreference resource profile.
FujitsuDocumentReference |
DocumentReference | Entity. Role, or Act, Document[classCode="DOC" and moodCode="EVN"] |
text | Act.text? |
contained | N/A |
identifier | .id / .setId |
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 |
coding | union(., ./translation) |
system | ./codeSystem |
code | ./code |
display | CV.displayName |
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) |
system | ./codeSystem |
code | ./code |
display | CV.displayName |
text | ./originalText[mediaType/code="text/plain"]/data |
subject | .participation[typeCode="SBJ"].role[typeCode="PAT"] |
reference | N/A |
identifier | .identifier |
date | .availabilityTime[type="TS"] |
author | .participation[typeCode="AUT"].role[classCode="ASSIGNED"] |
reference | N/A |
identifier | .identifier |
content | document.text |
attachment | document.text |
contentType | ./mediaType, ./charset |
data | ./data |
url | ./reference/literal |
format | document.text |
system | ./codeSystem |
code | ./code |
display | CV.displayName |
context | outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT'] |
encounter | unique(highest(./outboundRelationship[typeCode="SUBJ" and isNormalActRelationship()], priorityNumber)/target[moodCode="EVN" and classCode=("ENC", "PCPR") and isNormalAct]) |
reference | N/A |
identifier | .identifier |
period | .effectiveTime |
FujitsuDocumentReference |
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 |
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 |
FujitsuDocumentReference |
DocumentReference | |
identifier | TXA-16? |
status | TXA-19 |
type | TXA-2 |
coding | C*E.1-8, C*E.10-22 |
system | C*E.3 |
code | C*E.1 |
display | C*E.2 - but note this is not well followed |
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 |
code | C*E.1 |
display | C*E.2 - but note this is not well followed |
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) |
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 |
data | ED.5 |
url | RP.1+RP.2 - if they refer to a URL (see v2.6) |
format | |
system | C*E.3 |
code | C*E.1 |
display | C*E.2 - but note this is not well followed |