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