{
  "resourceType": "StructureDefinition",
  "id": "John.Category",
  "url": "http://example.com/fhir/StructureDefinition/medicationstatement-category",
  "version": "0.1",
  "name": "Category",
  "title": "The category of medication given by the patient",
  "status": "active",
  "experimental": false,
  "date": "2019",
  "publisher": "John Moehrke",
  "fhirVersion": "1.0.2",
  "kind": "complex-type",
  "abstract": false,
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "A string represneting the category of medication.",
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://example.com/fhir/StructureDefinition/medicationstatement-category"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.valueString",
        "short": "the string for category",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true
      }
    ]
  }
}