PackagesCanonicalsLogsProblems
    Packages
    synapxe.sgcdi@1.3.0
    https://fhir.synapxe.sg/StructureDefinition/profile-allergyintolerance
description: This resource will be used to store the clinical assessment of an allergy or intolerance.
package_name: synapxe.sgcdi
derivation: constraint
name: AllergyIntolerance
type: AllergyIntolerance
elements:
  patient:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-patient']
    index: 17
  onset:
    choices: [onsetDateTime, onsetAge, onsetPeriod, onsetString]
    index: 20
  category: {index: 11}
  criticality:
    index: 12
    extensions:
      criticality: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-criticality', type: Extension, isModifier: false, index: 13}
    elements:
      extension:
        type: Extension
        isModifier: false
        url: https://fhir.synapxe.sg/StructureDefinition/ext-criticality
        index: 13
        slicing:
          slices:
            criticality:
              match: {}
              schema: {type: Extension, isModifier: false, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-criticality', index: 13}
  clinicalStatus: {index: 7}
  meta:
    elements:
      lastUpdated: {index: 0}
  onsetAge: {type: Age, choiceOf: onset, index: 22}
  encounter:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-encounter']
    index: 18
  onsetPeriod: {type: Period, choiceOf: onset, index: 23}
  type:
    index: 9
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://hl7.org/fhir/allergy-intolerance-type'}
            index: 10
  participant:
    index: 26
    elements:
      id: {index: 27}
      extension:
        type: Extension
        isModifier: false
        url: https://fhir.synapxe.sg/StructureDefinition/ext-system
        index: 28
        slicing:
          slices:
            system:
              match: {}
              schema: {type: Extension, isModifier: false, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-system', index: 28}
              max: 1
      modifierExtension: {index: 29}
      function:
        type: CodeableConcept
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/provenance-participant-type'}
        index: 30
        extensions: {}
        elements:
          extension: {index: 31}
      actor:
        type: Reference
        refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitioner']
        index: 32
        elements:
          id: {index: 33}
          extension: {index: 34}
          type:
            pattern: {type: Uri, value: Practitioner}
            index: 35
          identifier:
            type: Identifier
            index: 36
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/mcr'}
                index: 37
          display: {index: 38}
        extensions: {}
    extensions:
      system: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-system', max: 1, type: Extension, isModifier: false, index: 28}
    required: [function]
  note: {index: 40}
  extension:
    type: Extension
    url: https://fhir.synapxe.sg/StructureDefinition/ext-reportingFlag
    index: 1
    slicing:
      slices:
        reportingFlag:
          match: {}
          schema: {type: Extension, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-reportingFlag', index: 1}
          max: 1
        assertedDate:
          match: {}
          schema: {type: Extension, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-assertedDate', index: 2}
          max: 1
        informationSource:
          match: {}
          schema: {type: Extension, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-informationSource', index: 3}
          max: 1
        ADRAlertIndicator:
          match: {}
          schema: {type: Extension, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-ADRAlertIndicator', index: 4}
          max: 1
        reasonForChange:
          match: {}
          schema: {type: Extension, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-reasonForChange', index: 5}
          max: 1
  recordedDate: {index: 25}
  onsetString: {type: string, choiceOf: onset, index: 24}
  code:
    index: 14
    extensions: {}
    elements:
      extension: {index: 15}
      coding:
        elements:
          version: {index: 16}
  identifier: {type: Identifier, index: 6}
  onsetDateTime: {type: dateTime, choiceOf: onset, index: 21}
  lastOccurrence: {index: 39}
  verificationStatus: {index: 8}
  reaction:
    index: 41
    elements:
      description: {index: 55}
      onset: {index: 56}
      manifestation: {index: 54}
      exposureRoute:
        type: CodeableConcept
        index: 59
        extensions: {}
        elements:
          extension: {index: 60}
      note: {type: Annotation, index: 61}
      substance:
        index: 45
        extensions:
          substanceDetails:
            url: https://fhir.synapxe.sg/StructureDefinition/ext-substance-details
            type: Extension
            isModifier: false
            index: 46
            extensions:
              period: {url: null, index: 47}
              probability: {url: null, index: 48}
              brand: {url: null, index: 49}
              type: {url: null, index: 50}
              note: {url: null, index: 51}
              indication: {url: null, index: 52}
              batchNo: {url: null, index: 53}
            elements:
              extension:
                index: 47
                slicing:
                  slices:
                    period:
                      match: {}
                      schema: {index: 47}
                    probability:
                      match: {}
                      schema: {index: 48}
                    brand:
                      match: {}
                      schema: {index: 49}
                    type:
                      match: {}
                      schema: {index: 50}
                    note:
                      match: {}
                      schema: {index: 51}
                    indication:
                      match: {}
                      schema: {index: 52}
                    batchNo:
                      match: {}
                      schema: {index: 53}
        elements:
          extension:
            type: Extension
            isModifier: false
            url: https://fhir.synapxe.sg/StructureDefinition/ext-substance-details
            index: 46
            slicing:
              slices:
                substanceDetails:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    url: https://fhir.synapxe.sg/StructureDefinition/ext-substance-details
                    index: 46
                    extensions:
                      period: {url: null, index: 47}
                      probability: {url: null, index: 48}
                      brand: {url: null, index: 49}
                      type: {url: null, index: 50}
                      note: {url: null, index: 51}
                      indication: {url: null, index: 52}
                      batchNo: {url: null, index: 53}
                    elements:
                      extension:
                        index: 47
                        slicing:
                          slices:
                            period:
                              match: {}
                              schema: {index: 47}
                            probability:
                              match: {}
                              schema: {index: 48}
                            brand:
                              match: {}
                              schema: {index: 49}
                            type:
                              match: {}
                              schema: {index: 50}
                            note:
                              match: {}
                              schema: {index: 51}
                            indication:
                              match: {}
                              schema: {index: 52}
                            batchNo:
                              match: {}
                              schema: {index: 53}
      extension:
        type: Extension
        url: https://fhir.synapxe.sg/StructureDefinition/ext-reactionOutcome
        index: 43
        slicing:
          slices:
            reactionOutcome:
              match: {}
              schema: {type: Extension, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-reactionOutcome', index: 43}
              max: 1
            ADROutcome:
              match: {}
              schema: {type: Extension, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-ADROutcome', index: 44}
              max: 1
      id: {index: 42}
      severity:
        index: 57
        extensions:
          reactionSeverity: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-reactionSeverity', type: Extension, isModifier: false, index: 58}
        elements:
          extension:
            type: Extension
            isModifier: false
            url: https://fhir.synapxe.sg/StructureDefinition/ext-reactionSeverity
            index: 58
            slicing:
              slices:
                reactionSeverity:
                  match: {}
                  schema: {type: Extension, isModifier: false, url: 'https://fhir.synapxe.sg/StructureDefinition/ext-reactionSeverity', index: 58}
    extensions:
      reactionOutcome: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-reactionOutcome', max: 1, type: Extension, index: 43}
      ADROutcome: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-ADROutcome', max: 1, type: Extension, index: 44}
package_version: 1.3.0
extensions:
  reportingFlag: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-reportingFlag', max: 1, type: Extension, index: 1}
  assertedDate: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-assertedDate', max: 1, type: Extension, index: 2}
  informationSource: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-informationSource', max: 1, type: Extension, index: 3}
  ADRAlertIndicator: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-ADRAlertIndicator', max: 1, type: Extension, index: 4}
  reasonForChange: {url: 'https://fhir.synapxe.sg/StructureDefinition/ext-reasonForChange', max: 1, type: Extension, index: 5}
class: profile
kind: resource
url: https://fhir.synapxe.sg/StructureDefinition/profile-allergyintolerance
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: 1.3.0