Emergency

POST {{fhir_url}}

Request Body

{"resourceType"=>"Bundle", "type"=>"transaction", "entry"=>[{"fullUrl"=>"urn:uuid:aeae3b39-b983-604b-b4f0-81974c3862b6", "resource"=>{"resourceType"=>"Encounter", "status"=>"in-progress", "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"}}]}, "request"=>{"method"=>"POST", "url"=>"Encounter"}}, {"fullUrl"=>"urn:uuid:825826d0-e726-823d-b90d-877e44bc9824", "resource"=>{"resourceType"=>"Encounter", "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"}}]}, "request"=>{"method"=>"POST", "url"=>"Encounter"}}]}