Request

OperationupdateCreate MedicationStatement
MethodPUT
Pathhttps://blaze.life.uni-leipzig.de/fhir/MedicationStatement/wqf3Df-Pm1Yvlg7
ResourceMedicationStatementIdwqf3Df-Pm1Yvlg7
Headers
Accept
application/fhir+json;charset=UTF-8
Content-Type
application/fhir+json;charset=UTF-8
Content
{
  "resourceType" : "MedicationStatement",
  "id" : "wqf3Df-Pm1Yvlg7",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Aspirin 81mg chewable tablet - Taking 1 tablet four times daily as needed for pain</p></div>"
  },
  "identifier" : [ {
    "system" : "http://happyvalley.com/medicationstatement",
    "value" : "wqf3DfPm1Yvlg7"
  } ],
  "status" : "active",
  "medicationCodeableConcept" : {
    "coding" : [ {
      "system" : "http://snomed.info/sct",
      "code" : "370164001",
      "display" : "Aspirin 81mg chewable tablet"
    } ]
  },
  "subject" : {
    "reference" : "Patient/wqf3Df-Pm1Yvlg7-6986"
  },
  "effectiveDateTime" : "2017-10-12",
  "dateAsserted" : "2017-10-12",
  "informationSource" : {
    "reference" : "Patient/wqf3Df-Pm1Yvlg7-6986"
  },
  "reasonCode" : [ {
    "coding" : [ {
      "system" : "http://snomed.info/sct",
      "code" : "22253000",
      "display" : "Pain"
    } ]
  } ],
  "note" : [ {
    "text" : "Patient indicates they miss the occasional dose"
  } ],
  "dosage" : [ {
    "text" : "one tablet four times daily as needed for pain",
    "timing" : {
      "repeat" : {
        "frequency" : 4,
        "period" : 1,
        "periodUnit" : "d"
      }
    },
    "asNeededBoolean" : true,
    "route" : {
      "coding" : [ {
        "system" : "http://snomed.info/sct",
        "code" : "260548002",
        "display" : "Oral"
      } ]
    },
    "doseAndRate" : [ {
      "type" : {
        "coding" : [ {
          "system" : "http://terminology.hl7.org/CodeSystem/dose-rate-type",
          "code" : "ordered",
          "display" : "Ordered"
        } ]
      },
      "doseQuantity" : {
        "value" : 1
      }
    } ],
    "maxDosePerPeriod" : {
      "numerator" : {
        "value" : 4,
        "unit" : "tablets",
        "system" : "http://snomed.info/sct",
        "code" : "385055001"
      },
      "denominator" : {
        "value" : 1,
        "system" : "http://unitsofmeasure.org",
        "code" : "d"
      }
    }
  } ]
}