{
  "resourceType": "StructureDefinition",
  "id": "7a57737f-db44-48cb-a2e0-9975a4d0d521",
  "meta": {
    "lastUpdated": "2022-09-14T09:35:07.078778+00:00"
  },
  "url": "https://hl7.pt/fhir/StructureDefinition/PT_Bundle",
  "version": "1.1",
  "name": "PT_Bundle",
  "status": "draft",
  "experimental": false,
  "date": "2022-09-14T10:57:40.7701575+00:00",
  "description": "A generic Bundle resource for Portugal",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.meta",
        "path": "Bundle.meta"
      },
      {
        "id": "Bundle.meta.id",
        "path": "Bundle.meta.id",
        "max": "0"
      },
      {
        "id": "Bundle.meta.lastUpdated",
        "path": "Bundle.meta.lastUpdated",
        "mapping": [
          {
            "identity": "HL7v2.x",
            "map": "EVN-2"
          }
        ]
      },
      {
        "id": "Bundle.meta.source",
        "path": "Bundle.meta.source",
        "max": "0"
      },
      {
        "id": "Bundle.meta.profile",
        "path": "Bundle.meta.profile",
        "max": "0"
      },
      {
        "id": "Bundle.meta.security",
        "path": "Bundle.meta.security",
        "max": "0"
      },
      {
        "id": "Bundle.meta.tag",
        "path": "Bundle.meta.tag",
        "max": "0"
      },
      {
        "id": "Bundle.implicitRules",
        "path": "Bundle.implicitRules",
        "max": "0"
      },
      {
        "id": "Bundle.language",
        "path": "Bundle.language",
        "max": "0"
      },
      {
        "id": "Bundle.identifier.id",
        "path": "Bundle.identifier.id",
        "max": "0"
      },
      {
        "id": "Bundle.identifier.use",
        "path": "Bundle.identifier.use",
        "max": "0"
      },
      {
        "id": "Bundle.identifier.type",
        "path": "Bundle.identifier.type",
        "max": "0"
      },
      {
        "id": "Bundle.identifier.system",
        "path": "Bundle.identifier.system",
        "max": "0"
      },
      {
        "id": "Bundle.identifier.value",
        "path": "Bundle.identifier.value",
        "mapping": [
          {
            "identity": "HL7v2.x",
            "map": "MSH-10"
          },
          {
            "identity": "HL7v2.x",
            "map": "[if type = searchset] = MSA-2"
          }
        ]
      },
      {
        "id": "Bundle.identifier.period",
        "path": "Bundle.identifier.period",
        "max": "0"
      },
      {
        "id": "Bundle.identifier.assigner",
        "path": "Bundle.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Bundle.total",
        "path": "Bundle.total",
        "mapping": [
          {
            "identity": "HL7v2.x",
            "map": "QAK-4.1"
          }
        ]
      },
      {
        "id": "Bundle.link",
        "path": "Bundle.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry.id",
        "path": "Bundle.entry.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry.link",
        "path": "Bundle.entry.link",
        "max": "0",
        "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"
      },
      {
        "id": "Bundle.entry.resource",
        "path": "Bundle.entry.resource",
        "comment": "In situations where type = searchset, the cardinality of the entry must be 1..*"
      },
      {
        "id": "Bundle.entry.request.ifNoneMatch",
        "path": "Bundle.entry.request.ifNoneMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry.request.ifModifiedSince",
        "path": "Bundle.entry.request.ifModifiedSince",
        "max": "0"
      },
      {
        "id": "Bundle.entry.request.ifMatch",
        "path": "Bundle.entry.request.ifMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry.request.ifNoneExist",
        "path": "Bundle.entry.request.ifNoneExist",
        "max": "0"
      }
    ]
  }
}