IPS MedicationStatement

POST {{host}}/fhir/MedicationStatement

Request Body

{"resourceType"=>"MedicationStatement", "meta"=>{"profile"=>["http://hl7.org/fhir/uv/ips/StructureDefinition/MedicationStatement-uv-ips"]}, "id"=>"{{ips_medication_statement_id}}", "text"=>{"status"=>"generated", "div"=>"<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MedicationStatement</b><a name=\"eumfh-39-07-1\"> </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 MedicationStatement &quot;eumfh-39-07-1&quot; </p></div><p><b>status</b>: active</p><p><b>medication</b>: <a href=\"Medication-eumfh-39-07-1.html\">Medication/eumfh-39-07-1: simvastatin</a></p><p><b>subject</b>: <a href=\"Patient-eumfh-39-07.html\">Patient/eumfh-39-07: Alexander Heig (inject 39-07)</a> &quot; HEIG&quot;</p><p><b>effective</b>: 2014 --&gt; (ongoing)</p><blockquote><p><b>dosage</b></p><p><b>text</b>: 40 mg/day</p><p><b>timing</b>: Once per 1 days</p><blockquote><p><b>doseAndRate</b></p></blockquote></blockquote></div>"}, "status"=>"active", "medicationReference"=>{"reference"=>"Medication/{{ips_medication_id}}", "display"=>"simvastatin"}, "subject"=>{"reference"=>"Patient/{{ips_patient_id}}", "display"=>"Alexander Heig (inject 39-07)"}, "effectivePeriod"=>{"start"=>"2014"}, "dosage"=>[{"text"=>"40 mg/day", "timing"=>{"repeat"=>{"frequency"=>1, "period"=>1, "periodUnit"=>"d"}}, "doseAndRate"=>[{"doseQuantity"=>{"value"=>40, "unit"=>"mg", "system"=>"http://unitsofmeasure.org", "code"=>"mg"}}]}]}