|
MessageHeader
|
MSH
/
MSA
/
ERR
|
|
event[x]
|
MSH-9.2
|
|
destination
| |
|
name
|
MSH-5
|
|
target
| |
|
endpoint
|
MSH-25
(or
MSH-6)
|
|
receiver
|
PRT-5:PRT-4='WAYR'
/
PRT-8:PRT-4='WAYR'
|
|
sender
|
PRT-5:PRT-4='WAYR'
/
PRT-8:PRT-4='WAYR'
|
|
enterer
|
unique(./controlAct[classCode="CACT"
and
classCode="EVN"
and
isNormalAct()]/participation[typeCode="ENT"
and
isNormalParticipation]/role[classCode="ASSIGNED"
and
isNormalRole()]/player[isNormalEntity()
and
classCode=("DEV",
"PSN")
and
determinerCode="INST"])
EVN-5
/
ORC-10
/
PRT-5:PRT-4='EP'
/
ROL
where
ROL.3
is
EP
or
ORC.10
|
|
author
|
unique(./controlAct[classCode="CACT"
and
classCode="EVN"
and
isNormalAct()]/participation[isHighest(priorityCode)
and
typeCode="AUT"
and
isNormalParticipation]/role[classCode="ASSIGNED"
and
isNormalRole()]/player[isNormalEntity()
and
classCode=("DEV",
"PSN")
and
determinerCode="INST"])
ORC-19
/
PRT-5:PRT-4='AUT'
/
ROL
where
ROL.3
is
IP
or
ORC.12
|
|
source
|
unique(./communicationFunction[typeCode="SND"])
|
|
name
|
unique(./entity[determinerCode="INST"
and
classCode="DEV"]/name[type='ST'
and
isNormalDatatype()])
MSH-3
|
|
software
|
unique(./entity[determinerCode="INST"
and
classCode="DEV"]/softwareName[isNormalDatatype()])
SFT-3
(
+SFT-1)
|
|
version
|
(Not
supported)
SFT-2
|
|
contact
|
unique(./entity[determinerCode="INST"
and
classCode="DEV"]/scopesRole[normalRole()
and
classCode="CON"
and
layer[classCode="PSN"]/telecom[isNormalDatatype()])
(MSH-22?)
|
|
endpoint
|
./telecom[isNormalDatatype()]
MSH-24
|
|
responsible
|
unique(./controlAct[classCode="CACT"
and
classCode="EVN"
and
isNormalAct()]/participation[isHighest(priorityCode)
and
typeCode="RESP"
and
isNormalParticipation]/role[classCode="ASSIGNED"
and
isNormalRole()]/player[isNormalEntity()
and
classCode="PSN"
and
determinerCode="INST"]
ORC-12
/
PRT-5:PRT-4='OP'
/
PRT-8:PRT-4='OP'
/
ROL
where
ROL.3
is
RO
or
./controlAct[classCode="CACT"
and
classCode="EVN"
and
isNormalAct()]/participation[isHighest(priorityCode)
and
typeCode="RESP"
and
isNormalParticipation]/role[classCode="ASSIGNED"
and
isNormalRole()]/scoper[isNormalEntity()
and
classCode="ORG"
and
determinerCode="INST"])
ORC.11
|
|
reason
|
unique(./controlAct[classCode="CACT"
and
classCode="EVN"
and
isNormalAct()]/reasonCode[isNormalDatatype()])
EVN.4
/
ORC.16
/
OBR-31-reason
for
study
/
BPO-13-BP
indication
for
use
/
RXO-20-indication
/
RXE-27-give
indication
/
RXD-21-indication
/
RXG-22-indication
/
RXA-19-indication
|
|
response
|
./conveyedAcknowledgement
MSA
|
|
identifier
|
./acknowledges.id[isNormalDatatype()]
MSA-2
|
|
code
|
./typeCode[isNormalDatatype()]
MSA-1
|
|
details
|
AcknowledgementDetail
or
Observation[classCode="ALRT"
and
moodCode="EVN"]
ERR
|
|
focus
|
unique(./controlAct[classCode="CACT"
and
classCode="EVN"
and
isNormalAct()]/participation[typeCode="SUBJ"
and
isNormalParticipation]/role
or
./controlAct[classCode="CACT"
and
classCode="EVN"
and
isNormalAct()]/outboundRelationship[typeCode="SBJ"
and
isNormalActRelatoinship]/target)
|
|
definition
|
|
|
MessageHeader
|
MSH
/
MSA
/
ERR
Message
|
event
event[x]
|
MSH-9.2
./payload[classCode="CACT"
and
moodCode="EVN"
and
isNormalAct()]/code[isNormalDatatype()]/code
|
|
destination
|
./communicationFunction[typeCode="RCV"]
|
|
name
|
MSH-5
unique(./entity[determinerCode="INST"
and
(classCode=("DEV",
"PSN",
"ORG"]/name[type='ST'
and
isNormalDatatype()])
|
|
target
|
endpoint
MSH-25
(or
MSH-6)
unique(./entity[determinerCode="INST"
and
(classCode=("DEV",
"PSN",
"ORG"]
|
receiver
endpoint
|
PRT-5:PRT-4='WAYR'
/
PRT-8:PRT-4='WAYR'
./telecom
|
sender
receiver
|
PRT-5:PRT-4='WAYR'
/
PRT-8:PRT-4='WAYR'
Not
directly
supported.
Could
be
shared
using
attentionLine.value
with
an
appropriate
keyWordText
|
timestamp
sender
|
MSH-7
Not
directly
supported.
Could
be
shared
using
attentionLine.value
with
an
appropriate
keyWordText
|
|
enterer
|
EVN-5
/
ORC-10
/
PRT-5:PRT-4='EP'
/
ROL
where
ROL.3
is
EP
or
ORC.10
unique(./controlAct[classCode="CACT"
and
classCode="EVN"
and
isNormalAct()]/participation[typeCode="ENT"
and
isNormalParticipation]/role[classCode="ASSIGNED"
and
isNormalRole()]/player[isNormalEntity()
and
classCode=("DEV",
"PSN")
and
determinerCode="INST"])
|
|
author
|
ORC-19
/
PRT-5:PRT-4='AUT'
/
ROL
where
ROL.3
is
IP
or
ORC.12
unique(./controlAct[classCode="CACT"
and
classCode="EVN"
and
isNormalAct()]/participation[isHighest(priorityCode)
and
typeCode="AUT"
and
isNormalParticipation]/role[classCode="ASSIGNED"
and
isNormalRole()]/player[isNormalEntity()
and
classCode=("DEV",
"PSN")
and
determinerCode="INST"])
|
|
source
|
unique(./communicationFunction[typeCode="SND"])
|
|
name
|
MSH-3
unique(./entity[determinerCode="INST"
and
classCode="DEV"]/name[type='ST'
and
isNormalDatatype()])
|
|
software
|
SFT-3
(
+SFT-1)
unique(./entity[determinerCode="INST"
and
classCode="DEV"]/softwareName[isNormalDatatype()])
|
|
version
|
SFT-2
(Not
supported)
|
|
contact
|
(MSH-22?)
unique(./entity[determinerCode="INST"
and
classCode="DEV"]/scopesRole[normalRole()
and
classCode="CON"
and
layer[classCode="PSN"]/telecom[isNormalDatatype()])
|
|
endpoint
|
MSH-24
./telecom[isNormalDatatype()]
|
|
responsible
|
ORC-12
/
PRT-5:PRT-4='OP'
/
PRT-8:PRT-4='OP'
/
ROL
where
ROL.3
is
RO
unique(./controlAct[classCode="CACT"
and
classCode="EVN"
and
isNormalAct()]/participation[isHighest(priorityCode)
and
typeCode="RESP"
and
isNormalParticipation]/role[classCode="ASSIGNED"
and
isNormalRole()]/player[isNormalEntity()
and
classCode="PSN"
and
determinerCode="INST"]
or
ORC.11
./controlAct[classCode="CACT"
and
classCode="EVN"
and
isNormalAct()]/participation[isHighest(priorityCode)
and
typeCode="RESP"
and
isNormalParticipation]/role[classCode="ASSIGNED"
and
isNormalRole()]/scoper[isNormalEntity()
and
classCode="ORG"
and
determinerCode="INST"])
|
|
reason
|
EVN.4
/
ORC.16
/
OBR-31-reason
for
study
/
BPO-13-BP
indication
for
use
/
RXO-20-indication
/
RXE-27-give
indication
/
RXD-21-indication
/
RXG-22-indication
/
RXA-19-indication
unique(./controlAct[classCode="CACT"
and
classCode="EVN"
and
isNormalAct()]/reasonCode[isNormalDatatype()])
|
|
response
|
MSA
./conveyedAcknowledgement
|
|
identifier
|
MSA-2
./acknowledges.id[isNormalDatatype()]
|
|
code
|
MSA-1
./typeCode[isNormalDatatype()]
|
|
details
|
ERR
AcknowledgementDetail
or
Observation[classCode="ALRT"
and
moodCode="EVN"]
|
|
focus
|
unique(./controlAct[classCode="CACT"
and
classCode="EVN"
and
isNormalAct()]/participation[typeCode="SUBJ"
and
isNormalParticipation]/role
or
./controlAct[classCode="CACT"
and
classCode="EVN"
and
isNormalAct()]/outboundRelationship[typeCode="SBJ"
and
isNormalActRelatoinship]/target)
|
|
definition
|
Not
directly
supported.
|