PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales.stu1@1.0.0-prerelease
    https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Immunization
description: null
package_name: fhir.r4.wales.stu1
derivation: constraint
name: DataStandardsWalesImmunization
type: Immunization
elements:
  patient:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient']
    index: 17
    elements:
      type: {index: 18}
      identifier:
        elements:
          system:
            pattern: {type: uri, value: 'https://fhir.nhs.uk/Id/nhs-number'}
            type: uri
            index: 19
          value: {index: 20}
        required: [system, value]
  reportOrigin: {mustSupport: true, index: 27}
  protocolApplied:
    mustSupport: true
    index: 61
    elements:
      authority:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
        index: 62
        elements:
          type: {index: 63}
      targetDisease:
        binding: {strength: required, valueSet: 'http://hl7.eu/fhir/ig/dgc/ValueSet/covid-19-diseases'}
        mustSupport: true
        index: 64
  site:
    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-BodySite'}
    mustSupport: true
    index: 36
    elements:
      coding:
        index: 37
        elements:
          code: {index: 38}
          display: {index: 39}
        required: [code, display]
    required: [coding]
  encounter:
    type: Reference
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Encounter']
    index: 21
    elements:
      type: {index: 22}
  vaccineCode:
    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-VaccineCode'}
    index: 12
    elements:
      coding:
        mustSupport: true
        index: 13
        elements:
          system: {index: 14}
          code: {index: 15}
          display: {index: 16}
        required: [code, display, system]
  doseQuantity: {mustSupport: true, index: 41}
  reasonCode:
    binding: {strength: extensible, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-ImmunizationExplanationReason'}
    mustSupport: true
    index: 51
    elements:
      coding:
        index: 52
        elements:
          system: {index: 53}
          code: {index: 54}
          display: {index: 55}
        required: [code, display, system]
    required: [coding]
  statusReason:
    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-ReasonImmunizationNotAdministered'}
    mustSupport: true
    index: 7
    elements:
      coding:
        index: 8
        elements:
          system: {index: 9}
          code: {index: 10}
          display: {index: 11}
        required: [code, display, system]
    required: [coding]
  route:
    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-SubstanceOrProductAdministrationRoute'}
    mustSupport: true
    index: 40
  recorded: {mustSupport: true, index: 26}
  note:
    elements:
      author:
        choices: [authorReference, authorString]
        index: 48
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/DataStandardsWales-Organization', 'https://fhir.hl7.org.uk/StructureDefinition/DataStandardsWales-Patient', 'https://fhir.hl7.org.uk/StructureDefinition/DataStandardsWales-Practitioner', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson']
        index: 49
      authorString: {type: string, choiceOf: author, index: 50}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        parentPresent:
          match: {url: null}
          schema: {type: Extension, mustSupport: false, url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ParentPresent', index: 1}
          min: 0
        vaccinationProcedure:
          match: {url: null}
          schema:
            type: Extension
            binding: {strength: required, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-VaccinationProcedure'}
            mustSupport: true
            url: https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-VaccinationProcedure
            index: 2
          min: 0
  status: {mustSupport: true, index: 6}
  lotNumber: {mustSupport: true, index: 34}
  identifier:
    mustSupport: true
    index: 3
    elements:
      system: {index: 4}
      value: {index: 5}
    required: [system, value]
  manufacturer:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization']
    index: 31
    elements:
      type: {index: 32}
      display: {index: 33}
    required: [display]
  reaction:
    elements:
      detail:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/DataStandardsWales-Observation']
        index: 58
        elements:
          type: {index: 59}
          identifier:
            elements:
              assigner:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
                index: 60
  location:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Location']
    index: 28
    elements:
      type: {index: 29}
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 30
  occurrenceDateTime: {type: dateTime, mustSupport: true, choiceOf: occurrence, index: 25}
  occurrence:
    mustSupport: true
    choices: [occurrenceDateTime]
    index: 24
  expirationDate: {mustSupport: true, index: 35}
  performer:
    mustSupport: true
    index: 42
    elements:
      actor:
        type: Reference
        refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PractitionerRole']
        index: 43
        elements:
          type: {index: 44}
          identifier:
            elements:
              system: {index: 45}
              value: {index: 46}
            required: [system, value]
        required: [type]
  reasonReference:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/DataStandardsWales-DiagnosticReport', 'https://fhir.hl7.org.uk/StructureDefinition/DataStandardsWales-Observation', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition']
    index: 56
    elements:
      type: {index: 57}
package_version: 1.0.0-prerelease
extensions:
  parentPresent: {url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ParentPresent', min: 0, type: Extension, mustSupport: false, index: 1}
  vaccinationProcedure:
    url: https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-VaccinationProcedure
    min: 0
    type: Extension
    binding: {strength: required, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-VaccinationProcedure'}
    mustSupport: true
    index: 2
class: profile
kind: resource
url: https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Immunization
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-Immunization
version: 0.0.5