New Request
POST localhost:8099/fhir/
Request Body
{"resourceType"=>"Bundle", "type"=>"transaction", "entry"=>[{"resource"=>{"resourceType"=>"Patient", "id"=>"1faa4dda-00e2-35d0-a8c5-81260d27e76e", "identifier"=>[{"value"=>"TEST0062404", "type"=>{"coding"=>[{"system"=>"http://moh.bw.org/ext/identifier/unknown"}]}, "system"=>"http://moh.bw.org/ext/identifier/unknown"}, {"value"=>"GG00042482", "type"=>{"coding"=>[{"code"=>"MR", "system"=>"http://moh.bw.org/ext/identifier/mr"}]}, "system"=>"http://moh.bw.org/ext/identifier/mr"}, {"value"=>"OMANG7939597", "type"=>{"coding"=>[{"code"=>"SS", "system"=>"http://moh.bw.org/ext/identifier/omang"}]}, "system"=>"http://moh.bw.org/ext/identifier/omang"}, {"value"=>"GG5714", "type"=>{"coding"=>[{"code"=>"PI", "system"=>"http://moh.bw.org/ext/identifier/pi"}]}, "system"=>"http://moh.bw.org/ext/identifier/pi"}, {"value"=>"TEST0062404", "type"=>{"coding"=>[{"system"=>"http://moh.bw.org/ext/identifier/unknown"}]}, "system"=>"http://moh.bw.org/ext/identifier/unknown"}, {"type"=>{"coding"=>[{"system"=>"http://moh.bw.org/ext/identifier/unknown"}]}, "system"=>"http://moh.bw.org/ext/identifier/unknown"}], "name"=>[{"family"=>"Vandervort", "given"=>["Rudolph"]}, {"family"=>"CT"}], "address"=>[{"district"=>"791609023,,,testpatient@mail.com"}], "telecom"=>[{"value"=>"791609023", "use"=>"home"}], "communication"=>[{"preferred"=>true}]}, "request"=>{"method"=>"PUT", "url"=>"Patient/1faa4dda-00e2-35d0-a8c5-81260d27e76e"}}, {"resource"=>{"resourceType"=>"DiagnosticReport", "id"=>"535649b2-730a-3092-9eec-97d3c4cd0f06", "identifier"=>[{"type"=>{"coding"=>[{"code"=>"FILL", "system"=>"http://terminology.hl7.org/CodeSystem/v2-0203"}]}}, {"value"=>"MOH001"}, {"value"=>"68222"}], "effectiveDateTime"=>"2022-06-03T14:00:00.000Z", "code"=>{"coding"=>[{"code"=>"ZCD4ABS", "display"=>"L"}, {"system"=>"https://api.openconceptlab.org/orgs/B-TECHBW/sources/PIMS-LAB-TEST-DICT/", "code"=>"1", "display"=>"CD4 count"}, {"system"=>"https://api.openconceptlab.org/orgs/B-TECHBW/sources/IPMS-LAB-TEST/", "code"=>"ZCD4ABS", "display"=>"Absolute CD4 Count"}, {"system"=>"https://api.openconceptlab.org/orgs/CIEL/sources/CIEL/", "code"=>"5497", "display"=>"CD4 count"}, {"system"=>"https://api.openconceptlab.org/orgs/Regenstrief/sources/LOINC/", "code"=>"24467-3"}]}, "category"=>[{"coding"=>[{"code"=>"LAB"}]}], "status"=>"final", "result"=>[{"reference"=>"Observation/7c59ad3d-1ddc-3855-937f-ddb0820d2d65"}], "basedOn"=>[{"type"=>"ServiceRequest", "reference"=>"pims-test-id-6035"}]}, "request"=>{"method"=>"PUT", "url"=>"DiagnosticReport/535649b2-730a-3092-9eec-97d3c4cd0f06"}}, {"resource"=>{"resourceType"=>"Observation", "id"=>"7c59ad3d-1ddc-3855-937f-ddb0820d2d65", "code"=>{"coding"=>[{"code"=>"ZCD4ABS", "display"=>"L"}, {"system"=>"https://api.openconceptlab.org/orgs/B-TECHBW/sources/PIMS-LAB-TEST-DICT/", "code"=>"1", "display"=>"CD4 count"}, {"system"=>"https://api.openconceptlab.org/orgs/B-TECHBW/sources/IPMS-LAB-TEST/", "code"=>"ZCD4ABS", "display"=>"Absolute CD4 Count"}, {"system"=>"https://api.openconceptlab.org/orgs/CIEL/sources/CIEL/", "code"=>"5497", "display"=>"CD4 count"}, {"system"=>"https://api.openconceptlab.org/orgs/Regenstrief/sources/LOINC/", "code"=>"24467-3"}]}, "valueString"=>"100", "status"=>"final", "effectiveDateTime"=>"2022-06-03T14:00:00.000Z", "component"=>[{"code"=>{"coding"=>[{"code"=>"ZCD4ABS", "display"=>"L"}]}, "valueString"=>"100", "referenceRange"=>[{"text"=>"0-100000"}]}], "subject"=>{"reference"=>"Patient/1faa4dda-00e2-35d0-a8c5-81260d27e76e"}, "basedOn"=>[{"type"=>"ServiceRequest", "reference"=>"pims-test-id-6035"}]}, "request"=>{"method"=>"PUT", "url"=>"Observation/7c59ad3d-1ddc-3855-937f-ddb0820d2d65"}}]}