PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales.stu1@0.1.1-ballot
    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: 18
    elements:
      type: {index: 19}
      identifier:
        elements:
          system:
            pattern: {type: uri, value: 'https://fhir.nhs.uk/Id/nhs-number'}
            type: uri
            index: 20
          value: {index: 21}
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 22
        required: [system, value]
  reportOrigin: {mustSupport: true, index: 30}
  protocolApplied:
    mustSupport: true
    index: 66
    elements:
      authority:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
        index: 67
        elements:
          type: {index: 68}
          identifier:
            elements:
              assigner:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
                index: 69
      targetDisease:
        binding: {strength: required, valueSet: 'http://hl7.eu/fhir/ig/dgc/ValueSet/covid-19-diseases'}
        mustSupport: true
        index: 70
  site:
    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-BodySite'}
    mustSupport: true
    index: 40
    elements:
      coding:
        index: 41
        elements:
          code: {index: 42}
          display: {index: 43}
        required: [code, display]
    required: [coding]
  encounter:
    type: Reference
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Encounter']
    index: 23
    elements:
      type: {index: 24}
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 25
  vaccineCode:
    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-VaccineCode'}
    index: 13
    elements:
      coding:
        mustSupport: true
        index: 14
        elements:
          system: {index: 15}
          code: {index: 16}
          display: {index: 17}
        required: [code, display, system]
  doseQuantity: {mustSupport: true, index: 45}
  reasonCode:
    binding: {strength: extensible, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-ImmunizationExplanationReason'}
    mustSupport: true
    index: 55
    elements:
      coding:
        index: 56
        elements:
          system: {index: 57}
          code: {index: 58}
          display: {index: 59}
        required: [code, display, system]
    required: [coding]
  statusReason:
    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-ReasonImmunizationNotAdministered'}
    mustSupport: true
    index: 8
    elements:
      coding:
        index: 9
        elements:
          system: {index: 10}
          code: {index: 11}
          display: {index: 12}
        required: [code, display, system]
    required: [coding]
  route:
    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-SubstanceOrProductAdministrationRoute'}
    mustSupport: true
    index: 44
  recorded: {mustSupport: true, index: 29}
  note:
    elements:
      author:
        choices: [authorReference, authorString]
        index: 52
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson']
        index: 53
      authorString: {type: string, choiceOf: author, index: 54}
  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: 7}
  lotNumber: {mustSupport: true, index: 38}
  identifier:
    mustSupport: true
    index: 3
    elements:
      system: {index: 4}
      value: {index: 5}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
        index: 6
    required: [system, value]
  manufacturer:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization']
    index: 34
    elements:
      type: {index: 35}
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 36
      display: {index: 37}
    required: [display]
  reaction:
    elements:
      detail:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation']
        index: 63
        elements:
          type: {index: 64}
          identifier:
            elements:
              assigner:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
                index: 65
  location:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Location']
    index: 31
    elements:
      type: {index: 32}
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 33
  occurrenceDateTime: {type: dateTime, mustSupport: true, choiceOf: occurrence, index: 28}
  occurrence:
    mustSupport: true
    choices: [occurrenceDateTime]
    index: 27
  expirationDate: {mustSupport: true, index: 39}
  performer:
    mustSupport: true
    index: 46
    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: 47
        elements:
          type: {index: 48}
          identifier:
            elements:
              system: {index: 49}
              value: {index: 50}
            required: [system, value]
        required: [type]
  reasonReference:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-DiagnosticReport', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation']
    index: 60
    elements:
      type: {index: 61}
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 62
package_version: 0.1.1-ballot
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: http://hl7.org/fhir/StructureDefinition/Immunization
version: 0.0.5