{
  "resourceType": "StructureDefinition",
  "id": "profile-bundle-genomicsreport",
  "url": "https://fhir.synapxe.sg/StructureDefinition/profile-bundle-genomicsreport",
  "name": "GenomicsReport",
  "title": "Genomics Report Bundle Profile",
  "description": "Document Bundle profile for genomic diagnostic reports and their supporting clinical resources.",
  "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.meta",
        "path": "Bundle.meta",
        "type": [
          {
            "code": "Meta",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-meta"
            ]
          }
        ]
      },
      {
        "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:genomicsreport",
        "path": "Bundle.entry",
        "sliceName": "genomicsreport",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:genomicsreport.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-genomicsreport"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:genomicsreport.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:variant",
        "path": "Bundle.entry",
        "sliceName": "variant"
      },
      {
        "id": "Bundle.entry:variant.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-variant"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:variant.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:molecularbiomarker",
        "path": "Bundle.entry",
        "sliceName": "molecularbiomarker"
      },
      {
        "id": "Bundle.entry:molecularbiomarker.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-molecularbiomarker"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:molecularbiomarker.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:specimen",
        "path": "Bundle.entry",
        "sliceName": "specimen"
      },
      {
        "id": "Bundle.entry:specimen.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-genomics-specimen"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:specimen.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:servicerequest",
        "path": "Bundle.entry",
        "sliceName": "servicerequest"
      },
      {
        "id": "Bundle.entry:servicerequest.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-genomics-servicerequest"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:servicerequest.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:patient",
        "path": "Bundle.entry",
        "sliceName": "patient"
      },
      {
        "id": "Bundle.entry:patient.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-genomics-patient"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:patient.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:medicationrecommendation",
        "path": "Bundle.entry",
        "sliceName": "medicationrecommendation"
      },
      {
        "id": "Bundle.entry:medicationrecommendation.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-medicationrecommendation"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:medicationrecommendation.search",
        "path": "Bundle.entry.search",
        "max": "0"
      }
    ]
  }
}