PackagesCanonicalsLogsProblems
    Packages
    HL7Norway.STU3.no.basis@1.0.3
    http://hl7.no/fhir/StructureDefinition/no-basis-AllergyIntolerance
description: null
package_name: HL7Norway.STU3.no.basis
derivation: constraint
name: no-basis-AllergyIntolerance
type: AllergyIntolerance
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        certainty:
          match: {url: null}
          schema: {type: Extension, url: h, index: 1}
          max: 1
        sourceOfInformation:
          match: {url: null}
          schema: {type: Extension, url: h, index: 2}
  verificationStatus: {index: 3}
  patient:
    type: Reference
    refers: ['http://ehelse.no/fhir/StructureDefinition/no-basis-Patient', 'http://hl7.org/fhir/StructureDefinition/Patient']
    index: 4
  reaction:
    index: 5
    elements:
      substance:
        index: 6
        elements:
          coding:
            index: 7
            slicing:
              rules: open
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                ATC:
                  match: {system: 'http://www.whocc.no/atc'}
                  schema:
                    index: 8
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://www.whocc.no/atc'}
                        index: 9
                FestSubstance:
                  match: {system: 'http://ehelse.no/FESTSubstance'}
                  schema:
                    index: 10
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://ehelse.no/FESTSubstance'}
                        index: 11
                FestMedication:
                  match: {system: 'http://ehelse.no/FESTMedication'}
                  schema:
                    index: 12
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://ehelse.no/FESTMedication'}
                        index: 13
      manifestation:
        index: 14
        elements:
          coding:
            index: 15
            elements:
              system:
                pattern: {type: Uri, value: 'http://ehelse.no/volven/7497'}
                index: 16
              code: {index: 17}
              display: {index: 18}
            required: [display, system, code]
        required: [coding]
      severity: {index: 19}
    required: [substance]
package_version: 1.0.3
extensions:
  certainty: {url: h, max: 1, type: Extension, index: 1}
  sourceOfInformation: {url: h, type: Extension, index: 2}
class: profile
kind: resource
url: http://hl7.no/fhir/StructureDefinition/no-basis-AllergyIntolerance
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: '0.1'
required: [reaction]