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"}, "participant"=>[{"individual"=>{"reference"=>"Practitioner/{{fhir_practitioner_id}}"}}], "type"=>[{"coding"=>[{"system"=>"http://hl7.org/fhir/ValueSet/encounter-type", "code"=>"ADMS", "display"=>"Annual diabetes mellitus screening"}]}], "subject"=>{"reference"=>"Patient/{{patient_id}}"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
content-type | string |