PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales.stu1@1.2.1
    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: 16
    elements:
      identifier:
        elements:
          system:
            pattern: {type: uri, value: 'https://fhir.nhs.uk/Id/nhs-number'}
            type: uri
            index: 17
          value: {index: 18}
        required: [system, value]
  reportOrigin: {mustSupport: true, index: 24}
  protocolApplied:
    mustSupport: true
    index: 52
    elements:
      targetDisease:
        binding: {strength: required, valueSet: 'http://hl7.eu/fhir/ig/dgc/ValueSet/covid-19-diseases'}
        mustSupport: true
        index: 53
  site:
    binding: {strength: extensible, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-BodySite'}
    mustSupport: true
    index: 30
    elements:
      coding:
        index: 31
        elements:
          code: {index: 32}
          display: {index: 33}
        required: [code, display]
    required: [coding]
  encounter:
    type: Reference
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Encounter']
    index: 19
  vaccineCode:
    elements:
      coding:
        mustSupport: true
        index: 12
        elements:
          system: {index: 13}
          code: {index: 14}
          display: {index: 15}
        required: [code, display, system]
  doseQuantity: {mustSupport: true, index: 35}
  reasonCode:
    mustSupport: true
    index: 45
    elements:
      coding:
        index: 46
        elements:
          system: {index: 47}
          code: {index: 48}
          display: {index: 49}
        required: [code, display, system]
    required: [coding]
  statusReason:
    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: {mustSupport: true, index: 34}
  recorded: {mustSupport: true, index: 23}
  note:
    elements:
      author:
        choices: [authorReference, authorString]
        index: 42
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner']
        index: 43
      authorString: {type: string, choiceOf: author, index: 44}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        parentPresent:
          match: {url: null}
          schema: {mustSupport: false, index: 1}
          min: 0
        vaccinationProcedure:
          match: {url: null}
          schema:
            binding: {strength: required, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-VaccinationProcedure'}
            mustSupport: true
            index: 2
          min: 0
  status: {mustSupport: true, index: 6}
  lotNumber: {mustSupport: true, index: 28}
  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: 26
    elements:
      display: {index: 27}
    required: [display]
  reaction:
    elements:
      detail:
        type: Reference
        refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Observation']
        index: 51
  location:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Location']
    index: 25
  occurrenceDateTime: {type: dateTime, mustSupport: true, choiceOf: occurrence, index: 22}
  occurrence:
    mustSupport: true
    choices: [occurrenceDateTime]
    index: 21
  expirationDate: {mustSupport: true, index: 29}
  performer:
    mustSupport: true
    index: 36
    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: 37
        elements:
          type: {index: 38}
          identifier:
            elements:
              system: {index: 39}
              value: {index: 40}
            required: [system, value]
        required: [type]
  reasonReference:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-DiagnosticReport', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Observation']
    index: 50
package_version: 1.2.1
extensions:
  parentPresent: {url: null, min: 0, mustSupport: false, index: 1}
  vaccinationProcedure:
    url: null
    min: 0
    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