Why when i save and transmit the procedure order with all informatio fullfiled
The procedure order gnerate an icomplete Hl7 message without PID and PV1
dependeing I use ICD 10 codes and ICD 9 codes,
I am asking for th complete Hl7 message
MSH - Message Header
2 O * SFT - Software Segment
R * Y – PATIENT RESULT
O 1 Y – PATIENT
3 R 1 PID - Patient Identification
4 O 1 PD1 - Patient Additional Demographic
5 O * NTE - Notes and Comments
6 O * NK1 - Next of Kin / Associated Parties
O 1 Y – VISIT
7 R 1 PV1 - Patient Visit
R * Y – ORDER OBSERVATION
9 O 1 ORC - Common Order
10 R 1 OBR - Observation Request
The program that creates that transmit file is located in openemr/interface/orders and is called gen_hl7_order.inc.php. I do not see an obvious reason why the PID and PV1 segments would not be generated. Are you getting an error in the PHP log file?
Hy Terry
I just identfied the issue maybe in gen_hl7_order.inc.php:
When i specify in the provider: prtocol : download i get all the information the hl7 message with PID and PV1, …
But when i specify in the protocol: Local file system the structure off the hl7 message is incomplete