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