{
  "resourceType": "StructureDefinition",
  "id": "598ffbf8-4265-4a1f-8b92-4fc32a33aacf",
  "meta": {
    "lastUpdated": "2020-02-04T16:53:28.264+00:00"
  },
  "url": "http://example.org/fhir/StructureDefinition/PrescriptionOrder",
  "name": "PrescriptionOrder",
  "status": "draft",
  "date": "2020-02-04T16:53:27.5293533+00:00",
  "fhirVersion": "4.0.0",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "quick",
      "uri": "http://siframework.org/cqf",
      "name": "Quality Improvement and Clinical Knowledge (QUICK)"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "ServiceRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ServiceRequest",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "ServiceRequest.id",
        "path": "ServiceRequest.id",
        "fixedId": "DialysisOrder"
      },
      {
        "id": "ServiceRequest.contained",
        "path": "ServiceRequest.contained",
        "definition": "The contained serviceRequest resources represent orders for individual prescription items. Each item references the parent order.",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "http://example.org/fhir/StructureDefinition/PrescriptionItem"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.intent",
        "path": "ServiceRequest.intent",
        "fixedCode": "order"
      },
      {
        "id": "ServiceRequest.category",
        "path": "ServiceRequest.category",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://hl7.org/fhir/v2/0074",
              "code": "HM",
              "display": "Hematology"
            }
          ]
        }
      },
      {
        "id": "ServiceRequest.code",
        "path": "ServiceRequest.code",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "LP6226-7",
              "display": "Dialysis"
            }
          ],
          "text": "Dialysis Prescription"
        }
      },
      {
        "id": "ServiceRequest.locationCode",
        "path": "ServiceRequest.locationCode",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
              "code": "HD",
              "display": "Hemodialysis Unit"
            }
          ]
        }
      },
      {
        "id": "ServiceRequest.supportingInfo",
        "path": "ServiceRequest.supportingInfo",
        "definition": "Additional clinical information about the patient or specimen that may influences the services or their interpretations. This field is used to hold references to the contained prescription items."
      },
      {
        "id": "ServiceRequest.supportingInfo.reference",
        "path": "ServiceRequest.supportingInfo.reference",
        "example": [
          {
            "label": "example supporting reference",
            "valueString": "#order1"
          }
        ]
      }
    ]
  }
}