ServiceRequest
POST {{host}}/fhir/ServiceRequest
Request Body
{"resourceType"=>"ServiceRequest", "id"=>"{{service_request_id}}", "text"=>{"status"=>"generated", "div"=>"<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource "lipid" </p></div><p><b>identifier</b>: Placer: 2345234234234</p><p><b>status</b>: active</p><p><b>intent</b>: original-order</p><p><b>code</b>: Lipid Panel <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (tests#LIPID)</span></p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> "Peter CHALMERS"</p><p><b>encounter</b>: <a href=\"encounter-example.html\">Encounter/example</a></p><p><b>occurrence</b>: 2013-05-02T16:16:00-07:00</p><p><b>requester</b>: <a href=\"practitioner-example.html\">Practitioner/example</a> "Adam CAREFUL"</p><p><b>performer</b>: <a href=\"practitioner-f202.html\">Practitioner/f202</a> "Luigi Maas"</p><p><b>reasonCode</b>: Fam hx-ischem heart dis <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (ICD-9#V173)</span></p><p><b>supportingInfo</b>: <a name=\"fasting\"> </a></p><blockquote><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource "fasting" </p></div><p><b>status</b>: final</p><p><b>code</b>: Fasting status - Reported <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#49541-6)</span></p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> "Peter CHALMERS"</p><p><b>value</b>: Yes <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (v2-0136#Y)</span></p></blockquote><p><b>specimen</b>: <a name=\"serum\"> </a></p><blockquote><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource "serum" </p></div><p><b>identifier</b>: id: 20150107-0012</p><p><b>type</b>: Serum sample <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#119364003)</span></p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> "Peter CHALMERS"</p><h3>Collections</h3><table class=\"grid\"><tr><td>-</td><td><b>Collected[x]</b></td></tr><tr><td>*</td><td>2015-08-16T06:40:17Z</td></tr></table></blockquote><p><b>note</b>: patient is afraid of needles</p></div>"}, "identifier"=>[{"type"=>{"coding"=>[{"system"=>"http://terminology.hl7.org/CodeSystem/v2-0203", "code"=>"PLAC"}], "text"=>"Placer"}, "system"=>"urn:oid:1.3.4.5.6.7", "value"=>"2345234234234"}], "status"=>"active", "intent"=>"original-order", "code"=>{"coding"=>[{"system"=>"http://acme.org/tests", "code"=>"LIPID"}], "text"=>"Lipid Panel"}, "subject"=>{"reference"=>"Patient/{{patient_id}}"}, "encounter"=>{"reference"=>"Encounter/{{fhir_encounter_id}}"}, "occurrenceDateTime"=>"2013-05-02T16:16:00-07:00", "requester"=>{"reference"=>"Practitioner/{{fhir_practitioner_id}}"}, "performer"=>[{"reference"=>"Practitioner/{{fhir_practitioner_id}}"}], "reasonCode"=>[{"coding"=>[{"system"=>"http://hl7.org/fhir/sid/icd-9", "code"=>"V173", "display"=>"Fam hx-ischem heart dis"}]}], "note"=>[{"text"=>"patient is afraid of needles"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
content-type | string | ||
x-consumer-id | string |