{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-03-08T08:19:17.589+00:00",
    "profile": [
      "http://trilliumbridge.eu/fhir/StructureDefinition/immunization-uv-trillium2"
    ]
  },
  "url": "http://hl7.org/fhir/ips/StructureDefinition/immunization-basic-uv-trillium2",
  "name": "Immunization-basic-uv-trillium2",
  "title": "Immunization (basic IPS)",
  "status": "draft",
  "date": "2017-12-21",
  "publisher": "THL",
  "description": "Immunization profile for Trillium 2, unplanned care scenario, core profile.",
  "purpose": "Immunization basic IPS profile for Trillium 2",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Immunization",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Immunization",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Immunization",
        "path": "Immunization",
        "definition": "Describes the event of a patient being administered a vaccination or a record of a vaccination as reported by a patient, a clinician or another party and may include vaccine reaction information and what vaccination protocol was followed.\r\n\r\nIf it describes a reported information the details about the assertion (e.g. who did the assertion, when was done) can be optionally documented in the in the statement extension."
      },
      {
        "id": "Immunization.extension",
        "path": "Immunization.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Immunization.extension:statementDetails",
        "path": "Immunization.extension",
        "sliceName": "statementDetails",
        "type": [
          {
            "code": "Extension",
            "profile": "http://trilliumbridge.eu/fhir/StructureDefinition/statement-uv-trillium2"
          }
        ]
      },
      {
        "id": "Immunization.vaccineCode",
        "path": "Immunization.vaccineCode",
        "definition": "Vaccine that was administered or was to be administered.\r\n\r\nSeveral kinds of vaccine product coding could be provided .\r\nThe IPS requires that at least the Vaccine for type of disease is documented; other coded information that identify / classify the administered product (e.g. the medicinal prodoct or the  product class), including IDMP identifiers, can be recorded as well."
      },
      {
        "id": "Immunization.vaccineCode.coding",
        "path": "Immunization.vaccineCode.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "description": "One slice per system of representation of vaccines. \r\nSupports vaccine classifications and medicinal products identifiers and classes.\r\n\r\nWhen the IDMP identifiers will be concretely available for usage this element will be used for conveying the Medicinal Product Identifier (MPID).\r\nFor the time being, it could be optionally used for conveying jurisdictional or agreed cross jurisdictional product code.",
          "rules": "open"
        },
        "type": [
          {
            "code": "Coding",
            "profile": "http://hl7.org/fhir/ips/StructureDefinition/coding-uv-ips"
          }
        ]
      },
      {
        "id": "Immunization.vaccineCode.coding:vaccineType",
        "path": "Immunization.vaccineCode.coding",
        "sliceName": "vaccineType",
        "short": "Vaccine for type of disease",
        "definition": "The type of vaccine for particular disease or diseases against which the patient has been immunised.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Coding",
            "profile": "http://hl7.org/fhir/ips/StructureDefinition/coding-uv-ips"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Immunization.vaccineCode.coding:pharmaceuticalProduct-L1",
        "path": "Immunization.vaccineCode.coding",
        "sliceName": "pharmaceuticalProduct-L1",
        "short": "Pharmaceutical Product Identifier, Level 1",
        "definition": "IDMP PhPID Level 1 (Implies ingredients) or any equivalent Pharmaceutical Product identifier.\r\n\r\nPharmaceutical Product Identifier (PhPID): Uniquely identifies medicinal product based on the\r\ngeneric composition, such as ingredients and route of administration, separate from any other\r\ndetails such as regulatory authorisation, organisation, packaging or naming. The PhPID can be\r\nspecified at various levels of detail for a given Pharmaceutical Product.",
        "type": [
          {
            "code": "Coding",
            "profile": "http://hl7.org/fhir/ips/StructureDefinition/coding-uv-ips"
          }
        ]
      },
      {
        "id": "Immunization.vaccineCode.coding:pharmaceuticalProduct-L2",
        "path": "Immunization.vaccineCode.coding",
        "sliceName": "pharmaceuticalProduct-L2",
        "short": "Pharmaceutical Product Identifier, Level 2",
        "definition": "IDMP PhPID Level 2 (Implies ingredients and strength) or any equivalent Pharmaceutical Product identifier.\r\n\r\nPharmaceutical Product Identifier (PhPID): Uniquely identifies medicinal product based on the\r\ngeneric composition, such as ingredients and route of administration, separate from any other\r\ndetails such as regulatory authorisation, organisation, packaging or naming. The PhPID can be\r\nspecified at various levels of detail for a given Pharmaceutical Product.",
        "type": [
          {
            "code": "Coding",
            "profile": "http://hl7.org/fhir/ips/StructureDefinition/coding-uv-ips"
          }
        ]
      },
      {
        "id": "Immunization.vaccineCode.coding:pharmaceuticalProduct-L3",
        "path": "Immunization.vaccineCode.coding",
        "sliceName": "pharmaceuticalProduct-L3",
        "short": "Pharmaceutical Product Identifier, Level 3",
        "definition": "IDMP PhPID Level 3 (Implies ingredients and dose form) or any equivalent Pharmaceutical Product identifier.\r\n\r\nPharmaceutical Product Identifier (PhPID): Uniquely identifies medicinal product based on the\r\ngeneric composition, such as ingredients and route of administration, separate from any other\r\ndetails such as regulatory authorisation, organisation, packaging or naming. The PhPID can be\r\nspecified at various levels of detail for a given Pharmaceutical Product.",
        "type": [
          {
            "code": "Coding",
            "profile": "http://hl7.org/fhir/ips/StructureDefinition/coding-uv-ips"
          }
        ]
      },
      {
        "id": "Immunization.vaccineCode.coding:pharmaceuticalProduct-L4",
        "path": "Immunization.vaccineCode.coding",
        "sliceName": "pharmaceuticalProduct-L4",
        "short": "Pharmaceutical Product Identifier, Level 4",
        "definition": "IDMP PhPID Level 4 (Implies ingredients, strength, and dose form) or any equivalent Pharmaceutical Product identifier.\r\n\r\nPharmaceutical Product Identifier (PhPID): Uniquely identifies medicinal product based on the\r\ngeneric composition, such as ingredients and route of administration, separate from any other\r\ndetails such as regulatory authorisation, organisation, packaging or naming. The PhPID can be\r\nspecified at various levels of detail for a given Pharmaceutical Product.",
        "type": [
          {
            "code": "Coding",
            "profile": "http://hl7.org/fhir/ips/StructureDefinition/coding-uv-ips"
          }
        ]
      },
      {
        "id": "Immunization.vaccineCode.coding:medicinalProduct",
        "path": "Immunization.vaccineCode.coding",
        "sliceName": "medicinalProduct",
        "short": "Medicinal Product Identifier",
        "definition": "IDMP Medicinal Product Identifier (MPID) or any equivalent Medicinal Product Identifier.\r\n\r\nIDMP MPID uniquely identifies a Medicinal Product, reflecting (but not replacing) any other authorisation numbers allocated by a regulator.\r\n\r\nMPID implies one (set of) PhPID.\r\nThe MPID shall use a common segment pattern related to a Medicinal Product, which\r\nwhen each segment is valued shall define a specific MPID concept. The pattern is:\r\n• a) Country code segment (ISO 3166-1 alpha-2 code elements);\r\n• b) Marketing Authorization Holder (Organization Identifier) code segment;\r\n• c) Medicinal Product code segment (Unique Medicinal Product Identifier).\r\n• Any change of the values related to these three code segments shall result in the\r\nassignment of a new MPID.",
        "type": [
          {
            "code": "Coding",
            "profile": "http://hl7.org/fhir/ips/StructureDefinition/coding-uv-ips"
          }
        ]
      },
      {
        "id": "Immunization.vaccineCode.coding:packagedProduct",
        "path": "Immunization.vaccineCode.coding",
        "sliceName": "packagedProduct",
        "short": "Packaged Medicinal Product Identifier",
        "definition": "IDMP Packaged Medicinal Product Identifier  or any equivalent Packaged Medicinal Product Identifier.\r\n\r\nUniquely identifies a Medicinal Product based on its packaging. This implies one MPID can be associated with more than one PCID, if the same Medicinal Product has more than one type of package;\r\n\r\nThe PCID shall use a common segment pattern related to a package of a Medicinal\r\nProduct, which when each segment is valued, shall define a specific PCID concept. The\r\npattern is:\r\n• a) MPID for the Medicinal Product\r\n• b) package description code segment, which refers to a unique identifier for each\r\npackage.",
        "type": [
          {
            "code": "Coding",
            "profile": "http://hl7.org/fhir/ips/StructureDefinition/coding-uv-ips"
          }
        ]
      },
      {
        "id": "Immunization.vaccineCode.coding:class",
        "path": "Immunization.vaccineCode.coding",
        "sliceName": "class",
        "short": "Product classification or cluster",
        "definition": "Any classification or cluster of products such as ATC, SNOMED VMP or national classification of products",
        "type": [
          {
            "code": "Coding",
            "profile": "http://hl7.org/fhir/ips/StructureDefinition/coding-uv-ips"
          }
        ]
      },
      {
        "id": "Immunization.encounter",
        "path": "Immunization.encounter",
        "max": "0"
      },
      {
        "id": "Immunization.date",
        "path": "Immunization.date",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Immunization.reportOrigin",
        "path": "Immunization.reportOrigin",
        "max": "0"
      },
      {
        "id": "Immunization.location",
        "path": "Immunization.location",
        "max": "0"
      },
      {
        "id": "Immunization.manufacturer",
        "path": "Immunization.manufacturer",
        "max": "0"
      },
      {
        "id": "Immunization.manufacturer.reference",
        "path": "Immunization.manufacturer.reference",
        "max": "0"
      },
      {
        "id": "Immunization.manufacturer.identifier",
        "path": "Immunization.manufacturer.identifier",
        "max": "0"
      },
      {
        "id": "Immunization.lotNumber",
        "path": "Immunization.lotNumber",
        "max": "0"
      },
      {
        "id": "Immunization.expirationDate",
        "path": "Immunization.expirationDate",
        "max": "0"
      },
      {
        "id": "Immunization.site",
        "path": "Immunization.site",
        "max": "0"
      },
      {
        "id": "Immunization.site.coding",
        "path": "Immunization.site.coding",
        "type": [
          {
            "code": "Coding",
            "profile": "http://hl7.org/fhir/ips/StructureDefinition/coding-uv-ips"
          }
        ]
      },
      {
        "id": "Immunization.route",
        "path": "Immunization.route",
        "max": "0"
      },
      {
        "id": "Immunization.route.coding",
        "path": "Immunization.route.coding",
        "type": [
          {
            "code": "Coding",
            "profile": "http://hl7.org/fhir/ips/StructureDefinition/coding-uv-ips"
          }
        ]
      },
      {
        "id": "Immunization.doseQuantity",
        "path": "Immunization.doseQuantity",
        "max": "0"
      },
      {
        "id": "Immunization.practitioner",
        "path": "Immunization.practitioner",
        "max": "0"
      },
      {
        "id": "Immunization.practitioner.role",
        "path": "Immunization.practitioner.role",
        "max": "0"
      },
      {
        "id": "Immunization.note",
        "path": "Immunization.note",
        "max": "0"
      },
      {
        "id": "Immunization.note.author[x]",
        "path": "Immunization.note.author[x]",
        "max": "0"
      },
      {
        "id": "Immunization.note.time",
        "path": "Immunization.note.time",
        "max": "0"
      },
      {
        "id": "Immunization.explanation",
        "path": "Immunization.explanation",
        "max": "0"
      },
      {
        "id": "Immunization.explanation.reason",
        "path": "Immunization.explanation.reason",
        "max": "0"
      },
      {
        "id": "Immunization.explanation.reasonNotGiven",
        "path": "Immunization.explanation.reasonNotGiven",
        "max": "1"
      },
      {
        "id": "Immunization.explanation.reasonNotGiven.coding",
        "path": "Immunization.explanation.reasonNotGiven.coding",
        "type": [
          {
            "code": "Coding",
            "profile": "http://hl7.org/fhir/ips/StructureDefinition/coding-uv-ips"
          }
        ]
      },
      {
        "id": "Immunization.reaction",
        "path": "Immunization.reaction",
        "max": "0"
      },
      {
        "id": "Immunization.reaction.date",
        "path": "Immunization.reaction.date",
        "max": "0"
      },
      {
        "id": "Immunization.reaction.detail.reference",
        "path": "Immunization.reaction.detail.reference",
        "max": "0"
      },
      {
        "id": "Immunization.reaction.detail.identifier",
        "path": "Immunization.reaction.detail.identifier",
        "max": "0"
      },
      {
        "id": "Immunization.reaction.reported",
        "path": "Immunization.reaction.reported",
        "max": "0"
      },
      {
        "id": "Immunization.vaccinationProtocol",
        "path": "Immunization.vaccinationProtocol",
        "max": "1"
      },
      {
        "id": "Immunization.vaccinationProtocol.doseSequence",
        "path": "Immunization.vaccinationProtocol.doseSequence",
        "max": "0"
      },
      {
        "id": "Immunization.vaccinationProtocol.description",
        "path": "Immunization.vaccinationProtocol.description",
        "max": "0"
      },
      {
        "id": "Immunization.vaccinationProtocol.authority",
        "path": "Immunization.vaccinationProtocol.authority",
        "max": "0"
      },
      {
        "id": "Immunization.vaccinationProtocol.series",
        "path": "Immunization.vaccinationProtocol.series",
        "max": "0"
      },
      {
        "id": "Immunization.vaccinationProtocol.seriesDoses",
        "path": "Immunization.vaccinationProtocol.seriesDoses",
        "max": "0"
      },
      {
        "id": "Immunization.vaccinationProtocol.targetDisease.coding",
        "path": "Immunization.vaccinationProtocol.targetDisease.coding",
        "type": [
          {
            "code": "Coding",
            "profile": "http://hl7.org/fhir/ips/StructureDefinition/coding-uv-ips"
          }
        ]
      },
      {
        "id": "Immunization.vaccinationProtocol.doseStatus.coding",
        "path": "Immunization.vaccinationProtocol.doseStatus.coding",
        "type": [
          {
            "code": "Coding",
            "profile": "http://hl7.org/fhir/ips/StructureDefinition/coding-uv-ips"
          }
        ]
      },
      {
        "id": "Immunization.vaccinationProtocol.doseStatusReason",
        "path": "Immunization.vaccinationProtocol.doseStatusReason",
        "max": "0"
      }
    ]
  }
}