HTML Form Entry - changing the LookupType fn.latestObs to pull the latest obs for the concept up to the Encounter Date

Tags: #<Tag:0x00007f6014445338>

The velocity Lookup for latestObs works as below<lookup>

fn.latestObs(String conceptIdOrUuidOrMapping)

  • returns the patient’s most recent observation for the given concept (most recent ever and not in relation to this encounter’s date)

@mseaton @mogoodrich I would like to know the background/design decision as to why the current encounter date is not used as a limit for this lookup.

Most probably that was the use case at the time. :slight_smile:

Adding support for an overload that takes an extra encounter parameter, should not be hard.

1 Like