IPS Observation Pregnancy: outcome

POST {{host}}/fhir/Observation

Request Body

{"resourceType"=>"Observation", "id"=>"{{observation_pregnancy_outcome_id}}", "text"=>{"status"=>"generated", "div"=>"<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"pregnancy-outcome-example\"> </a><a name=\"hcpregnancy-outcome-example\"> </a></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 Observation &quot;pregnancy-outcome-example&quot; </p></div><p><b>status</b>: final</p><p><b>code</b>: [#] Births total <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#11640-0)</span></p><p><b>subject</b>: <a href=\"Patient-patient-example-female.html\">Patient/patient-example-female</a> &quot; DELAROSA&quot;</p><p><b>effective</b>: 2020-01-10</p><p><b>value</b>: 1 1<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code 1 = '1')</span></p></div>"}, "status"=>"final", "code"=>{"coding"=>[{"system"=>"http://loinc.org", "code"=>"11640-0", "display"=>"[#] Births total"}]}, "subject"=>{"reference"=>"Patient/{{ips_patient_id}}"}, "effectiveDateTime"=>"2020-01-10", "valueQuantity"=>{"value"=>1, "system"=>"http://unitsofmeasure.org", "code"=>"1"}}