HL7 - RESTful
Covered by this topic
CGI Vars Explained
Attribute | Description | Value Type (O=Optional, R=Required, Rv=Required to be the value listed) | Sample or Required Values |
f | Tells system you are requesting to do an HL7 upload. | Rv | wchl7 |
interface | Tells system the name of the configuration to use. | R | lab_abc |
message | The actual HL7 to upload | R | MSH|^~\&|SendingApp|SendingFac|ReceivingApp|ReceivingFac|20120411070545||ORU^R01|59689|P|2.3 |
login_user | Username assigned to your posting account | R | username1 |
login_passwd | Password assigned to your posting account | R | p@ssw0rd |
Sample Webform Post
Sample Bash Script
#!/bin/bash
if [ $# -lt 5 ]; then
echo Usage: $0 interface message user password url
exit 1
fi
INTERFACE=$1
MESSAGE=$2
LOGINUSER=$3
LOGINPASS=$4
URL=$5
curl -i \
-F "f=wchl7" \
-F "interface=$INTERFACE" \
-F "login_user=$LOGINUSER" \
-F "login_passwd=$LOGINPASS" \
-F "message=@$MESSAGE" \
"$URL"
Supported Message Types
Enterprise Health and WebChart Preview Documentation
Last Updated:
Last Build:
Fri, 13 Dec 2024 17:11:58 UTC
WikiGDrive Version: 2aacb51f060d0354a678419290943a99bd16aad1