{
  "resourceType": "StructureDefinition",
  "id": "zd-medicationstatement",
  "url": "http://zorgdomein.nl/fhir/StructureDefinition/zd-medicationstatement",
  "version": "1",
  "name": "ZD MedicationStatement",
  "status": "draft",
  "date": "2017-03-01T11:00:00+00:00",
  "publisher": "ZorgDomein",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "https://zorgdomein.nl"
        },
        {
          "system": "email",
          "value": "io@zorgdomein.nl"
        }
      ]
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "MedicationStatement",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationStatement",
        "path": "MedicationStatement",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.medication[x]",
        "path": "MedicationStatement.medication[x]",
        "short": "Medication. At least Medication.Codeableconcept.text or Medication.Reference.display should be set.",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.effective[x]",
        "path": "MedicationStatement.effective[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.subject",
        "path": "MedicationStatement.subject",
        "short": "Patient taking the medication",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage",
        "path": "MedicationStatement.dosage",
        "short": "Dosage of medication",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.text",
        "path": "MedicationStatement.dosage.text",
        "short": "Text represenation of dosage, for example: \"two times a day\"",
        "min": 1,
        "mustSupport": true
      }
    ]
  }
}