{
  "resourceType": "StructureDefinition",
  "id": "srx-fhir-profile-bundle-nrt-request",
  "meta": {
    "versionId": "7",
    "lastUpdated": "2018-02-26T17:48:41.796+00:00"
  },
  "url": "http://fhir-es.transcendinsights.com/stu3/StructureDefinition/srx-fhir-profile-bundle-nrt-request",
  "version": "1.0",
  "name": "srx-fhir-profile-bundle-nrt-request",
  "status": "draft",
  "date": "2018-01-12T01:03:40.146+00:00",
  "description": "The bundle to be used in the near-real-time request for SRX.",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.id",
        "path": "Bundle.id",
        "definition": "The logical id of the resource. This is the UUID assigned to the request.",
        "min": 1
      },
      {
        "id": "Bundle.meta.id",
        "path": "Bundle.meta.id",
        "max": "0"
      },
      {
        "id": "Bundle.meta.versionId",
        "path": "Bundle.meta.versionId",
        "max": "0"
      },
      {
        "id": "Bundle.meta.lastUpdated",
        "path": "Bundle.meta.lastUpdated",
        "min": 1
      },
      {
        "id": "Bundle.meta.profile",
        "path": "Bundle.meta.profile",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.meta.security",
        "path": "Bundle.meta.security",
        "max": "0"
      },
      {
        "id": "Bundle.meta.tag",
        "path": "Bundle.meta.tag",
        "max": "0"
      },
      {
        "id": "Bundle.implicitRules",
        "path": "Bundle.implicitRules",
        "max": "0",
        "mustSupport": false
      },
      {
        "id": "Bundle.language",
        "path": "Bundle.language",
        "max": "0"
      },
      {
        "id": "Bundle.identifier",
        "path": "Bundle.identifier",
        "max": "0"
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "short": "collection",
        "defaultValueCode": "collection",
        "fixedCode": "collection",
        "mustSupport": false
      },
      {
        "id": "Bundle.total",
        "path": "Bundle.total",
        "max": "0"
      },
      {
        "id": "Bundle.link",
        "path": "Bundle.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "resource"
            }
          ],
          "rules": "closed"
        },
        "short": "Entry in the bundle - will have a resource",
        "definition": "An entry in a bundle resource - will contain a resource",
        "comment": "The entries of the bundle.",
        "min": 5,
        "max": "5"
      },
      {
        "id": "Bundle.entry.id",
        "path": "Bundle.entry.id",
        "max": "0",
        "mustSupport": false
      },
      {
        "id": "Bundle.entry.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "short": "An id for a resource (server address, or UUID/OID)",
        "definition": "A temporary id for reference in the bundle",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.entry.resource",
        "path": "Bundle.entry.resource",
        "definition": "The Resources for the entry. Resources may be Communication, Patient, Coverage, Claim, Measure, Practitioner, Organization, and Medication.",
        "comment": "See profiles for each allowed resource in the bundle.",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.entry.resource.id",
        "path": "Bundle.entry.resource.id",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry.resource.meta",
        "path": "Bundle.entry.resource.meta",
        "max": "1"
      },
      {
        "id": "Bundle.entry.resource.meta.tag",
        "path": "Bundle.entry.resource.meta.tag",
        "max": "0"
      },
      {
        "id": "Bundle.entry.resource.meta.tag.code",
        "path": "Bundle.entry.resource.meta.tag.code",
        "max": "0"
      },
      {
        "id": "Bundle.entry.resource.meta.tag.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Bundle.entry.resource.meta.tag.display",
        "max": "0"
      },
      {
        "id": "Bundle.entry.resource.meta.tag.userSelected",
        "path": "Bundle.entry.resource.meta.tag.userSelected",
        "max": "0"
      },
      {
        "id": "Bundle.entry.resource.implicitRules",
        "path": "Bundle.entry.resource.implicitRules",
        "max": "0"
      },
      {
        "id": "Bundle.entry.resource.language",
        "path": "Bundle.entry.resource.language",
        "max": "0"
      },
      {
        "id": "Bundle.entry.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:patientEntry",
        "path": "Bundle.entry",
        "sliceName": "patientEntry",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:patientEntry.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:patientEntry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1
      },
      {
        "id": "Bundle.entry:patientEntry.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Resource",
            "profile": "http://fhir-es.transcendinsights.com/stu3/StructureDefinition/srx-fhir-profile-patient"
          }
        ]
      },
      {
        "id": "Bundle.entry:patientEntry.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:patientEntry.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:patientEntry.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:coverageEntry",
        "path": "Bundle.entry",
        "sliceName": "coverageEntry",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:coverageEntry.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:coverageEntry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1
      },
      {
        "id": "Bundle.entry:coverageEntry.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Resource",
            "profile": "http://fhir-es.transcendinsights.com/stu3/StructureDefinition/srx-fhir-profile-coverage"
          }
        ]
      },
      {
        "id": "Bundle.entry:coverageEntry.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:coverageEntry.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:coverageEntry.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:pharmacyClaimEntry",
        "path": "Bundle.entry",
        "sliceName": "pharmacyClaimEntry",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:pharmacyClaimEntry.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:pharmacyClaimEntry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1
      },
      {
        "id": "Bundle.entry:pharmacyClaimEntry.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": "http://fhir-es.transcendinsights.com/stu3/StructureDefinition/srx-fhir-profile-claim-drug"
          }
        ]
      },
      {
        "id": "Bundle.entry:pharmacyClaimEntry.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:pharmacyClaimEntry.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:pharmacyClaimEntry.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:practitionerEntry",
        "path": "Bundle.entry",
        "sliceName": "practitionerEntry",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:practitionerEntry.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:practitionerEntry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1
      },
      {
        "id": "Bundle.entry:practitionerEntry.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Resource",
            "profile": "http://fhir-es.transcendinsights.com/stu3/StructureDefinition/srx-fhir-profile-practitioner"
          }
        ]
      },
      {
        "id": "Bundle.entry:practitionerEntry.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:practitionerEntry.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:practitionerEntry.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:organizationEntry",
        "path": "Bundle.entry",
        "sliceName": "organizationEntry",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:organizationEntry.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:organizationEntry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1
      },
      {
        "id": "Bundle.entry:organizationEntry.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Resource",
            "profile": "http://fhir-es.transcendinsights.com/stu3/StructureDefinition/srx-fhir-profile-organization"
          }
        ]
      },
      {
        "id": "Bundle.entry:organizationEntry.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:organizationEntry.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:organizationEntry.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.signature",
        "path": "Bundle.signature",
        "max": "0"
      }
    ]
  }
}