Account

POST {{host}}/fhir/Account

Request Body

{"resourceType"=>"Account", "id"=>"{{account_id}}", "text"=>{"status"=>"generated", "div"=>"<div xmlns=\"http://www.w3.org/1999/xhtml\">HACC Funded Billing for Peter James Chalmers</div>"}, "identifier"=>[{"system"=>"urn:oid:0.1.2.3.4.5.6.7", "value"=>"{{account_identifier}}"}], "status"=>"active", "type"=>{"coding"=>[{"system"=>"http://terminology.hl7.org/CodeSystem/v3-ActCode", "code"=>"PBILLACCT", "display"=>"patient billing account"}], "text"=>"patient"}, "name"=>"HACC Funded Billing for Peter James Chalmers", "subject"=>[{"reference"=>"Patient/{{patient_id}}", "display"=>"Peter James Chalmers"}], "servicePeriod"=>{"start"=>"2016-01-01", "end"=>"2017-06-30"}, "coverage"=>[{"coverage"=>{"reference"=>"Coverage/{{fhir_coverage_id}}"}, "priority"=>1}], "owner"=>{"reference"=>"Organization/{{fhir_organization_id}}"}, "description"=>"Hospital charges"}