Beispiel #1
0
        public void onDebugStartWithMessage()
        {
            string path  = @"C:\Users\chrisb\Documents\ApplicationDevelopment\Working\HL7Broker.root\HL7Broker\HL7Broker\Messages\ORMSC_LOCATION.hl7";
            string input = HL7Message.ReadHL7FromFile(path);
            // attempt to scrub message
            string hl7Input = HL7MessageUtility.scrubHL7MessageForParse(input);

            // Get Incoming HL7 Message Configuration
            HL7Message hl7Message = HL7MessageDAO.getMessage(hl7Input);

            string value = HL7MessageUtility.getValueByPosition(hl7Message, Generic.SegmentType.PV1, "11.2");
        }