PackagesCanonicalsLogsProblems
    Packages
    synapxe.sgcdi@1.2.1
    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: 7
    elements:
      reference: {index: 8}
      type:
        pattern: {type: Uri, value: Patient}
        index: 9
      identifier: {type: Identifier, index: 10}
    required: [identifier, type]
  onset:
    choices: [onsetDateTime, onsetAge, onsetPeriod, onsetString]
    index: 13
  clinicalStatus: {index: 1}
  onsetAge: {type: Age, choiceOf: onset, index: 15}
  encounter: {index: 11}
  onsetPeriod: {type: Period, choiceOf: onset, index: 16}
  type: {type: CodeableConcept, index: 3}
  participant:
    elements:
      id: {index: 18}
      extension: {index: 19}
      modifierExtension: {index: 20}
      function:
        type: CodeableConcept
        index: 21
        extensions: {}
        elements:
          extension: {index: 22}
          coding:
            elements:
              version: {index: 23}
      actor:
        type: Reference
        refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitioner']
        index: 24
        elements:
          id: {index: 25}
          extension: {index: 26}
          reference: {index: 27}
          type:
            pattern: {type: Uri, value: Practitioner}
            index: 28
          identifier:
            type: Identifier
            index: 29
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/mcr'}
                index: 30
        extensions: {}
        required: [identifier, type]
    extensions: {}
    required: [function]
  note: {index: 31}
  onsetString: {type: string, choiceOf: onset, index: 17}
  code:
    type: CodeableConcept
    index: 4
    extensions: {}
    elements:
      extension: {index: 5}
      coding:
        elements:
          version: {index: 6}
  identifier: {index: 0}
  onsetDateTime: {type: dateTime, choiceOf: onset, index: 14}
  verificationStatus: {index: 2}
  reaction:
    index: 32
    elements:
      id: {index: 33}
      extension: {index: 34}
      modifierExtension: {index: 35}
      substance: {index: 36}
      manifestation:
        elements:
          id: {index: 37}
          extension: {index: 38}
          concept:
            short: Concept - reference to a terminology or just  text
            index: 39
            extensions: {}
            elements:
              extension: {index: 40}
              text: {index: 41}
            required: [text]
          reference: {index: 42}
        extensions: {}
        required: [concept]
      severity: {index: 43}
      exposureRoute:
        type: CodeableConcept
        index: 44
        extensions: {}
        elements:
          extension: {index: 45}
      note: {type: Annotation, index: 46}
    extensions: {}
    required: [severity]
package_version: 1.2.1
class: profile
kind: resource
url: https://fhir.synapxe.sg/StructureDefinition/profile-allergyintolerance
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: 1.2.1
required: [code]