From: Jens V. <jen...@gm...> - 2010-06-06 16:36:58
|
First, get a hold of the specification at http://pacs.hk/Doc/HL7/Hl7V231.pdf. Then look at "Table 0354 - Message structure". There you see what trigger events are associated with which messages. Create a message listener that takes SIU^S12 messages as parameter and register it with the trigger event of e.g. S13 or S14. That should do it. If you need some example code, I can make some for you tomorrow On 4 June 2010 17:15, Kshama Thaker <ksh...@ya...> wrote: > Thanks for the reply. I didn't find any class file for SIU 14 or SIU 15. I > am able to find SIU 12 on V231, V24 as well on V25. Currently we are > supporting V231 and earlier. I found SIU 14 and SIU 15 cs files on V23 which > we are not supporting. Do you have any idea about nHapi V231 structure? > > Your help be really appreciated. > > Thanks > > --- On *Fri, 6/4/10, Jens Villadsen <jen...@gm...>*wrote: > > > From: Jens Villadsen <jen...@gm...> > Subject: Re: [HAPI-devel] nHapi DFT-P03 ACC Segment > To: "kthaker" <ksh...@ya...> > Date: Friday, June 4, 2010, 10:54 AM > > > The reason why you do not find eg. SIU S13 and SIU S14 is because they > are included in the same structure but have different trigger events. > SIU S13 and SIU S14 for example are included in the structure of the > SIU S12. You can look up the associations in the HL7 standard under a > table (I cannot remember which one but I think it is 3505) > > 2010/6/3, kthaker <ksh...@ya...<http://mc/compose?to=ksh...@ya...> > >: > > > > Hi, > > > > I am new in nHapi. On DFT-P03, i didn't find ACC segment. How i am going > to > > get that Segment? Same way i didn't fins SIU14, SIU15. Does anyone know > how > > to work on those messages? > > > > Another thing i am creating sample app to parse HL7 message. Here is some > > code. > > > > p03.PID.SetIDPID.Value = ""; > > p03.PID.GetPatientIdentifierList(0).IdentifierTypeCode.Value > = > > ""; > > p03.PID.GetPatientIdentifierList(1).IdentifierTypeCode.Value > > =""; > > p03.PID.GetPatientIdentifierList(0).ID.Value = ""; > > p03.PID.GetPatientName(0).GivenName.Value = ""; > > p03.PID.GetPatientName(0).FamilyName.Surname.Value = ""; > > > > > p03.PID.GetPatientName(0).SecondAndFurtherGivenNamesOrInitialsThereof.Value > > = ""; > > > p03.PID.DateTimeOfBirth.TimeOfAnEvent.SetLongDate(DateTime.Now); > > p03.PID.AdministrativeSex.Value = ""; > > p03.PID.GetPatientAddress(0).City.Value = ""; > > p03.PID.GetPatientAddress(0).StateOrProvince.Value = ""; > > p03.PID.GetPatientAddress(0).StreetAddress.StreetName.Value = > > ""; > > p03.PID.GetPatientAddress(0).ZipOrPostalCode.Value = ""; > > p03.PID.GetPhoneNumberBusiness(0).AreaCityCode.Value = ""; > > p03.PID.GetPhoneNumberBusiness(0).PhoneNumber.Value = ""; > > p03.PID.GetPhoneNumberHome(0).AreaCityCode.Value = ""; > > p03.PID.GetPhoneNumberHome(0).PhoneNumber.Value = ""; > > > > Could you please let me know am i on right track? > > > > Thanks. > > -- > > View this message in context: > > http://old.nabble.com/nHapi-DFT-P03-ACC-Segment-tp28769397p28769397.html > > Sent from the hl7api-devel mailing list archive at Nabble.com. > > > > -- > Sendt fra min mobile enhed > > > |