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

[Description: 
http://localhost:8082/openmrs-standalone/images/edit.gif]<http://localhost:8082/openmrs-standalone/module/htmlformentry/htmlFormEntry.form?encounterId=48925&mode=EDIT>

[Description: 
http://localhost:8082/openmrs-standalone/images/file.gif]<javascript:void(0)>

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<tel:%28858%29%20412-8639>
West Wireless Health Institute<http://www.westwirelesshealth.org/>

________________________________
Click here to 
unsubscribe<javascript:_e(%7b%7d,%20'cvml',%20'[email protected]?body\x3dSIGNOFF%20openmrs-devel-l');>
 from OpenMRS Developers' mailing list
________________________________
Click here to 
unsubscribe<mailto:[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]

<<inline: image001.gif>>

<<inline: image002.gif>>

Reply via email to