-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Mllp work * Updates * Config fix * attempted workflow fix * Openhim config fix * version bump and workflow fix * Small fix
- Loading branch information
Showing
16 changed files
with
562 additions
and
492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
MSH|^~\&|||||202109211304||ADT^A04|54200|D|2.4|||AL|NE| | ||
EVN||202109211304|||MT^MEDITECH|202109211304| | ||
PID|1||GG00001280^^^^MR^GGC~OMANG123^^^^SS^GGC~GG1403^^^^PI^GGC~MOH0004687^^^^HUB^GGC||Test^ADT^Message^^^^L||19790921|F|||PLOT 123^^Gaborone^B^0101||00267891608025|||S||XG0000002195| | ||
NK1|1|Test^Test|BR^Brother|Plot 123^^Gaborone^B^0101|00267891608029||NOK| | ||
PV1|1|O|HGGMMO|RF|||K^Naicker^Kalvin^^^^^^^^^^XX|||||||||||CLI||U|||||||||||||||||||GGC||REG|||202109211304| | ||
PV2|||||||||||1||||||||||||||RF|||||||||||N| | ||
ROL|1|AD|AT|K^Naicker^Kalvin^^^^^^^^^^XX| | ||
ROL|2|AD|PP|GENPRI00^Doctor^Private^^^^^^^^^^XX| | ||
GT1|1||Test^ADT^Message||PLOT 123^^Gaborone^B^0101|00267891608025|||||SF|OMANG123| | ||
IN1|1|Citizens||Citizens|Botswana Government^Ministry of Health^Gaborone^B^0101| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
MSH|^~\&|LAB|GGC|||202106101550||ORU^R01|165293.1|D| | ||
PID|1|TEST0062404|GG00042482^^^^MR^GGC~GG5714^^^^PI^GGC~TEST0062404^^^^HUB^GGC||Murambi^Tawanda||19880616|M||CT|Plot 1011^^Gaborone^Botswana^00267|||||M|| ZG0000044218| | ||
OBR|1|MOH001^LAB|68222^LAB|COVID^SARS-CoV-2 PCR^L|||202106031400|||||||202106101545||ZZHGGMMO^Healthpost^Mmopane||00049731||||||LAB|F||^^^^^R| | ||
OBX|1|ST|SARS-CoV-2 PCR^SARS-CoV-2 PCR^L||INCONCLUSIVE|||N||A^S|F||||GNHL^National Health Laboratory^L| | ||
OBX|2|ST|S-Cov-2 RVW^SARS-CoV-2 PCR REVIEW^L||.|||N||A^S|F|||202106101549|GNHL^National Health Laboratory^L| | ||
NTE|1| | ||
NTE|2| | ||
NTE|3||SARS-CoV-2 PCR Tests Authorised by: MEDITECH| | ||
NTE|4||Authorised Date: 10/06/21 1549| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
hostname="shr" | ||
port=3001 | ||
|
||
for hl7File in messages/* | ||
do | ||
echo "Testing $hl7File" | ||
lines="" | ||
|
||
while IFS='' read -r LINE || [ -n "${LINE}" ]; do | ||
LINE=`echo $LINE | sed -e 's/^[[:space:]]*//'` | ||
echo "processing line: ${LINE}" | ||
lines="${lines}${LINE}\x0d" | ||
done < $hl7File | ||
|
||
msg="\x0b${lines}\x1c\x0d" | ||
|
||
echo $hostname | ||
echo $msg | ||
|
||
echo -ne $msg | socat - TCP:$hostname:$port | ||
done |
Oops, something went wrong.