Unable to update Condition that does not have code.coding

25 views
Skip to first unread message
Assigned to Fenil....@cerner.com by me

Pedro Simon

unread,
Aug 2, 2021, 8:15:14 AM8/2/21
to Cerner FHIR Developers

I cannot update a condition that does not have `code.coding`. Whenever I try, it fails with a 422 {"resourceType"=>"OperationOutcome", "issue"=>[{"severity"=>"error", "code"=>"invalid", "details"=>{"text"=>"Unprocessable entity"}}]}. I'm able to update conditions when they have `code.coding` though.

PUT /Condition/p72676803
{
 :resourceType=>"Condition",
 :id=>"p72676803",
 :clinicalStatus=>{:coding=>[{:system=>"http://terminology.hl7.org/CodeSystem/condition-clinical", :code=>"resolved"}]},
 :category=>[{:coding=>[{:system=>"http://terminology.hl7.org/CodeSystem/condition-category", :code=>"problem-list-item"}]}],
 :code=>{:text=>"Diabetes"},
 :subject=>{:reference=>"Patient/12463981"}
}

Request ID: c04e6ffd-d77e-4750-a75b-eade057decb6

Is there a way to successfully change the clinical status of a conditions that does not have `code.coding`?

Thanks

Fenil Desani (Cerner)

unread,
Aug 3, 2021, 9:13:58 AM8/3/21
to Cerner FHIR Developers
Hello,

Can you please share the post body?

Thanks,
Fenil
Reply all
Reply to author
Forward
0 new messages