{
  "resourceType": "StructureDefinition",
  "id": "profile-serviceRequest-bdp",
  "url": "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-serviceRequest-bdp",
  "version": "1.0.0",
  "name": "BDPTransfusionOrderConsumer",
  "title": "BDP Transfusion Order Consumer",
  "status": "draft",
  "description": "BDP consumer profile for transfusion order/request context returned by a BDP Repository. This profile identifies the elements a consuming system is expected to support without imposing submission obligations.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "ServiceRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ServiceRequest",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "ServiceRequest.meta.source",
        "path": "ServiceRequest.meta.source",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.extension",
        "path": "ServiceRequest.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "ServiceRequest.extension:orderedVolume",
        "path": "ServiceRequest.extension",
        "sliceName": "orderedVolume",
        "short": "Ordered volume detail returned by the repository.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ontariohealth.ca/fhir/bdp/StructureDefinition/extension-volume-detail-bdp"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.identifier",
        "path": "ServiceRequest.identifier",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.status",
        "path": "ServiceRequest.status",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.intent",
        "path": "ServiceRequest.intent",
        "patternCode": "order",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.code",
        "path": "ServiceRequest.code",
        "short": "Standard transfusion code with an optional localized order name in text.",
        "patternCodeableConcept": {
          "coding": [
            {
              "code": "116859006",
              "system": "http://snomed.info/sct",
              "display": "Transfusion of blood product"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.code.text",
        "path": "ServiceRequest.code.text",
        "short": "Localized name or description for the ordered blood-product transfusion, when returned.",
        "comment": "The standard SNOMED CT coding remains required when code is returned. A localized name or description may be returned in CodeableConcept.text and does not replace the standard coding.",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.quantity[x]",
        "path": "ServiceRequest.quantity[x]",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.quantity[x].system",
        "path": "ServiceRequest.quantity[x].system",
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.subject",
        "path": "ServiceRequest.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.authoredOn",
        "path": "ServiceRequest.authoredOn",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.requester",
        "path": "ServiceRequest.requester",
        "mustSupport": true
      },
      {
        "id": "ServiceRequest.performer",
        "path": "ServiceRequest.performer",
        "mustSupport": true
      }
    ]
  }
}