The PV1 line is what defines properties on the encounter, right? I see "2011101" there. Should that be "20111001"? (2 digit day) Perhaps hapi is attempting to parse and failing with a random date?
Ben On Fri, Oct 14, 2011 at 8:14 PM, Price, Jeff M. <[email protected]> wrote: > Here is the HL Msg. I highlighted what I think are all the date/time > fields. None of them are 07-Aug-2006 which shows up on the patient record > screen.**** > > ** ** > > ** ** > > ** ** > > MSH|^~\&|FORMENTRY|AMRS|HL7LISTENER|AMRS|20110809121931 > ||ORU^R01|formentry-20110809121931|P|2.5|2||||||||19^19^ > http://schema.openmrs.org/2006/FormEntry/formId^URI**** > > PID|||0^^^Old Identification Number||jeff^marc^price||20011114 > |M|||20371^02^2400^724||||||724^Y||||||02|||11|20371|724^ESPA?A^N||N**** > > PV1||O|1|1|1|1|2^Ima Doc > (2-6)|zzz|zzz|zzz||||||||||||||||||||||||||||||||||2011101|||||||V**** > > ORC|RE||||||||2011101161605|1^Super User**** > > OBR|1|||1238^MEDICAL RECORD OBSERVATIONS^99DCT**** > > OBX|1|NM|5085^SYSTOLIC (MMHG)^99DCT||25.0|||||||||2011101**** > > OBX|1|NM|5086^DIASTOLIC BLOOD PRESSURE (MMHG)^99DCT||26.0|||||||||2011101* > *** > > OBX|1|NM|5087^PULSE (rate/min)^99DCT||0.0|||||||||2011101**** > > -------------------------**** > > ** ** > > ** ** > > ** ** > > Here is the screen output from the patient record screen:**** > > ** ** > > ** ** > > Last encounter: ADULTINITIAL @ Unknown Location, 07-Aug-2006**** > > ** ** > > Show entries**** > > *Edit * > > *View * > > *Encounter Date * > > *Encounter Type * > > *Provider * > > *Form * > > *Location * > > *Enterer * > > [image: Description: > http://localhost:8082/openmrs-standalone/images/edit.gif]<http://localhost:8082/openmrs-standalone/module/htmlformentry/htmlFormEntry.form?encounterId=48925&mode=EDIT> > **** > > [image: Description: > http://localhost:8082/openmrs-standalone/images/file.gif]**** > > 07/08/2006 **** > > ADULTINITIAL**** > > Mr. Horatio L Hornblower Esq.**** > > BP-Monitor**** > > Unknown Location**** > > Super User**** > > ** ** > > ** ** > > ** ** > > ** ** > > The other thing that I would like to do is to get the time/date that the > OBX was taken to show up when I view the details of the Encounter.**** > > ** ** > > ** ** > > Thanks so much !**** > > ** ** > > jeff**** > > ** ** > > ** ** > > *Jeff Price l (858) 412-8639* > > West Wireless Health Institute <http://www.westwirelesshealth.org/> **** > > ** ** > > *From:* [email protected] [mailto:[email protected]] *On Behalf Of *Darius > Jazayeri > *Sent:* Friday, October 14, 2011 1:02 AM > *To:* [email protected] > *Subject:* Re: [OPENMRS-DEV] Encounter date**** > > ** ** > > Can you include the HL7 message and highlight the part you think is the > encounter date?**** > > ** ** > > -Darius > > On Thursday, October 13, 2011, Price, Jeff M. wrote:**** > > Hello,**** > > **** > > I am using standalone-1.1 version of OpenMRS and issuing an HTTP POST of > an HL7 message to add an encounter to a patient record which seems to work > (thanks to a lot of help from Darius !).**** > > **** > > The encounter date is always wrong (07/08/2006) on the page that lists > the encounters for the patient.**** > > **** > > How can I get the date to be correct ?**** > > **** > > Also, I have a timestamp in the HL7 message from when the data was > collected from my blood pressure monitor.**** > > How can I get that timestamp from the HL7 message to show up in the > encounter when I click on the edit button for the encounter ?**** > > **** > > One more thing, is there a way I can delete encounters ?**** > > **** > > Thanks Much **** > > **** > > *Jeff Price l (858) 412-8639***** > > West Wireless Health Institute <http://www.westwirelesshealth.org/> **** > > **** > ------------------------------ > > Click here to unsubscribe from OpenMRS Developers' mailing list **** > ------------------------------ > > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from > OpenMRS Developers' mailing list > **** > ------------------------------ > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from > OpenMRS Developers' mailing list > _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]
<<image002.gif>>
<<image001.gif>>

