Mappings
for
the
composition
resource.
|
Composition
|
Document[classCode="DOC"
and
moodCode="EVN"
and
isNormalAct()]
|
identifier
identifier
|
Document.id
/
Document.setId
|
date
.effectiveTime[type="TS"]
type
./code
class
.outboundRelationship[typeCode="COMP].target[classCode="LIST",
moodCode="EVN"].code
title
./title
status
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("ReviseComposition",
code)
and
isNormalAct()]);
amended:
.completionCode="AU"
&&
./statusCode[isNormalDatatype()]="complete"
and
./inboundRelationship[typeCode="SUBJ"
and
isNormalActRelationship()]/source[subsumesCode("ActClass#CACT")
and
moodCode="EVN"
and
domainMember("ReviseComposition",
code)
and
isNormalAct()
and
statusCode="completed"];
withdrawn
:
.completionCode=NI
&&
./statusCode[isNormalDatatype()]="obsolete"
|
confidentiality
type
|
.confidentialityCode
./code
|
subject
class
| .outboundRelationship[typeCode="COMP].target[classCode="LIST",
moodCode="EVN"].code
|
|
subject
|
.participation[typeCode="SBJ"].role[typeCode="PAT"]
|
author
encounter
|
unique(highest(./outboundRelationship[typeCode="SUBJ"
and
isNormalActRelationship()],
priorityNumber)/target[moodCode="EVN"
and
classCode=("ENC",
"PCPR")
and
isNormalAct])
|
|
date
| .effectiveTime[type="TS"] |
|
author
|
.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
|
attester
title
| ./title |
|
confidentiality
| .confidentialityCode |
|
attester
|
.participation[typeCode="AUTHEN"].role[classCode="ASSIGNED"]
|
mode
mode
|
unique(./modeCode)
|
time
time
|
./time[type="TS"
and
isNormalDatatype()]
|
party
party
|
./role[classCode="ASSIGNED"
and
isNormalRole]/player[determinerCode="INST"
and
classCode=("DEV",
"PSN")
and
isNormalEntity()]
or
./role[classCode="ASSIGNED"
and
isNormalRole
and
not(player)]/scoper[determinerCode="INST"
and
classCode="ORG"
and
isNormalEntity()]
|
custodian
custodian
|
.participation[typeCode="RCV"].role[classCode="CUST"].scoper[classCode="ORG"
and
determinerCode="INST"]
|
event
relatesTo
|
.outboundRelationship
|
outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT']
code
| .outboundRelationship.typeCode
|
code
target[x]
|
.code
.target[classCode="DOC",
moodCode="EVN"].id
|
period
event
|
.effectiveTime
outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT']
|
detail
code
|
.outboundRelationship[typeCode="SUBJ"].target
.code
|
encounter
period
| .effectiveTime
|
unique(highest(./outboundRelationship[typeCode="SUBJ"
and
isNormalActRelationship()],
priorityNumber)/target[moodCode="EVN"
and
classCode=("ENC",
"PCPR")
and
isNormalAct])
detail
| .outboundRelationship[typeCode="SUBJ"].target
|
section
section
|
./outboundRelationship[typeCode="COMP"
and
isNormalActRelationship()]/target[moodCode="EVN"
and
classCode="DOCSECT"
and
isNormalAct]
|
title
title
|
./title
|
code
code
|
./code
|
text
text
|
.text
|
mode
mode
|
.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
|
orderedBy
orderedBy
|
.outboundRelationship[typeCode=COMP].sequenceNumber
>
1
|
entry
entry
|
.outboundRelationship[typeCode=COMP]
or
.participation[typeCode=SBJ]
|
emptyReason
emptyReason
|
.inboundRelationship[typeCode=SUBJ,code<{ListEmptyReason}].value[type=CD]
|
section
section
|
./outboundRelationship[typeCode="COMP"
and
isNormalActRelationship()]/target[moodCode="EVN"
and
classCode="DOCSECT"
and
isNormalAct]
|
|
Composition
|
ClinicalDocument
|
(meta.profile)
(meta.profile)
|
ClinicalDocument.templateId
|
(language)
(language)
|
ClinicalDocument.languageCode
|
identifier
identifier
|
.setId
|
date
status
|
.effectiveTime
n/a
|
type
type
|
.code
|
class
class
|
n/a
|
title
subject
|
.title
.recordTarget
|
status
encounter
|
.componentOf.encompassingEncounter
|
n/a
date
| .effectiveTime
|
confidentiality
author
|
.confidentialityCode
.author.assignedAuthor
|
subject
title
|
.recordTarget
.title
|
author
confidentiality
|
.author.assignedAuthor
.confidentialityCode
|
attester
attester
|
.authenticator/.legalAuthenticator
|
mode
mode
|
implied
by
.authenticator/.legalAuthenticator
|
time
time
|
.authenticator.time
|
party
party
|
.authenticator.assignedEnttty
|
custodian
custodian
|
.custodian.assignedCustodian
|
event
relatesTo
|
.documentationOf.serviceEvent
.relatedDocument
|
code
code
|
.code
.relatedDocument.typeCode
|
period
target[x]
|
.effectiveTime
.relatedDocument.id
|
detail
event
| .documentationOf.serviceEvent
|
n/a
code
| .code
|
encounter
period
|
.componentOf.encompassingEncounter
.effectiveTime
|
section
detail
|
n/a
|
|
section
|
.component.structuredBody.component.section
|
title
title
|
.title
|
code
code
|
.code
|
text
text
|
.text
|
mode
mode
|
n/a
|
orderedBy
orderedBy
|
n/a
|
entry
entry
|
.entry
|
emptyReason
emptyReason
|
n/a
|
section
section
|
.component.section
|