Hi Daniel,
Am interested in getting the last values entered for ARVs.

Thanks

On Fri, Oct 21, 2011 at 2:19 PM, Daniel Kayiwa <[email protected]>wrote:

>
> Hi Erick,
>
> After having looked at the formentry code i believe it is possible because
> it has a patientEncounters in the same velocity context as used for
> patient.getFamilyName.
>
> But as you know, patientEncounters has all encounters for the selected
> patient and from each encounter, you can get a list of observations (or as
> you call them concept field values).
>
> So to help you with the right syntax to use, we need to get some more
> information from you concerning what you exactly want to achieve. For
> instance, do you just want to display the last value entered for a concept
> or all of them?
>
>
> On Fri, Oct 21, 2011 at 12:32 PM, Erick Mugoma <[email protected]>wrote:
>
>> Hi,
>> We use infopath for form entry.
>> I've seen the method patient.getFamilyName is used to set the  default
>> value for the family name field. This also applies to the patient_id, given
>> name and date of birth.
>>
>> Is it possible to do this for for specific concept fields?. If this is
>> possible let me how this can be done and which method can be used to set
>> the default value for a given concept field.
>>
>> Thanks
>>
>> Erick
>>
>> ------------------------------
>> Click here to 
>> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from 
>> OpenMRS Developers' mailing list
>
>
>
>
> --
> If we keep uppermost in our minds the unkind and unjust acts of others, we
> shall find it impossible to love them as Christ has loved us; but if our
> thoughts dwell upon the wondrous love and pity of Christ for us, the same
> spirit will flow out to others.
> ------------------------------
> 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]

Reply via email to