When i am trying to get the Bundle observation Details of the patient through FHIR . I am getting only one patient Observation detail. Whereas in OpenMRS i have created two patients and the vitals of the patients also has been created.Below is the Url i have used to get the datas from OpenMRS through FHIR.
I have even tried to get a specific patient details using uuid. But it is showing me error 404. Where am i going wrong?. where can i see the uuid of the patient to get the observation and Allergy intolerence datas?. I have attached a image below for your reference of the uuid i have used.
I have updated vitals again of the patients in the bundle observation the total numbers are changed. Earlier it was 19 now it had become 26. So that means the datas are getting updated. But still i am getting only one patient detail as output.I have attached response below for your reference,
Can you please tell me why this issue is happening. And also kindly can i get the solution for unable to create Patient Relationship Details too which is mentioned in a different thread ?.
Yes, the link which you have Provided also gives me just one patient observation data with the patient named "Betty Williams ". It is not giving me a bundle data.
You are getting a FHIR Bundle (see the resourceType in the response you posted above). However, OpenMRS only gives you a page of data at a time. This is configurable (via the settings fhir2.paging_default and fhir2.paging_maximum). The default value for the size of a page of data is 10. However you can adjust that by specifying a higher value for the paging_default setting or by passing the _count parameter to ask for that number of resources (up to the paging_maximum; values higher than that are not honoured). The data is returned in whatever order the database returns it (like how select * from obs would function) and a patient might have more observations than fit in a single page (Betty Williams, for example, on dev3 has 227 observations, so 23 pages of data at 10 resources per page).
If you get a paged bundle like this, as per the FHIR specification, you will get a link element in the Bundle that has a next link pointing to the URL to get the “next page” of data.