{
  "resourceType": "StructureDefinition",
  "id": "3a46c1e4-621b-4f05-a9ee-6df81b928311",
  "meta": {
    "versionId": "6",
    "lastUpdated": "2025-01-24T22:55:17.8280561+00:00"
  },
  "url": "http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/Bundle",
  "name": "Bundle",
  "status": "draft",
  "date": "2021-11-26T22:46:05.681609Z",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.id",
        "path": "Bundle.id",
        "comment": "Unique GUID",
        "min": 1
      },
      {
        "id": "Bundle.meta",
        "path": "Bundle.meta",
        "min": 1
      },
      {
        "id": "Bundle.meta.versionId",
        "path": "Bundle.meta.versionId",
        "comment": "Use '2025.01.1' (It indicates FHIR changes on 2025-Jan)."
      },
      {
        "id": "Bundle.meta.lastUpdated",
        "path": "Bundle.meta.lastUpdated",
        "comment": "Updated: Relax the previously crossed-out elements."
      },
      {
        "id": "Bundle.meta.profile",
        "path": "Bundle.meta.profile",
        "comment": "Use 'http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunicationdistribution/Bundle'",
        "min": 1,
        "max": "1",
        "fixedCanonical": "http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/Bundle"
      },
      {
        "id": "Bundle.meta.security",
        "path": "Bundle.meta.security",
        "max": "1"
      },
      {
        "id": "Bundle.meta.tag",
        "path": "Bundle.meta.tag",
        "max": "1"
      },
      {
        "id": "Bundle.identifier.type.text",
        "path": "Bundle.identifier.type.text",
        "comment": "See Mappings",
        "min": 1,
        "mapping": [
          {
            "identity": "source-panorama-ids",
            "map": "Panorama IDS Bundle ID"
          }
        ]
      },
      {
        "id": "Bundle.identifier.system",
        "path": "Bundle.identifier.system",
        "comment": "See Mappings",
        "min": 1,
        "mapping": [
          {
            "identity": "source-panorama-ids",
            "map": "https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-panorama-ids-source-gundle-id"
          }
        ]
      },
      {
        "id": "Bundle.identifier.value",
        "path": "Bundle.identifier.value",
        "comment": "See Mappings",
        "mapping": [
          {
            "identity": "source-panorama-ids",
            "map": "resourceBundle.id"
          }
        ]
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "comment": "Hardcode as \"collection\" for distribution"
      },
      {
        "id": "Bundle.timestamp",
        "path": "Bundle.timestamp",
        "comment": "Full dateTime with GMT offset, use local PIR timezone.",
        "min": 1
      },
      {
        "id": "Bundle.link",
        "path": "Bundle.link",
        "max": "1"
      },
      {
        "id": "Bundle.entry.id",
        "path": "Bundle.entry.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry.link",
        "path": "Bundle.entry.link",
        "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"
      }
    ]
  }
}