PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales.stu1@1.0.0
    https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-AllergyIntolerance
description: null
package_name: fhir.r4.wales.stu1
derivation: constraint
name: DataStandardsWalesAllergyIntolerance
type: AllergyIntolerance
elements:
  patient:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient']
    index: 4
  clinicalStatus: {mustSupport: true, index: 2}
  encounter: {mustSupport: true, index: 5}
  asserter:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PractitionerRole']
    index: 8
  note:
    elements:
      author:
        choices: [authorReference, authorString]
        index: 10
      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: 11
      authorString: {type: string, choiceOf: author, index: 12}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        evidence:
          match: {url: null}
          schema: {mustSupport: true, index: 1}
          min: 0
  recordedDate: {mustSupport: true, index: 6}
  recorder:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PractitionerRole']
    index: 7
  code: {mustSupport: true, index: 3}
  reaction:
    mustSupport: true
    index: 13
    elements:
      note:
        elements:
          author:
            choices: [authorReference, authorString]
            index: 15
          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: 16
          authorString: {type: string, choiceOf: author, index: 17}
package_version: 1.0.0
extensions:
  evidence: {url: null, min: 0, mustSupport: true, index: 1}
class: profile
kind: resource
url: https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-AllergyIntolerance
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-AllergyIntolerance
version: 1.0.0