post Bundle
POST {{host}}/fhir/Bundle
Request Body
{"resourceType"=>"Bundle", "id"=>"{{bundle_id}}", "type"=>"transaction", "entry"=>[{"resource"=>{"resourceType"=>"Patient", "id"=>"{{patient_id}}", "meta"=>{"source"=>"{{patient_id}}", "versionId"=>"1"}, "active"=>true, "name"=>[{"use"=>"official", "text"=>"Stepan Spring", "family"=>"Spring", "given"=>["Stepan"]}], "telecom"=>[{"system"=>"email", "value"=>"patient@email.com", "use"=>"work"}], "gender"=>"male", "managingOrganization"=>{"reference"=>"urn:uuid:{{organization_id}}"}}, "request"=>{"method"=>"POST", "url"=>"Patient"}}, {"fullUrl"=>"urn:uuid:{{organization_id}}", "resource"=>{"resourceType"=>"Organization", "name"=>"Health Level Seven International", "alias"=>["HL7 International"], "telecom"=>[{"system"=>"phone", "value"=>"(+1) 734-677-7777"}], "address"=>[{"line"=>["3300 Washtenaw Avenue, Suite 227"], "city"=>"Ann Arbor", "state"=>"MI", "postalCode"=>"48104", "country"=>"USA"}]}, "request"=>{"method"=>"POST", "url"=>"Organization"}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
prefer | string |