PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales@2.0.0
    https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-AllergyIntolerance
description: null
package_name: fhir.r4.wales
derivation: constraint
name: DataStandardsWalesAllergyIntolerance
type: AllergyIntolerance
elements:
  extension:
    mustSupport: true
    index: 0
    slicing:
      slices:
        evidence:
          match: {}
          schema: {mustSupport: true, index: 0}
  patient:
    type: Reference
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient']
    index: 1
  encounter:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Encounter']
    index: 2
  recordedDate: {mustSupport: true, index: 3}
  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: 4
  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: 5
  note:
    elements:
      author:
        choices: [authorReference, authorString]
        index: 7
      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: 8
      authorString: {type: string, choiceOf: author, index: 9}
  reaction:
    elements:
      note:
        elements:
          author:
            choices: [authorReference, authorString]
            index: 11
          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: 12
          authorString: {type: string, choiceOf: author, index: 13}
package_version: 2.0.0
extensions:
  evidence: {url: null, mustSupport: true, index: 0}
class: profile
kind: resource
url: https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-AllergyIntolerance
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-AllergyIntolerance
version: 1.1.0