{
  "resourceType": "StructureDefinition",
  "id": "ckd-medication-statement",
  "url": "http://example.org/StructureDefinition/ckd-medication-statement",
  "version": "1.0.0",
  "name": "CKDMedicationStatement",
  "title": "CKD Medication Statement",
  "description": "MedicationStatement profile for TZCH CKD project (FHIR R5).",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationStatement",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "MedicationStatement.id",
        "path": "MedicationStatement.id",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.status",
        "path": "MedicationStatement.status",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.category",
        "path": "MedicationStatement.category",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.medication",
        "path": "MedicationStatement.medication",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.medication.concept",
        "path": "MedicationStatement.medication.concept",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.subject",
        "path": "MedicationStatement.subject",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.effective[x]",
        "path": "MedicationStatement.effective[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "MedicationStatement.effective[x]:effectiveDateTime",
        "path": "MedicationStatement.effective[x]",
        "sliceName": "effectiveDateTime",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dateAsserted",
        "path": "MedicationStatement.dateAsserted",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.informationSource",
        "path": "MedicationStatement.informationSource",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.reason",
        "path": "MedicationStatement.reason",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.note",
        "path": "MedicationStatement.note",
        "mustSupport": true
      }
    ]
  }
}