id | title | date | version | lastAuthor | mimeType | links | source | wikigdrive |
---|---|---|---|---|---|---|---|---|
1cTfexHAjqrATjQBWLjf1QyHgX8r0DXDHCuEjVuazhAg |
HL7 - RESTful |
2024-12-02T18:29:54.487Z |
98 |
djiamjirarat |
text/x-markdown |
0008bcbb1563384efe0a28ada6f97e9432e65f10 |
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 |
Select file to upload:
Interface Name:
#!/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"