Encounter

POST {{host}}/fhir/Encounter

Request Body

{"resourceType"=>"Encounter", "id"=>"{{fhir_encounter_id}}", "text"=>{"status"=>"generated", "div"=>"<div xmlns=\"http://www.w3.org/1999/xhtml\">Encounter with patient @example</div>"}, "status"=>"in-progress", "class"=>{"system"=>"http://terminology.hl7.org/CodeSystem/v3-ActCode", "code"=>"IMP", "display"=>"inpatient encounter"}, "subject"=>{"reference"=>"Patient/{{fhir_patient_id}}"}, "participant"=>[{"individual"=>{"reference"=>"PractitionerRole/{{fhir_practitioner_role_id}}"}}]}

HEADERS

KeyDatatypeRequiredDescription
content-typestring
preferstring