{
  "resourceType": "StructureDefinition",
  "id": "d35e183b-86ef-42b0-b3e9-2262eeea8f27",
  "meta": {
    "lastUpdated": "2020-11-23T14:02:10.409+00:00"
  },
  "url": "http://example.org/fhir/StructureDefinition/MyMedicationDispense",
  "name": "MyMedicationDispense",
  "status": "draft",
  "date": "2020-11-23T13:55:05.571586+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "rx-dispense-rmim",
      "uri": "http://www.hl7.org/v3/PORX_RM020070UV",
      "name": "V3 Pharmacy Dispense RMIM"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "MedicationDispense",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationDispense.medication[x]",
        "path": "MedicationDispense.medication[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationDispense.medication[x]:TestSlice",
        "path": "MedicationDispense.medication[x]",
        "sliceName": "TestSlice"
      },
      {
        "id": "MedicationDispense.medication[x]:DeeperSlice",
        "path": "MedicationDispense.medication[x]",
        "sliceName": "DeeperSlice"
      }
    ]
  }
}