{
  "resourceType": "StructureDefinition",
  "id": "SupplyRequest",
  "meta": {
    "lastUpdated": "2021-01-01T21:58:31.578+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
      "valueString": "Clinical.Request &amp; Response"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 1
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
      "valueCode": "patient"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "oo"
    },
    {
      "url": "http://hl7.org/fhir/build/StructureDefinition/entered-in-error-status",
      "valueCode": ".status = entered-in-error"
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/SupplyRequest",
  "version": "4.6.0",
  "name": "SupplyRequest",
  "status": "draft",
  "date": "2021-01-01T21:58:31+00:00",
  "publisher": "Health Level Seven International (Orders and Observations)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    },
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/orders/index.cfm"
        }
      ]
    }
  ],
  "description": "A record of a non-patient specific request for a medication, substance, device, certain types of biologically derived product, and nutrition product used in the healthcare setting.",
  "fhirVersion": "4.6.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"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "SupplyRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "derivation": "specialization",
  "differential": {
    "element": [
      {
        "id": "SupplyRequest",
        "extension": [
          {
            "url": "http://hl7.org/fhir/build/StructureDefinition/svg",
            "valueCode": "0,0"
          }
        ],
        "path": "SupplyRequest",
        "short": "Request for a medication, substance or device",
        "definition": "A record of a request for a medication, substance or device used in the healthcare setting.",
        "min": 0,
        "max": "*",
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request"
          },
          {
            "identity": "v2",
            "map": "ORC"
          },
          {
            "identity": "rim",
            "map": "Act[moodCode<=INT]"
          },
          {
            "identity": "w5",
            "map": "workflow.order"
          }
        ]
      },
      {
        "id": "SupplyRequest.identifier",
        "path": "SupplyRequest.identifier",
        "short": "Business Identifier for SupplyRequest",
        "definition": "Business identifiers assigned to this SupplyRequest by the author and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.",
        "comment": "The identifier.type element is used to distinguish between the identifiers assigned by the requester/placer and the performer/filler.",
        "requirements": "Allows identification of the request as it is known by various participating systems and in a way that remains consistent across servers.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.identifier"
          },
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          },
          {
            "identity": "v2",
            "map": "ORC.2, ORC.3"
          },
          {
            "identity": "rim",
            "map": ".identifier"
          }
        ]
      },
      {
        "id": "SupplyRequest.status",
        "path": "SupplyRequest.status",
        "short": "draft | active | suspended +",
        "definition": "Status of the supply request.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SupplyRequestStatus"
            }
          ],
          "strength": "required",
          "description": "Status of the supply request.",
          "valueSet": "http://hl7.org/fhir/ValueSet/supplyrequest-status"
        },
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.status"
          },
          {
            "identity": "w5",
            "map": "FiveWs.status"
          },
          {
            "identity": "v2",
            "map": "ORC.5"
          },
          {
            "identity": "rim",
            "map": ".status"
          }
        ]
      },
      {
        "id": "SupplyRequest.basedOn",
        "path": "SupplyRequest.basedOn",
        "short": "What other request is fulfilled by this supply request",
        "definition": "Plan/proposal/order fulfilled by this request.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Resource"
            ]
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.basedOn"
          }
        ]
      },
      {
        "id": "SupplyRequest.category",
        "extension": [
          {
            "url": "http://hl7.org/fhir/build/StructureDefinition/committee-notes",
            "valueString": "[3417]."
          }
        ],
        "path": "SupplyRequest.category",
        "short": "The kind of supply (central, non-stock, etc.)",
        "definition": "Category of supply, e.g.  central, non-stock, etc. This is used to support work flows associated with the supply process.",
        "alias": [
          "kind"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SupplyRequestKind"
            }
          ],
          "strength": "example",
          "description": "Category of supply request.",
          "valueSet": "http://hl7.org/fhir/ValueSet/supplyrequest-kind"
        },
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.class"
          },
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": ".code"
          }
        ]
      },
      {
        "id": "SupplyRequest.priority",
        "path": "SupplyRequest.priority",
        "short": "routine | urgent | asap | stat",
        "definition": "Indicates how quickly this SupplyRequest should be addressed with respect to other requests.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "meaningWhenMissing": "If missing, this task should be performed with normal priority",
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "RequestPriority"
            }
          ],
          "strength": "required",
          "description": "Identifies the level of importance to be assigned to actioning the request.",
          "valueSet": "http://hl7.org/fhir/ValueSet/request-priority"
        },
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.priority"
          },
          {
            "identity": "w5",
            "map": "FiveWs.grade"
          },
          {
            "identity": "v2",
            "map": "TQ1.9"
          },
          {
            "identity": "rim",
            "map": ".priorityCode"
          }
        ]
      },
      {
        "id": "SupplyRequest.item",
        "extension": [
          {
            "url": "http://hl7.org/fhir/build/StructureDefinition/committee-notes",
            "valueString": "[#14271]."
          }
        ],
        "path": "SupplyRequest.item",
        "short": "Medication, Substance, or Device requested to be supplied",
        "definition": "The item that is requested to be supplied. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list.",
        "comment": "Note that there's a difference between a prescription - an instruction to take a medication, along with a (sometimes) implicit supply, and an explicit request to supply, with no explicit instructions.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableReference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Medication",
              "http://hl7.org/fhir/StructureDefinition/Substance",
              "http://hl7.org/fhir/StructureDefinition/Device",
              "http://hl7.org/fhir/StructureDefinition/DeviceDefinition"
            ]
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SupplyRequestItem"
            }
          ],
          "strength": "example",
          "description": "The item that was requested.",
          "valueSet": "http://hl7.org/fhir/ValueSet/supply-item"
        },
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.code"
          },
          {
            "identity": "rim",
            "map": ".code"
          }
        ]
      },
      {
        "id": "SupplyRequest.quantity",
        "extension": [
          {
            "url": "http://hl7.org/fhir/build/StructureDefinition/committee-notes",
            "valueString": "[#14271]."
          }
        ],
        "path": "SupplyRequest.quantity",
        "short": "The requested amount of the item indicated",
        "definition": "The amount that is being ordered of the indicated item.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".quantity"
          }
        ]
      },
      {
        "id": "SupplyRequest.parameter",
        "extension": [
          {
            "url": "http://hl7.org/fhir/build/StructureDefinition/committee-notes",
            "valueString": "[#14271]."
          }
        ],
        "path": "SupplyRequest.parameter",
        "short": "Ordered item details",
        "definition": "Specific parameters for the ordered item.  For example, the size of the indicated item.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.what[x]"
          },
          {
            "identity": "v2",
            "map": "Varies by domain"
          }
        ]
      },
      {
        "id": "SupplyRequest.parameter.code",
        "extension": [
          {
            "url": "http://hl7.org/fhir/build/StructureDefinition/committee-notes",
            "valueString": "[#14271]."
          }
        ],
        "path": "SupplyRequest.parameter.code",
        "short": "Item detail",
        "definition": "A code or string that identifies the device detail being asserted.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ParameterCode"
            }
          ],
          "strength": "example",
          "description": "A code that identifies the device detail."
        },
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.what[x]"
          },
          {
            "identity": "v2",
            "map": "Varies by domain"
          },
          {
            "identity": "rim",
            "map": ".code"
          }
        ]
      },
      {
        "id": "SupplyRequest.parameter.value[x]",
        "extension": [
          {
            "url": "http://hl7.org/fhir/build/StructureDefinition/committee-notes",
            "valueString": "[#14271]."
          }
        ],
        "path": "SupplyRequest.parameter.value[x]",
        "short": "Value of detail",
        "definition": "The value of the device detail.",
        "comment": "Range means device should have a value that falls somewhere within the specified range.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          },
          {
            "code": "boolean"
          }
        ],
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.what[x]"
          },
          {
            "identity": "v2",
            "map": "Varies by domain"
          },
          {
            "identity": "rim",
            "map": ".code"
          }
        ]
      },
      {
        "id": "SupplyRequest.occurrence[x]",
        "path": "SupplyRequest.occurrence[x]",
        "short": "When the request should be fulfilled",
        "definition": "When the request should be fulfilled.",
        "alias": [
          "when",
          "timing"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          },
          {
            "code": "Timing"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.occurrence[x]"
          },
          {
            "identity": "w5",
            "map": "FiveWs.planned"
          },
          {
            "identity": "v2",
            "map": "Accompanying TQ1/TQ2 segments"
          },
          {
            "identity": "rim",
            "map": ".effectiveTime"
          }
        ]
      },
      {
        "id": "SupplyRequest.authoredOn",
        "path": "SupplyRequest.authoredOn",
        "short": "When the request was made",
        "definition": "When the request was made.",
        "alias": [
          "date",
          "createdOn",
          "signedOn"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.authoredOn"
          },
          {
            "identity": "w5",
            "map": "FiveWs.recorded"
          },
          {
            "identity": "v2",
            "map": "ORC.9"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].time"
          }
        ]
      },
      {
        "id": "SupplyRequest.requester",
        "path": "SupplyRequest.requester",
        "short": "Individual making the request",
        "definition": "The device, practitioner, etc. who initiated the request.",
        "alias": [
          "author",
          "source"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
              "http://hl7.org/fhir/StructureDefinition/Organization",
              "http://hl7.org/fhir/StructureDefinition/Patient",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/StructureDefinition/Device",
              "http://hl7.org/fhir/StructureDefinition/CareTeam"
            ]
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.requester"
          },
          {
            "identity": "w5",
            "map": "FiveWs.author"
          },
          {
            "identity": "v2",
            "map": "ORC.12"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].role"
          }
        ]
      },
      {
        "id": "SupplyRequest.supplier",
        "path": "SupplyRequest.supplier",
        "short": "Who is intended to fulfill the request",
        "definition": "Who is intended to fulfill the request.",
        "alias": [
          "performer"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization",
              "http://hl7.org/fhir/StructureDefinition/HealthcareService"
            ]
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.performer"
          },
          {
            "identity": "w5",
            "map": "FiveWs.actor"
          },
          {
            "identity": "v2",
            "map": "PRT"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]"
          }
        ]
      },
      {
        "id": "SupplyRequest.reason",
        "path": "SupplyRequest.reason",
        "short": "The reason why the supply item was requested",
        "definition": "The reason why the supply item was requested.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableReference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Condition",
              "http://hl7.org/fhir/StructureDefinition/Observation",
              "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
              "http://hl7.org/fhir/StructureDefinition/DocumentReference"
            ]
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SupplyRequestReason"
            }
          ],
          "strength": "example",
          "description": "The reason why the supply item was requested.",
          "valueSet": "http://hl7.org/fhir/ValueSet/supplyrequest-reason"
        },
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.reason"
          },
          {
            "identity": "w5",
            "map": "FiveWs.why[x]"
          },
          {
            "identity": "v2",
            "map": "ORC.16"
          },
          {
            "identity": "rim",
            "map": ".reasonCode"
          }
        ]
      },
      {
        "id": "SupplyRequest.deliverFrom",
        "path": "SupplyRequest.deliverFrom",
        "short": "The origin of the supply",
        "definition": "Where the supply is expected to come from.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization",
              "http://hl7.org/fhir/StructureDefinition/Location"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "PRT"
          },
          {
            "identity": "rim",
            "map": ".participation"
          }
        ]
      },
      {
        "id": "SupplyRequest.deliverTo",
        "path": "SupplyRequest.deliverTo",
        "short": "The destination of the supply",
        "definition": "Where the supply is destined to go.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization",
              "http://hl7.org/fhir/StructureDefinition/Location",
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "PRT"
          },
          {
            "identity": "rim",
            "map": ".participation"
          }
        ]
      }
    ]
  }
}