{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.graphnethealth.com/STU3/StructureDefinition/MedicationRequest",
  "version": "1.0.0",
  "name": "MedicationRequest",
  "title": "Medication Request",
  "status": "draft",
  "date": "2020-07-10",
  "publisher": "Graphnet Health",
  "contact": [
    {
      "name": "Product Team",
      "telecom": [
        {
          "system": "email",
          "value": "product@graphnethealth.com",
          "use": "work"
        }
      ]
    }
  ],
  "purpose": "Used to represent the MedicationRequests within the context of Graphnet",
  "copyright": "Copyright © 2020 Graphnet Health",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Mapping"
    },
    {
      "identity": "script10.6",
      "uri": "http://ncpdp.org/SCRIPT10_6",
      "name": "Mapping to NCPDP SCRIPT 10.6"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "MedicationRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationRequest.extension",
        "path": "MedicationRequest.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationRequest.extension:MedicationRepeatInformation",
        "path": "MedicationRequest.extension",
        "sliceName": "MedicationRepeatInformation",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.graphnethealth.com/STU3/StructureDefinition/Extension-MedicationRepeatInformation"
          }
        ]
      },
      {
        "id": "MedicationRequest.extension:StatusReason",
        "path": "MedicationRequest.extension",
        "sliceName": "StatusReason",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.graphnethealth.com/STU3/StructureDefinition/Extension-StatusReason"
          }
        ]
      }
    ]
  }
}