This page is part of the Argonaut Data Query Implementation Guide (v1.0.0: Release) based on FHIR R2. This is the current published version. For a full list of available versions, see the Directory of published versions
Mappings for the StructureDefinition-argo-documentreference Profile.
Argonaut DocumentReference Profile | ||
DocumentReference | argoprofile | Document[classCode="DOC" and moodCode="EVN"] |
id | ||
meta | ||
implicitRules | ||
language | ||
text | Act.text? | |
contained | N/A | |
extension | N/A | |
modifierExtension | N/A | |
masterIdentifier | .id | |
identifier | .id / .setId | |
subject | .participation[typeCode="SBJ"].role[typeCode="PAT"] | |
type | ./code | |
class | .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code | |
author | .participation[typeCode="AUT"].role[classCode="ASSIGNED"] | |
custodian | .participation[typeCode="RCV"].role[classCode="CUST"].scoper[classCode="ORG" and determinerCode="INST"] | |
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 | |
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 | |
encounter | unique(highest(./outboundRelationship[typeCode="SUBJ" and isNormalActRelationship()], priorityNumber)/target[moodCode="EVN" and classCode=("ENC", "PCPR") and isNormalAct]) | |
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 |
Argonaut DocumentReference Profile | ||
DocumentReference | argoprofile | infrastructure.documents |
id | ||
meta | ||
implicitRules | ||
language | ||
text | ||
contained | ||
extension | ||
modifierExtension | ||
masterIdentifier | id | |
identifier | id | |
subject | who.focus | |
type | class | |
class | class | |
author | who.author | |
custodian | ||
authenticator | who.witness | |
created | when.done | |
indexed | when.recorded | |
status | status | |
docStatus | status | |
relatesTo | ||
id | ||
extension | ||
modifierExtension | ||
code | ||
target | ||
description | ||
securityLabel | ||
content | ||
id | ||
extension | ||
modifierExtension | ||
attachment | ||
id | ||
extension | ||
contentType | ||
language | ||
data | ||
url | ||
size | ||
hash | ||
title | ||
creation | ||
format | ||
context | ||
id | ||
extension | ||
modifierExtension | ||
encounter | context | |
event | ||
period | ||
facilityType | ||
practiceSetting | ||
sourcePatientInfo | ||
related | ||
id | ||
extension | ||
modifierExtension | ||
identifier | ||
ref |
Argonaut DocumentReference Profile | ||
DocumentReference | argoprofile | |
id | ||
meta | ||
implicitRules | ||
language | ||
text | ||
contained | ||
extension | ||
modifierExtension | ||
masterIdentifier | DocumentEntry.uniqueId | |
identifier | DocumentEntry.entryUUID | |
subject | DocumentEntry.patientId | |
type | DocumentEntry.type | |
class | DocumentEntry.class | |
author | DocumentEntry.author | |
custodian | ||
authenticator | DocumentEntry.legalAuthenticator | |
created | DocumentEntry.submissionTime | |
indexed | DocumentEntry.submissionTime | |
status | DocumentEntry status | |
docStatus | ||
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 | ||
encounter | ||
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 |
Argonaut DocumentReference Profile | ||
DocumentReference | argoprofile | |
id | ||
meta | ||
implicitRules | ||
language | ||
text | ||
contained | ||
extension | ||
modifierExtension | ||
masterIdentifier | TXA-12 | |
identifier | TXA-16? | |
subject | PID-3 (No standard way to define a Practitioner or Group subject in HL7 v2 MDM message) | |
type | TXA-2 | |
class | ||
author | TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message) | |
custodian | ||
authenticator | TXA-10 | |
created | TXA-6 | |
indexed | ||
status | TXA-19 | |
docStatus | TXA-17 | |
relatesTo | ||
id | ||
extension | ||
modifierExtension | ||
code | ||
target | ||
description | TXA-25 | |
securityLabel | TXA-18 | |
content | ||
id | ||
extension | ||
modifierExtension | ||
attachment | TXA-3 for mime type | |
id | ||
extension | ||
contentType | ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used | |
language | ||
data | ED.5 | |
url | RP.1+RP.2 - if they refer to a URL (see v2.6) | |
size | ||
hash | ||
title | ||
creation | ||
format | ||
context | ||
id | ||
extension | ||
modifierExtension | ||
encounter | ||
event | ||
period | ||
facilityType | ||
practiceSetting | ||
sourcePatientInfo | ||
related | ||
id | ||
extension | ||
modifierExtension | ||
identifier | ||
ref |