ER ADT
POST {{fhir_url}}/Encounter
Request Body
{"resourceType"=>"Encounter", "extension"=>[{"url"=>"https://zusapi.com/fhir/identifier/universal-id", "valueString"=>"9344ddd9-2801-473c-8f01-c249fd23d8cd"}], "status"=>"finished", "class"=>{"system"=>"http://terminology.hl7.org/CodeSystem/v3-ActEncounterCode", "code"=>"EMER"}, "type"=>[{"coding"=>[{"system"=>"urn:oid:2.16.840.1.113883.5.4", "display"=>"Home"}, {"extension"=>[{"url"=>"https://zusapi.com/terminology/enrichment", "valueString"=>"ActEncounterCode"}], "system"=>"https://terminology.hl7.org/2.1.0/ValueSet-v3-ActEncounterCode.html", "code"=>"EMER", "display"=>"emergency", "userSelected"=>false}]}], "subject"=>{"reference"=>"Patient/{{ZusPID}}", "type"=>"Patient"}, "participant"=>[{"type"=>[{"coding"=>[{"system"=>"http://terminology.hl7.org/CodeSystem/v3-ParticipationType", "code"=>"PPRF"}]}], "individual"=>{"reference"=>"Practitioner/98f610fb-c599-4282-839d-8838f833f0a3", "type"=>"Practitioner", "display"=>"Cassandra Lopez"}}], "period"=>{"start"=>"{{currentDateStart}}", "end"=>"{{currentDateEnd}}"}, "location"=>[{"location"=>{"display"=>"MSMC"}}]}