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