Hello I have a sample message below:
MSH|^~\&|SOURCE|383018129|PRIORITY HEALTH|382715520|||ORM^O01|0129938170710091448|P|2.3 PID|1|1140004|1140004|1140004|GIBSON^WENDY^ANNE||19540722|F|||BOX 391^226 DAVIES ST^IGNACE^ON^P0T 1T0||(403)934-2893|||M||TB122325/15|1140004 In the code, I use the following methods to receive the home phone number. However, the value is always null, where the value should be (403)934-2893. PID pidSegment = ((ORM_O01)message).getPATIENT().getPID(); String phoneNumber = pidSegment.getPhoneNumberHome(0).getPhoneNumber().getValue(); Please advise as to what I did wrong here. Thanks -- Dayu Han Software Developer Strata Health Solutions Office: +1.403.261.0855 x2102 Website <http://www.stratahealth.com/> | Overview Video <http://youtu.be/5wHGcurxMyY> | Resources <http://www.stratahealth.com/resources/>
------------------------------------------------------------------------------
_______________________________________________ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel