PackagesCanonicalsLogsProblems
    Packages
    surescripts.specialty@1.0.0-beta
    http://fhirdocs.surescripts.net/fhir/specialty/StructureDefinition/Bundle_SRxDataResponse
{
  "description": "This Bundle profile describes the minimum requirements that a receiver of the SRxDataResponse message can expect, regardless of the source of the information and the manner in which the information is provided to and/or assembled by Specialty Patient Enrollment.",
  "_filename": "BundleSRxDataResponse.json",
  "package_name": "surescripts.specialty",
  "date": "2021-01-15",
  "derivation": "constraint",
  "publisher": "Surescripts, LLC",
  "fhirVersion": "4.0.1",
  "name": "Bundle_SRxDataResponse",
  "mapping": [ {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/v3/cda",
    "name": "CDA (R2)",
    "identity": "cda"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  } ],
  "abstract": false,
  "copyright": "2021",
  "type": "Bundle",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.0.0-beta",
  "status": "active",
  "id": "09d795ed-fe61-465f-b8d4-285c72db7bd3",
  "kind": "resource",
  "url": "http://fhirdocs.surescripts.net/fhir/specialty/StructureDefinition/Bundle_SRxDataResponse",
  "version": null,
  "differential": {
    "element": [ {
      "id": "Bundle.id",
      "min": 1,
      "path": "Bundle.id"
    }, {
      "id": "Bundle.meta",
      "min": 1,
      "path": "Bundle.meta",
      "definition": "The SRxDataResponse bundle defines the requirements for the SRxDataResponse message as a whole."
    }, {
      "id": "Bundle.meta.lastUpdated",
      "min": 1,
      "path": "Bundle.meta.lastUpdated"
    }, {
      "id": "Bundle.identifier",
      "min": 1,
      "path": "Bundle.identifier"
    }, {
      "id": "Bundle.identifier.system",
      "path": "Bundle.identifier.system",
      "mustSupport": true
    }, {
      "id": "Bundle.identifier.value",
      "min": 1,
      "path": "Bundle.identifier.value",
      "mustSupport": true
    }, {
      "id": "Bundle.type",
      "path": "Bundle.type",
      "fixedCode": "message",
      "definition": "Indicates the purpose of this bundle - how it is intended to be used. Specialty Enrollment bundles only support messaging (i.e., type must be message)."
    }, {
      "id": "Bundle.timestamp",
      "min": 1,
      "path": "Bundle.timestamp"
    }, {
      "id": "Bundle.entry",
      "min": 4,
      "path": "Bundle.entry",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "resource",
          "type": "type"
        } ]
      },
      "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only). A mininimum of 5 entries (resources) are required in every SRxDataResponse message, where the first entry must be a MessageHeader. The additional required resources are a MedicationRequest (i.e., the specialty medication for which an enrollment is being processed), and the main entities involved in the enrollment -- Patient (who the prescription is for), Practitioner (who is authorizing the prescription), Organization (the pharmacy that has been requested, by the prescriber, to dispense the medication, to the patient).",
      "mustSupport": true
    }, {
      "id": "Bundle.entry.search",
      "max": "0",
      "path": "Bundle.entry.search",
      "mustSupport": false
    }, {
      "id": "Bundle.entry.request",
      "max": "0",
      "path": "Bundle.entry.request",
      "mustSupport": false
    }, {
      "id": "Bundle.entry.response",
      "max": "0",
      "path": "Bundle.entry.response",
      "mustSupport": false
    }, {
      "id": "Bundle.entry:messageHeader",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry",
      "sliceName": "messageHeader",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:messageHeader.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl"
    }, {
      "id": "Bundle.entry:messageHeader.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "http://fhirdocs.surescripts.net/fhir/specialty/StructureDefinition/MessageHeader_SRxDataResponse" ]
      } ],
      "short": "The message header for the SRxDataResponse.",
      "definition": "The SRxDataResponse MessageHeader.",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:medicationRequest",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry",
      "sliceName": "medicationRequest",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:medicationRequest.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl"
    }, {
      "id": "Bundle.entry:medicationRequest.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "http://fhirdocs.surescripts.net/fhir/specialty/StructureDefinition/MedicationRequest_MedicationPrescribed" ]
      } ],
      "short": "The MedicationRequest for the SRxDataResponse.",
      "definition": "The specialty prescription for which enrollment information is being provided."
    }, {
      "id": "Bundle.entry:patient",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry",
      "sliceName": "patient",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:patient.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl"
    }, {
      "id": "Bundle.entry:patient.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "http://fhirdocs.surescripts.net/fhir/specialty/StructureDefinition/Patient" ]
      } ],
      "short": "The Patient for the SRxDataResponse.",
      "definition": "The patient for whom the specialty enrollment information is being provided."
    }, {
      "id": "Bundle.entry:patient.resource.name",
      "min": 1,
      "path": "Bundle.entry.resource.name",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "pattern"
        } ]
      }
    }, {
      "id": "Bundle.entry:prescriber",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry",
      "sliceName": "prescriber",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:prescriber.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl"
    }, {
      "id": "Bundle.entry:prescriber.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "http://fhirdocs.surescripts.net/fhir/specialty/StructureDefinition/Practitioner_Prescriber" ]
      } ],
      "short": "The Practitioner for the SRxDataResponse.",
      "definition": "The prescriber of the specialty medication for which enrollment information is being provided.",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:prescriber.resource.name",
      "min": 1,
      "path": "Bundle.entry.resource.name",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "pattern"
        } ]
      }
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle"
}