{
  "resourceType": "StructureDefinition",
  "url": "https://example.org/fhir/StructureDefinition/MyMedicationStatement",
  "name": "MedicationStatement",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationStatement",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationStatement.identifier.value",
        "path": "MedicationStatement.identifier.value",
        "min": 1
      },
      {
        "id": "MedicationStatement.subject.reference",
        "path": "MedicationStatement.subject.reference",
        "min": 1
      },
      {
        "id": "MedicationStatement.effective[x]",
        "path": "MedicationStatement.effective[x]",
        "min": 1
      },
      {
        "id": "MedicationStatement.dateAsserted",
        "path": "MedicationStatement.dateAsserted",
        "min": 1
      },
      {
        "id": "MedicationStatement.informationSource",
        "path": "MedicationStatement.informationSource",
        "min": 1
      },
      {
        "id": "MedicationStatement.informationSource.reference",
        "path": "MedicationStatement.informationSource.reference",
        "min": 1
      },
      {
        "id": "MedicationStatement.reasonCode",
        "path": "MedicationStatement.reasonCode",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.reasonReference",
        "path": "MedicationStatement.reasonReference",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage",
        "path": "MedicationStatement.dosage",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage.text",
        "path": "MedicationStatement.dosage.text",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.timing",
        "path": "MedicationStatement.dosage.timing",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.timing.event",
        "path": "MedicationStatement.dosage.timing.event",
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat",
        "path": "MedicationStatement.dosage.timing.repeat",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.bounds[x]",
        "path": "MedicationStatement.dosage.timing.repeat.bounds[x]",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.countMax",
        "path": "MedicationStatement.dosage.timing.repeat.countMax",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.frequency",
        "path": "MedicationStatement.dosage.timing.repeat.frequency",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.frequencyMax",
        "path": "MedicationStatement.dosage.timing.repeat.frequencyMax",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.period",
        "path": "MedicationStatement.dosage.timing.repeat.period",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.periodUnit",
        "path": "MedicationStatement.dosage.timing.repeat.periodUnit",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.dayOfWeek",
        "path": "MedicationStatement.dosage.timing.repeat.dayOfWeek",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.timeOfDay",
        "path": "MedicationStatement.dosage.timing.repeat.timeOfDay",
        "min": 1,
        "max": "1"
      }
    ]
  }
}