MSH|^~\&|ANAE_DRAEGER_INNOVIAN|PWH|EPR|HAHO|201403120642||ORU^R01^ORU_R01|14031206421377653599|P|2.3.1|||AL|AL|HKG|ASCII|ENG
PID|1||HKID:TM0000704||CDI^TESTING PATIENT 070||19600404|M
PV1|1|I|M3OR^2||||||||||||||||HN12000056W||||||||||||||||||||PWH
OBR|1|OTB130002429||1004057^Anesthesia information system - Vendor Draeger||20140312114031|20140312114031|||||||||||||||20140312114031|||F
OBX|1|RP|102557^^^^Intraop||ftp://192.168.1.1/pdf/PWH_102557_OTB080077088_201431264037.pdf||25383||||F|||20140312114031||CREATED:UPDATED:
EXPLANATION:
MSH-Segment 4 = Sending Facility = PWH in my Case.
Or the Code of other HA hospital in Hong Kong, e.g. YCH = Yan Chai Hospital, PMH = Princess Margaret Hospital, NDH = North District Hospital, etc) (Depend on where Innovian is installed.) DCorrect Hospital Code is important for HA to for validating HA Case Number.
PV1-Segment 2 = patient class = “I” = In-Patient, because PV1-Segment 19 start with “HN” (Hospital Number). If PV1-19 starts with “OP” = “O”, “HN” =”I”, “AE” = “A”.
PV1-39 = Servicing facility
Value = Hospital Code of service provider
Example:
“PWH”
PV1-39 = MSH-4
In OBR-2, using OTBooking no is correct.
Example:
OTB130002429
However, if no OTMS Booking Number in the format OTB080077088 is available
Value =
Unique Study Number
Document-ID (max. 10 digits) || Report Create Year (2 digits) || serial number (8 digits)
unique Study Number Example:
00001025571400045678 (for Intraop Anaesthesia report)
00001025561400045678 (for postop Recovery report)
OBR-4.1 = Universal service ID = Value = HA designated Form Entity ID for system or electronic form
= 1004057 for Anesthesia information system - Vendor Draeger
In OBX-5,
An ftp connection required for pdf export, vendor side will need to configure and host an FTP server with supports passive mode. The PDF file for upload file should place in the ftp server. Hospital networkshare is not used.
Therefore the OBX.5 Filename format is
protocol+server address+”/” +path (if any)+ ”/” +filename
Filename Format is
Hospital code (max. 10 digits) || Form-ID (max. 10 digits) ||Trimmed OTMS booking number|| PDF Create Datetime
OBX.5 should therefore read like
ftp://192.168.1.1/pdf/PWH_102557_OTB080077088_20120510171508.pdf
--for intraop anaesthesia report
OBX.5 should therefore read like
ftp://192.168.1.1/pdf/102556_OTB130002429_201431264037.pdf
--for postop recovery report
--For the hospital code:
PWH is prince of Wales Hospital
VH is virtual hospital, not a real hospital. VH is for testing messages only.
FTP SERVER ADDRESS:
protocol+server address+”/” +path (if any)
The path is optional as stated in the specification. THE path assumption will depend on your internal configuration. NEED TO ensure the path and files are accessible from the ftp server with the provide user account. The interface application would access the file via the path directly just like in a web browser. In fact, it should be a very common practice and syntax for ftp.
FTP URL syntax is in the form: ftp://[<user>[:<password>]@]<host>[:<port>]/<url-path>
The bracketed parts are optional.
For example, the URL ftp://public.ftp-servers.example.com/mydirectory/myfile.txt represents the file myfile.txt from the directory mydirectory on the server public.ftp-servers.example.com as an FTP resource. The URL ftp://user001:secretpassword@private.ftp-servers.example.com/mydirectory/myfile.txt adds a specification of the username and password that must be used to access this resource.
OBX-11 = Observation result status= “C” – Update ; “D” – Delete; “F” – Add.
(We should use “F” – Add for the first upload of the pdf report. Subsequently, we should use “C” – Update for second and third uploading of the same pdf report.
Remark: Deleting report “ D” should be a “superuser” “User with Admin privilege”, NOT a regular Innovian user. E.g. Dr WH Kwok or Miss Koman Lam will have admin privilege.