{
  "resourceType": "StructureDefinition",
  "id": "srx-fhir-profile-bundle-patient",
  "meta": {
    "versionId": "6",
    "lastUpdated": "2018-04-19T17:22:24.366+00:00"
  },
  "url": "http://fhir-es.transcendinsights.com/stu3/StructureDefinition/srx-fhir-profile-bundle-patient",
  "name": "srx-fhir-profile-bundle-patient",
  "status": "draft",
  "date": "2018-02-23T22:12:40.393+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle",
        "path": "Bundle",
        "short": "Paitnet bundle that contains a collection of resources",
        "definition": "Patient bundle - a container for a collection of resources."
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "fixedCode": "collection"
      },
      {
        "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"
        },
        "min": 1
      },
      {
        "id": "Bundle.entry:patientEntry",
        "path": "Bundle.entry",
        "sliceName": "patientEntry",
        "short": "Entry in the bundle - Patient resource",
        "definition": "An entry in a bundle resource -Patient resource",
        "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",
        "short": "A patient resource in the bundle",
        "definition": "The patient 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",
        "short": "Entry in the bundle - Coverage resource",
        "definition": "An entry in a bundle resource - Coverage resource",
        "min": 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",
        "short": "Entry in the bundle - Claim resource(drug)",
        "definition": "An entry in a bundle resource - Claim resource (drug)"
      },
      {
        "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,
        "max": "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:medicalClaimEntry",
        "path": "Bundle.entry",
        "sliceName": "medicalClaimEntry",
        "short": "Entry in the bundle - Claim resource (medical)",
        "definition": "An entry in a bundle resource - Claim resource (medical)\r\nProfile for medical claims TBD"
      },
      {
        "id": "Bundle.entry:medicalClaimEntry.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:medicalClaimEntry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1
      },
      {
        "id": "Bundle.entry:medicalClaimEntry.resource",
        "path": "Bundle.entry.resource",
        "short": "A resource in the bundle: Medical Claims",
        "definition": "Medical Claim",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": "http://fhir-es.transcendinsights.com/stu3/StructureDefinition/srx-fhir-profile-claim-medical-hum"
          }
        ]
      },
      {
        "id": "Bundle.entry:medicalClaimEntry.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:medicalClaimEntry.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:medicalClaimEntry.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:practitionerEntry",
        "path": "Bundle.entry",
        "sliceName": "practitionerEntry",
        "short": "Entry in the bundle - Practitioner resource",
        "definition": "An entry in a bundle resource - Practitioner resource"
      },
      {
        "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",
        "short": "Entry in the bundle - Organization resource",
        "definition": "An entry in a bundle resource - Organization resource"
      },
      {
        "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,
        "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"
      }
    ]
  }
}