{
  "resourceType": "StructureDefinition",
  "id": "profile-Bundle-observation-alert-transaction",
  "url": "https://bpcs.exchange/fhir/StructureDefinition/profile-Bundle-observation-alert-transaction",
  "name": "BundleAlertTransaction",
  "title": "Bundle Alert Transaction",
  "status": "active",
  "experimental": false,
  "description": "Bundle used for BPCS transaction containing updates to alerts and special handling observations",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "BPCS",
      "name": "Internal BPCS API"
    }
  ],
  "kind": "resource",
  "abstract": true,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/transaction-bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.entry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry.request",
        "path": "Bundle.entry.request",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry.request.url",
        "path": "Bundle.entry.request.url",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:put",
        "path": "Bundle.entry",
        "sliceName": "put",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:put.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Observation",
            "profile": [
              "https://bpcs.exchange/fhir/StructureDefinition/profile-Observation-alert-update"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:post",
        "path": "Bundle.entry",
        "sliceName": "post",
        "max": "0"
      },
      {
        "id": "Bundle.entry:get",
        "path": "Bundle.entry",
        "sliceName": "get",
        "max": "0"
      },
      {
        "id": "Bundle.entry:delete",
        "path": "Bundle.entry",
        "sliceName": "delete",
        "max": "0"
      },
      {
        "id": "Bundle.entry:patch",
        "path": "Bundle.entry",
        "sliceName": "patch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:head",
        "path": "Bundle.entry",
        "sliceName": "head",
        "max": "0"
      }
    ]
  }
}