Hi @surangak, @harsha89, I’m trying to POST an Observation having multiple concepts. The response is 201 but only the first concept gets stored on the db.(Note: individually all the concepts are getting persisted) I tried the same thing using the same json on HAPI FHIR Test server and it stores all the concepts. Is it a possible bug in openmrs ?? Attached below the json which I’m trying to POST.
{"resourceType":"Observation",
"code":{
"coding":[
{ "system":"http://openmrs.org", "code":"47f819a8-ef60-11e5-868f-3c970ed08286", "display":"MONOCYTES" },
{ "system":"http://openmrs.org", "code":"47f81a9d-ef60-11e5-868f-3c970ed08286", "display":"EOSINOPHILS" },
{ "system":"http://openmrs.org", "code":"47f81b92-ef60-11e5-868f-3c970ed08286", "display":"BASOPHILS" },
{ "system":"http://openmrs.org", "code":"47f81d7f-ef60-11e5-868f-3c970ed08286", "display":"CD8%" },
{ "system":"http://openmrs.org", "code":"47f81e78-ef60-11e5-868f-3c970ed08286", "display":"CD3 COUNT" },
{ "system":"http://openmrs.org", "code":"47f82539-ef60-11e5-868f-3c970ed08286", "display":"HERPES SIMPLEX VIRUS SEROLOGY, QUANTITATIVE" },
{ "system":"http://openmrs.org", "code":"47fa4d24-ef60-11e5-868f-3c970ed08286", "display":"SYSTOLIC BLOOD PRESSURE"
},
{ "system":"http://openmrs.org", "code":"47f38e02-ef60-11e5-868f-3c970ed08286", "display":"BLOOD UREA NITROGEN" },
{ "system":"http://openmrs.org", "code":"47f38e02-ef60-11e5-868f-3c970ed08286", "display":"TOXICITY, DRUG" }
] },
"valueQuantity":{
"value":120.0,
"units":"mmHg",
"system":"http://unitsofmeasure.org",
"code":"mmHg" },
"appliesDateTime":"2016-04-04T00:00:00+05:30",
"issued":"2016-04-05T11:13:20.000+05:30",
"status":"final",
"reliability":"ok",
"subject":{ "reference":"Patient/012",
"display":"John Bond(Identifier:ani123)" },
"performer":[
{
"reference":"Practitioner/73bbb069-9781-4afc-a9d1-54b6b2270e05",
"display":"Doc(Identifier:100-1)"
}
],
"encounter":{
"reference":"Encounter/f2ede784-b011-40f5-9ca1-025c0b6b2f4a"
},
"referenceRange":
[
{ "high":
{ "value":0.0,
"units":"mmHg",
"system":"http://unitsofmeasure.org",
"code":"mmHg" }
}
]
}