ГОСТ Р MCO/HL7 27931-2015
Г ORM - Общее сообщение заказа 7
orm:SOM MSH ST NoteOptGrp PidOptClausel ORCGrp EOM ;
PidOptClausel:
|PID ST NoteOptGrp ALIOptGrp PVIOpt ;
ORCGrp: ORC ST DetailOptClause
|ORC ST DetailOptClause ORCGrp ;
DetailOptClause:
|OrderSeg OBXDOptGrp BLGOpt;
OBXDOptGrp:
|OBXDGrp;
OBXDGrp: OBX ST NoteOptGrp
|OBX ST NoteOptGrp OBXDGrp ;
OrderSeg: OBR ST NoteOptGrp
|Supplies NoteOptGrp
|ODSGrp NoteOptGrp
|ODTGrp NoteOptGrp;
Supplies: ROD ST
|ROD ST RQ1 ST ;
Г ORR - Общее сообщение подтверждения заказа 7
orr:Orr1
IOrr2;
Orr1:SOM MSHorrl ST MSA ST ERROpt NoteOptGrp PidOptClause2 EOM ;
Orr2:SOM MSHorr2 ST MSA ST ERROpt NoteOptGrp RxOptResponse EOM ;
RxOpt Response:
|RxResponse;
RxResponse: PIDOpt PrescriptionGrp;
PrescriptionGrp: ORC ST PrescriptionOpt
|ORC ST PrescriptionOpt PrescriptionGrp ;
PrescriptionOpt:
|Prescription;
Prescription: RXO ST NoteOptGrp RXRGrp ST RXCNOptGrp ;
PidOptClause2:
|PIDOpt ORCGrpI ;
ORCGrpI: ORC ST OrderSegOpt
|ORC ST OrderSegOpt ORCGrpI ;
2403