Flag

POST {{host}}/fhir/Flag

Request Body

{"resourceType"=>"Flag", "id"=>"{{fhir_flag_id}}", "text"=>{"status"=>"generated", "div"=>"<div xmlns=\"http://www.w3.org/1999/xhtml\">Large Dog warning for Peter Patient</div>"}, "identifier"=>[{"value"=>"{{fhir_flag_id}}"}], "status"=>"inactive", "category"=>[{"coding"=>[{"system"=>"http://terminology.hl7.org/CodeSystem/flag-category", "code"=>"safety", "display"=>"Safety"}], "text"=>"Safety"}], "code"=>{"coding"=>[{"system"=>"http://example.org/local", "code"=>"bigdog", "display"=>"Big dog"}], "text"=>"Patient has a big dog at his home. Always always wear a suit of armor or take other active counter-measures"}, "subject"=>{"reference"=>"Group/{{fhir_group_id}}", "display"=>"Peter Patient"}, "period"=>{"start"=>"2015-01-17", "end"=>"2016-12-01"}, "author"=>{"reference"=>"Practitioner/{{fhir_practitioner_id}}", "display"=>"Nancy Nurse"}}

HEADERS

KeyDatatypeRequiredDescription
content-typestring
preferstring