FHIR CarePlan
POST {{host}}/fhir/CarePlan
Request Body
{"resourceType"=>"CarePlan", "id"=>"{{care_plan_id}}", "text"=>{"status"=>"additional", "div"=>"<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p> A simple care plan to indicate a patient taking their weight once a day because of obesity.</p>\n </div>"}, "identifier"=>[{"value"=>"12345"}], "instantiatesUri"=>["http://example.org/protocol-for-obesity"], "basedOn"=>[{"display"=>"Management of Type 2 Diabetes"}], "replaces"=>[{"display"=>"Plan from urgent care clinic"}], "partOf"=>[{"display"=>"Overall wellness plan"}], "status"=>"active", "intent"=>"plan", "category"=>[{"text"=>"Weight management plan"}], "description"=>"Manage obesity and weight loss", "subject"=>{"reference"=>"Patient/{{ips_patient_id}}", "display"=>"Peter James Chalmers"}, "period"=>{"end"=>"2017-06-01"}, "created"=>"2016-01-01", "author"=>{"reference"=>"Practitioner/{{ips_practitioner_id}}", "display"=>"Dr Adam Careful"}, "activity"=>[{"outcomeCodeableConcept"=>[{"coding"=>[{"system"=>"http://snomed.info/sct", "code"=>"161832001", "display"=>"Progressive weight loss"}]}], "detail"=>{"code"=>{"coding"=>[{"system"=>"http://loinc.org", "code"=>"3141-9", "display"=>"Weight Measured"}, {"system"=>"http://snomed.info/sct", "code"=>"27113001", "display"=>"Body weight"}]}, "status"=>"completed", "statusReason"=>{"text"=>"Achieved weight loss to mitigate diabetes risk."}, "doNotPerform"=>false, "scheduledTiming"=>{"repeat"=>{"frequency"=>1, "period"=>1, "periodUnit"=>"d"}}, "location"=>{"display"=>"Patient's home"}, "performer"=>[{"reference"=>"Patient/{{ips_patient_id}}", "display"=>"Peter James Chalmers"}]}}]}