{
  "resourceType": "StructureDefinition",
  "id": "HCVEImmunization-63b38122-1b93-451a-9a44-8d3c20c07241",
  "url": "https://www.esante.lu/fhir-spec/StructureDefinition/HCVEImmunization-63b38122-1b93-451a-9a44-8d3c20c07241",
  "version": "2.0.0",
  "name": "HCVEImmunization",
  "status": "active",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern 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)"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Immunization",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Immunization",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Immunization",
        "path": "Immunization",
        "short": "An immunization act"
      },
      {
        "id": "Immunization.meta",
        "path": "Immunization.meta",
        "max": "0"
      },
      {
        "id": "Immunization.text",
        "path": "Immunization.text",
        "max": "0"
      },
      {
        "id": "Immunization.contained",
        "path": "Immunization.contained",
        "max": "0"
      },
      {
        "id": "Immunization.extension",
        "path": "Immunization.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Immunization.extension:vaccineSN",
        "path": "Immunization.extension",
        "sliceName": "vaccineSN",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org.au/fhir/StructureDefinition/vaccine-serial-number"
            ]
          }
        ]
      },
      {
        "id": "Immunization.identifier",
        "path": "Immunization.identifier",
        "short": "The UUID identifying the immunization act",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Immunization.identifier.id",
        "path": "Immunization.identifier.id",
        "max": "0"
      },
      {
        "id": "Immunization.identifier.extension",
        "path": "Immunization.identifier.extension",
        "max": "0"
      },
      {
        "id": "Immunization.identifier.use",
        "path": "Immunization.identifier.use",
        "max": "0"
      },
      {
        "id": "Immunization.identifier.type",
        "path": "Immunization.identifier.type",
        "max": "0"
      },
      {
        "id": "Immunization.identifier.system",
        "path": "Immunization.identifier.system",
        "min": 1,
        "fixedUri": "urn:oid:1.3.182.2.24.12.1"
      },
      {
        "id": "Immunization.identifier.value",
        "path": "Immunization.identifier.value",
        "short": "The code as UUID",
        "min": 1,
        "example": [
          {
            "label": "Example",
            "valueString": "57502be8-ab03-47c0-839b-07392d5c43a0"
          }
        ]
      },
      {
        "id": "Immunization.identifier.period",
        "path": "Immunization.identifier.period",
        "max": "0"
      },
      {
        "id": "Immunization.identifier.assigner",
        "path": "Immunization.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Immunization.basedOn",
        "path": "Immunization.basedOn",
        "max": "0"
      },
      {
        "id": "Immunization.status",
        "path": "Immunization.status",
        "fixedCode": "completed"
      },
      {
        "id": "Immunization.statusReason",
        "path": "Immunization.statusReason",
        "max": "0"
      },
      {
        "id": "Immunization.vaccineCode.id",
        "path": "Immunization.vaccineCode.id",
        "max": "0"
      },
      {
        "id": "Immunization.vaccineCode.extension",
        "path": "Immunization.vaccineCode.extension",
        "max": "0"
      },
      {
        "id": "Immunization.vaccineCode.coding",
        "path": "Immunization.vaccineCode.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Immunization.vaccineCode.coding.id",
        "path": "Immunization.vaccineCode.coding.id",
        "max": "0"
      },
      {
        "id": "Immunization.vaccineCode.coding.extension",
        "path": "Immunization.vaccineCode.coding.extension",
        "max": "0"
      },
      {
        "id": "Immunization.vaccineCode.coding.system",
        "path": "Immunization.vaccineCode.coding.system",
        "min": 1,
        "fixedUri": "urn:oid:1.3.6.1.4.1.48601.1.1.1"
      },
      {
        "id": "Immunization.vaccineCode.coding.version",
        "path": "Immunization.vaccineCode.coding.version",
        "max": "0"
      },
      {
        "id": "Immunization.vaccineCode.coding.code",
        "path": "Immunization.vaccineCode.coding.code",
        "definition": "NUVA code of the vaccine",
        "min": 1,
        "example": [
          {
            "label": "Example",
            "valueString": "VAC0568"
          }
        ]
      },
      {
        "id": "Immunization.vaccineCode.coding.display",
        "path": "Immunization.vaccineCode.coding.display",
        "definition": "Label of the vaccine",
        "min": 1
      },
      {
        "id": "Immunization.vaccineCode.coding.userSelected",
        "path": "Immunization.vaccineCode.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Immunization.vaccineCode.text",
        "path": "Immunization.vaccineCode.text",
        "max": "0"
      },
      {
        "id": "Immunization.administeredProduct",
        "path": "Immunization.administeredProduct",
        "max": "0"
      },
      {
        "id": "Immunization.manufacturer",
        "path": "Immunization.manufacturer",
        "max": "0"
      },
      {
        "id": "Immunization.lotNumber",
        "path": "Immunization.lotNumber",
        "definition": "Lot number of the vaccine"
      },
      {
        "id": "Immunization.expirationDate",
        "path": "Immunization.expirationDate",
        "definition": "Expiration date format YYYY-MM-DD"
      },
      {
        "id": "Immunization.patient",
        "path": "Immunization.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.esante.lu/fhir-spec/StructureDefinition/HCVEPatient-bf1ca591-dd97-4354-953e-0c9908b7196b"
            ]
          }
        ]
      },
      {
        "id": "Immunization.encounter",
        "path": "Immunization.encounter",
        "max": "0"
      },
      {
        "id": "Immunization.supportingInformation",
        "path": "Immunization.supportingInformation",
        "max": "0"
      },
      {
        "id": "Immunization.occurrence[x]",
        "path": "Immunization.occurrence[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Immunization.occurrence[x]:occurrenceString",
        "path": "Immunization.occurrence[x]",
        "sliceName": "occurrenceString",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Immunization.occurrence[x]:occurrenceDateTime",
        "path": "Immunization.occurrence[x]",
        "sliceName": "occurrenceDateTime",
        "definition": "Date of the act format YYYY-MM-DD",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Immunization.primarySource",
        "path": "Immunization.primarySource",
        "max": "0"
      },
      {
        "id": "Immunization.informationSource",
        "path": "Immunization.informationSource",
        "max": "0"
      },
      {
        "id": "Immunization.location",
        "path": "Immunization.location",
        "definition": "Where the immunization has been given. If in Luxembourg, identifier.value = LUX and the display attribute will contain the name of the location, if known. If not in Luxembourg, only the county will be present in value, there will be no display. ",
        "min": 1,
        "example": [
          {
            "label": "Example if in Luxembourg",
            "valueString": "{ \"identifier\":{ \"system\":\"urn:iso:std:iso:3166\", \"value\":\"LUX\"}, \"display\": \"Centre de vaccination de Bobville\"}"
          },
          {
            "label": "Example if NOT in Luxembourg",
            "valueString": "{ \"identifier\":{ \"system\":\"urn:iso:std:iso:3166\", \"value\":\"FRA\"}}"
          }
        ]
      },
      {
        "id": "Immunization.location.id",
        "path": "Immunization.location.id",
        "max": "0"
      },
      {
        "id": "Immunization.location.extension",
        "path": "Immunization.location.extension",
        "max": "0"
      },
      {
        "id": "Immunization.location.reference",
        "path": "Immunization.location.reference",
        "max": "0"
      },
      {
        "id": "Immunization.location.type",
        "path": "Immunization.location.type",
        "max": "0"
      },
      {
        "id": "Immunization.location.identifier",
        "path": "Immunization.location.identifier",
        "min": 1
      },
      {
        "id": "Immunization.location.identifier.id",
        "path": "Immunization.location.identifier.id",
        "max": "0"
      },
      {
        "id": "Immunization.location.identifier.extension",
        "path": "Immunization.location.identifier.extension",
        "max": "0"
      },
      {
        "id": "Immunization.location.identifier.use",
        "path": "Immunization.location.identifier.use",
        "max": "0"
      },
      {
        "id": "Immunization.location.identifier.type",
        "path": "Immunization.location.identifier.type",
        "max": "0"
      },
      {
        "id": "Immunization.location.identifier.system",
        "path": "Immunization.location.identifier.system",
        "min": 1,
        "fixedUri": "urn:iso:std:iso:3166"
      },
      {
        "id": "Immunization.location.identifier.value",
        "path": "Immunization.location.identifier.value",
        "definition": "The country code on 3 letters",
        "min": 1
      },
      {
        "id": "Immunization.location.identifier.period",
        "path": "Immunization.location.identifier.period",
        "max": "0"
      },
      {
        "id": "Immunization.location.identifier.assigner",
        "path": "Immunization.location.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Immunization.location.display",
        "path": "Immunization.location.display",
        "definition": "The name of the location, only potentially present if the immunization was made in Luxembourg"
      },
      {
        "id": "Immunization.site.id",
        "path": "Immunization.site.id",
        "max": "0"
      },
      {
        "id": "Immunization.site.extension",
        "path": "Immunization.site.extension",
        "max": "0"
      },
      {
        "id": "Immunization.site.coding",
        "path": "Immunization.site.coding",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "https://www.esante.lu/fhir-spec/ValueSet/HCVESites"
        }
      },
      {
        "id": "Immunization.site.coding.id",
        "path": "Immunization.site.coding.id",
        "max": "0"
      },
      {
        "id": "Immunization.site.coding.extension",
        "path": "Immunization.site.coding.extension",
        "max": "0"
      },
      {
        "id": "Immunization.site.coding.system",
        "path": "Immunization.site.coding.system",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/v3-ActSite"
      },
      {
        "id": "Immunization.site.coding.version",
        "path": "Immunization.site.coding.version",
        "max": "0"
      },
      {
        "id": "Immunization.site.coding.code",
        "path": "Immunization.site.coding.code",
        "min": 1
      },
      {
        "id": "Immunization.site.coding.display",
        "path": "Immunization.site.coding.display",
        "max": "0"
      },
      {
        "id": "Immunization.site.coding.userSelected",
        "path": "Immunization.site.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Immunization.site.text",
        "path": "Immunization.site.text",
        "max": "0"
      },
      {
        "id": "Immunization.route.id",
        "path": "Immunization.route.id",
        "max": "0"
      },
      {
        "id": "Immunization.route.extension",
        "path": "Immunization.route.extension",
        "max": "0"
      },
      {
        "id": "Immunization.route.coding",
        "path": "Immunization.route.coding",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "https://www.esante.lu/fhir-spec/ValueSet/HCVERoutes"
        }
      },
      {
        "id": "Immunization.route.coding.id",
        "path": "Immunization.route.coding.id",
        "max": "0"
      },
      {
        "id": "Immunization.route.coding.extension",
        "path": "Immunization.route.coding.extension",
        "max": "0"
      },
      {
        "id": "Immunization.route.coding.system",
        "path": "Immunization.route.coding.system",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration"
      },
      {
        "id": "Immunization.route.coding.version",
        "path": "Immunization.route.coding.version",
        "max": "0"
      },
      {
        "id": "Immunization.route.coding.code",
        "path": "Immunization.route.coding.code",
        "min": 1
      },
      {
        "id": "Immunization.route.coding.display",
        "path": "Immunization.route.coding.display",
        "max": "0"
      },
      {
        "id": "Immunization.route.coding.userSelected",
        "path": "Immunization.route.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Immunization.route.text",
        "path": "Immunization.route.text",
        "max": "0"
      },
      {
        "id": "Immunization.doseQuantity",
        "path": "Immunization.doseQuantity",
        "max": "0"
      },
      {
        "id": "Immunization.performer",
        "path": "Immunization.performer",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Immunization.performer.id",
        "path": "Immunization.performer.id",
        "max": "0"
      },
      {
        "id": "Immunization.performer.extension",
        "path": "Immunization.performer.extension",
        "max": "0"
      },
      {
        "id": "Immunization.performer.modifierExtension",
        "path": "Immunization.performer.modifierExtension",
        "max": "0"
      },
      {
        "id": "Immunization.performer.function",
        "path": "Immunization.performer.function",
        "definition": "Role of the health professional. VP = act is registered based on a proof, AP = the profesional did the act",
        "min": 1
      },
      {
        "id": "Immunization.performer.function.id",
        "path": "Immunization.performer.function.id",
        "max": "0"
      },
      {
        "id": "Immunization.performer.function.extension",
        "path": "Immunization.performer.function.extension",
        "max": "0"
      },
      {
        "id": "Immunization.performer.function.coding",
        "path": "Immunization.performer.function.coding",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "https://www.esante.lu/fhir-spec/ValueSet/HCVEHPFunc"
        }
      },
      {
        "id": "Immunization.performer.function.coding.id",
        "path": "Immunization.performer.function.coding.id",
        "max": "0"
      },
      {
        "id": "Immunization.performer.function.coding.extension",
        "path": "Immunization.performer.function.coding.extension",
        "max": "0"
      },
      {
        "id": "Immunization.performer.function.coding.system",
        "path": "Immunization.performer.function.coding.system",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0443"
      },
      {
        "id": "Immunization.performer.function.coding.version",
        "path": "Immunization.performer.function.coding.version",
        "max": "0"
      },
      {
        "id": "Immunization.performer.function.coding.code",
        "path": "Immunization.performer.function.coding.code",
        "min": 1
      },
      {
        "id": "Immunization.performer.function.coding.display",
        "path": "Immunization.performer.function.coding.display",
        "max": "0"
      },
      {
        "id": "Immunization.performer.function.coding.userSelected",
        "path": "Immunization.performer.function.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Immunization.performer.function.text",
        "path": "Immunization.performer.function.text",
        "max": "0"
      },
      {
        "id": "Immunization.performer.actor",
        "path": "Immunization.performer.actor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.esante.lu/fhir-spec/StructureDefinition/HCVEPractitioner-47d27d07-07cd-4644-ab3a-0c7ea4d1290a"
            ]
          }
        ]
      },
      {
        "id": "Immunization.note",
        "path": "Immunization.note",
        "max": "0"
      },
      {
        "id": "Immunization.reason",
        "path": "Immunization.reason",
        "max": "0"
      },
      {
        "id": "Immunization.isSubpotent",
        "path": "Immunization.isSubpotent",
        "max": "0"
      },
      {
        "id": "Immunization.subpotentReason",
        "path": "Immunization.subpotentReason",
        "max": "0"
      },
      {
        "id": "Immunization.programEligibility",
        "path": "Immunization.programEligibility",
        "max": "0"
      },
      {
        "id": "Immunization.fundingSource",
        "path": "Immunization.fundingSource",
        "max": "0"
      },
      {
        "id": "Immunization.reaction",
        "path": "Immunization.reaction",
        "max": "0"
      },
      {
        "id": "Immunization.protocolApplied",
        "path": "Immunization.protocolApplied",
        "max": "1"
      },
      {
        "id": "Immunization.protocolApplied.id",
        "path": "Immunization.protocolApplied.id",
        "max": "0"
      },
      {
        "id": "Immunization.protocolApplied.extension",
        "path": "Immunization.protocolApplied.extension",
        "max": "0"
      },
      {
        "id": "Immunization.protocolApplied.modifierExtension",
        "path": "Immunization.protocolApplied.modifierExtension",
        "max": "0"
      },
      {
        "id": "Immunization.protocolApplied.series",
        "path": "Immunization.protocolApplied.series",
        "max": "0"
      },
      {
        "id": "Immunization.protocolApplied.authority",
        "path": "Immunization.protocolApplied.authority",
        "max": "0"
      },
      {
        "id": "Immunization.protocolApplied.targetDisease",
        "path": "Immunization.protocolApplied.targetDisease",
        "max": "0"
      },
      {
        "id": "Immunization.protocolApplied.doseNumber",
        "path": "Immunization.protocolApplied.doseNumber",
        "definition": "Only present with the value BOOSTER if it's a booster (fr: rappel)",
        "fixedString": "BOOSTER"
      },
      {
        "id": "Immunization.protocolApplied.seriesDoses",
        "path": "Immunization.protocolApplied.seriesDoses",
        "max": "0"
      }
    ]
  }
}