{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.synapxe.sg/StructureDefinition/profile-bundle-diagnosticreport-colo",
  "name": "BundleColorectalScreeningReport",
  "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": "transaction"
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "resource"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Bundle.entry:report",
        "path": "Bundle.entry",
        "sliceName": "report",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Bundle.entry:report.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-diagnosticreport-colo"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:report.request",
        "path": "Bundle.entry.request",
        "min": 1
      },
      {
        "id": "Bundle.entry:specimen",
        "path": "Bundle.entry",
        "sliceName": "specimen",
        "min": 0
      },
      {
        "id": "Bundle.entry:specimen.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-specimen"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:specimen.request",
        "path": "Bundle.entry.request",
        "min": 1
      },
      {
        "id": "Bundle.entry:observation",
        "path": "Bundle.entry",
        "sliceName": "observation",
        "min": 0
      },
      {
        "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.request",
        "path": "Bundle.entry.request",
        "min": 1
      }
    ]
  }
}