Stream: implementers
Topic: Search of Procedure Request does not return all key=value pa
badal (Nov 03 2017 at 14:18):
I run CURL command on the ValidProcedureRequest.json file.
"curl -X POST https://fhir.dstu2.safetylabs.org/api/smartdstu2/open/ProcedureRequest -H 'Content-type: application/json+fhir' --data ValidProcedureRequest.json
{
"resourceType":"OperationOutcome",
"text":{
"status":"generated",
"div":"<div xmlns=\"http://www.w3.org/1999/xhtml\ <http://www.w3.org/1999/xhtml/> "><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">information</td><td>[]</td><td><pre>Successfully created resource "ProcedureRequest/7549/_history/1" in 16ms</pre></td>\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t</tr>\n\t\t</table>\n\t</div>"
},
"issue":[
{
"severity":"information",
"code":"informational",
"diagnostics":"Successfully created resource \"ProcedureRequest/7549/_history/1\" in 16ms"
}
]"
Note: It tells Successfully create.
Run curl command for Get the updated object.
curl -X GET https://fhir.dstu2.safetylabs.org/api/smartdstu2/open/ProcedureRequest/7549
{
"resourceType":"ProcedureRequest",
"id":"7549",
"meta":{
"versionId":"1",
"lastUpdated":"2017-11-03T13:06:50.000+00:00"
},
"text":{
"status":"generated"
},
"subject":{
"reference":"Patient/SL88812358"
},
"code":{
"coding":[
{
"code":"303653007",
"display":"Computed tomography of head"
}
]
},
"performer":{
"reference":"Practitioner/COREPRACTITIONER1"
}
Question : Please note that In ValidProcedureRequest.json file, json as valid key value are not shown in the response. How do I retrieve all the key/values submitted in my GET request.
ValidProcedureRequest.json
badal (Nov 03 2017 at 14:33):
(deleted)
badal (Nov 03 2017 at 14:34):
(deleted)
Last updated: Apr 12 2022 at 19:14 UTC