piotrnowicki / hl7toxml Goto Github PK
View Code? Open in Web Editor NEWApplication allows to transform HL7 (medical information storage protocol) to XML defined format
Application allows to transform HL7 (medical information storage protocol) to XML defined format
This is an University project which aim was to provide transformation from HL7 medical data format to flexibly configured XML. It starts a scheduler which listens for input files in specified directory and executed the transformer every x seconds. The results are stored in a separate directory. The XML element and attribute names can be adequatly set in the configuration file. An example of application results can be find below (data was anonimized). ---------------------------------- HL7 input file ---------------------------------- MSH|^~\&|2|CHAZON2|1|CHAZON|20081222110953798||ORU^R01|CHAZON220081222110953798|P|2.3|||||POL||PL PID||46911|7HG2K|03220400779^^^^P|Nowakowski^Piotr||20030204|M|||Spokojna 13^^Warszawa^^|04||||||||||||||||PL OBR|1|3212|125773|416^Klatka piersiowa bez kontrastu||||||||||||102^Doktor^Andrzej^^^^^^3234569 OBX|1||13MN2AK|1|Opis testowy klatki piersiowej.||||||F|||20081222110953||51^LEKARSKI^JAN^^^^^^5555553 ---------------------------------- XML result after transformation ---------------------------------- <?xml version="1.0" encoding="UTF-8" standalone="no"?> <HL7XML> <Header TimeOfMessage="20081222110953798"> <SendingApplication>2</SendingApplication> <SendingFacility>CHAZON2</SendingFacility> <ReceivingApplication>1</ReceivingApplication> <ReceivingFacility>CHAZON</ReceivingFacility> <MessageType subtypeId="R01" typeId="ORU" /> <MessageControlID>CHAZON220081222110953798</MessageControlID> <ProcessingID>P</ProcessingID> <VersionID>2.3</VersionID> <CountryCode>POL</CountryCode> <LanguageOfMsg>PL</LanguageOfMsg> </Header> <Patient PatientID="46911"> <PatientIDList>7HG2K</PatientIDList> <AltPID> <ID>03220400779</ID> <AssigningFacility>P</AssigningFacility> </AltPID> <Name> <FamilyName>Nowakowski</FamilyName> <GivenName>Piotr</GivenName> </Name> <DateOfBirth>20030204</DateOfBirth> <Sex>M</Sex> <Address> <StreetAddress>Spokojna 13</StreetAddress> <City>Warszawa</City> </Address> <CountryCode>04</CountryCode> <Nationality>PL</Nationality> </Patient> <Observation PlacerOrderNo="3212" SetID="1"> <FilerOrderNo>125773</FilerOrderNo> <UniversalServiceID> <ID>416</ID> <Text>Klatka piersiowa bez kontrastu</Text> </UniversalServiceID> <OrderingProvider> <ID>102</ID> <Name>Doktor</Name> <GivenName>Andrzej</GivenName> <AssigningAuthority>3234569</AssigningAuthority> </OrderingProvider> </Observation> <OBX> <field1>1</field1> <field3>13MN2AK</field3> <field4>1</field4> <field5>Opis testowy klatki piersiowej.</field5> <field11>F</field11> <field14>20081222110953</field14> <field16> <comp1>51</comp1> <comp2>LEKARSKI</comp2> <comp3>JAN</comp3> <comp9>5555553</comp9> </field16> </OBX> </HL7XML> ==============================================================================
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.