ObsToObs Flow sheet for Forms 2.0

Hi,

ObsToObsFlowsheet Diaplay Control:

Currently we are trying to support ObsToObsFlowSheet for forms 2.0.

Forms 1.0 uses the below API

<URL>/bahmnicore/observations/flowSheet?patientUuid=<uuid>&conceptSet=<concept_name>&&conceptNames=<concept_name>

Since form builder forms are no longer concepts, we are going to extend above API with a new query parameter formName=<form-name> which takes precedence over conceptSet=<concept_name>

Based on the conceptSet/FormName we will proceed with getting the observations for the required concepts. To get the observations we are planning to use bahmniObservationService and filter them based on the form_field_path to ensure that the concepts are related to particular form 2.0.

@pramidat @swathivarkala @angshuonline @darius

2 Likes

We are going support with list of form names based on the inputs from PAT call.

It is mandatory to configure conceptNames in forms 2.0 obsToObs flowsheet. If concepts are not configured, display control will not show any concepts unlike forms 1.0 which shows all the concepts in templateName.

1 Like