patient.getPID().getPatientName().getGivenName().setValue('Rahul') patient.getPID().getPatientName().getFamilyName().getSurname().setValue('Somasunderam')
On Mon 11/04/13 7:08 AM , g3949 <g3...@yahoo.com> wrote: > Hi, > > as a HAPI NewBee (and perhaps as a JAVA NewBee also) I want to ask > You, how can i set the PatientName in a ORM Message. > Also there are some Values where I can set their values useing a > setValue methode...and some without such a methode...I'm confuesed > about this ;-) > > While...I doing it like the following code: > ORM_O01 orm = new ORM_O01(); > orm.initQuickstart("ORM", "O01", "P"); > Terser t = new Terser(orm); > ORM_O01_PATIENT patient = orm.getPATIENT(); > > patient.getPID().getDateOfBirth().getTimeOfAnEvent().setValue("20011212"); > > > patient.getPID().getPatientIDInternalID(0).getCx1_ID().setValue("20025548") > ; > patient.getPID().getPid19_SSNNumberPatient().setValue("3915043969"); > patient.getPID().getPatientName(); > patient.getPID().getPid8_Sex().setValue("M"); > patient.getPID().getCountyCode().setValue("US"); > patient.getGT1().getEthnicGroup().setValue("American"); > > patient.getNTE().getNte1_SetIDNotesAndComments().setValue("deleting > this message allowed"); > t.set("/.PID-3","12202"); > t.set("/.PID-5-1", "Testname"); > t.set("/.PID-5-2", "JEFF"); > t.set("/.PV1-1","O01"); > t.set("/.PV1-2",createMessage.getDate()); > t.set("/.PV1-5","Oh YEAH"); > ThanksFP > > ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel