SFM Basis API Implementation Guide

Example MedicationStatement

Below is a fictive example (without profiling) of SFM generated resource (may later be replaced by a final SFM example)

{
  "resourceType": "MedicationStatement",
  "id": "49506",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2019-12-06T13:14:25.720+00:00",
    "source": "https://server.forskrivning.no/service01"
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">metformin 1000mg twice daily</div>"
  },
  "status": "active",
  "medicationCodeableConcept": {
    "coding": [
      {
        "system": "http://snomed.info/ct",
        "code": "411533003",
        "display": "metformin 1000mg"
      }
    ],
    "text": "metformin 1000mg"
  },
  "subject": {
    "reference": "Patient/49443"
  },
  "dosage": [
    {
      "text": "1 tab twice daily",
      "timing": {
        "repeat": {
          "frequency": 2,
          "period": 1,
          "periodUnit": "d"
        }
      }
    }
  ]
}