{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.synapxe.sg/StructureDefinition/profile-bundle-ednotes",
  "name": "BundleEDNotes",
  "status": "active",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "patternCode": "document"
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "resource"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Bundle.entry:ednotes",
        "path": "Bundle.entry",
        "sliceName": "ednotes",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:ednotes.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-ednotes"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:ednotes.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:ednotes.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:ednotes.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:edvisit",
        "path": "Bundle.entry",
        "sliceName": "edvisit",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:edvisit.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-edvisit"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:edvisit.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:edvisit.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:edvisit.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:observation",
        "path": "Bundle.entry",
        "sliceName": "observation"
      },
      {
        "id": "Bundle.entry:observation.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-observation"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:observation.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:observation.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:observation.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescriptionorder",
        "path": "Bundle.entry",
        "sliceName": "prescriptionorder"
      },
      {
        "id": "Bundle.entry:prescriptionorder.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-ed-prescriptionorder"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:prescriptionorder.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescriptionorder.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescriptionorder.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:medicationadministration",
        "path": "Bundle.entry",
        "sliceName": "medicationadministration"
      },
      {
        "id": "Bundle.entry:medicationadministration.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-ed-medicationadministration"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:medicationadministration.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:medicationadministration.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:medicationadministration.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:procedure",
        "path": "Bundle.entry",
        "sliceName": "procedure"
      },
      {
        "id": "Bundle.entry:procedure.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-ed-procedure"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:procedure.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:procedure.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:procedure.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:medicalcertificate",
        "path": "Bundle.entry",
        "sliceName": "medicalcertificate"
      },
      {
        "id": "Bundle.entry:medicalcertificate.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-medicalcertificate"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:medicalcertificate.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:medicalcertificate.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:medicalcertificate.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:allergyintolerance",
        "path": "Bundle.entry",
        "sliceName": "allergyintolerance"
      },
      {
        "id": "Bundle.entry:allergyintolerance.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-allergyintolerance"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:allergyintolerance.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:allergyintolerance.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:allergyintolerance.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:flag",
        "path": "Bundle.entry",
        "sliceName": "flag"
      },
      {
        "id": "Bundle.entry:flag.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-flag"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:flag.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:flag.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:flag.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:fileattachment",
        "path": "Bundle.entry",
        "sliceName": "fileattachment"
      },
      {
        "id": "Bundle.entry:fileattachment.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-fileattachment"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:fileattachment.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:fileattachment.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:fileattachment.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:stepprocedure",
        "path": "Bundle.entry",
        "sliceName": "stepprocedure"
      },
      {
        "id": "Bundle.entry:stepprocedure.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-ed-stepProcedure"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:stepprocedure.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:stepprocedure.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:stepprocedure.response",
        "path": "Bundle.entry.response",
        "max": "0"
      }
    ]
  }
}