PackagesCanonicalsLogsProblems
    Packages
    laniado.test.fhir.r4@0.1.92
    http://fhir.laniado.org.il/StructureDefinition/laniado-flag
description: Laniado Proposed Flag Profile
package_name: laniado.test.fhir.r4
derivation: constraint
name: LaniadoFlag
type: Flag
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        note:
          match: {url: null}
          schema: {type: Extension, url: 'http://fhir.laniado.org.il/StructureDefinition/ext-flag-note', index: 1}
          min: 0
          max: 2
  identifier:
    index: 2
    elements:
      system: {index: 3}
      value: {short: The value that is unique within the system., index: 4}
    required: [value, system]
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        demogAlert:
          match: {system: 'http://fhir.laniado.org.il/Identifier/demog-alert'}
          schema:
            index: 5
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/demog-alert'}
                index: 6
  category:
    index: 7
    elements:
      coding:
        index: 8
        slicing:
          rules: open
          discriminator:
          - {path: code, type: value}
          min: null
          slices:
            alert:
              match: {code: 74018-3}
              schema:
                index: 9
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    index: 10
                  code:
                    pattern: {type: Code, value: 74018-3}
                    index: 11
                  display:
                    pattern: {type: String, value: Alert category}
                    index: 12
                required: [code]
  code:
    elements:
      coding:
        index: 13
        elements:
          system: {index: 14}
          code: {index: 15}
        required: [system, code]
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            demogAlert:
              match: {system: 'http://fhir.laniado.org.il/CodeSystem/k-demog-alert'}
              schema:
                binding: {strength: required, valueSet: 'http://fhir.laniado.org.il/ValueSet/k-demog-alert'}
                index: 16
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-demog-alert'}
                    index: 17
                  display: {index: 18}
                required: [display]
            alertCode:
              match: {system: null}
              schema:
                binding: {strength: required, valueSet: 'http://fhir.laniado.org.il/ValueSet/demog-alert-code'}
                index: 19
              min: 0
              max: 1
  subject:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-patient']
    index: 20
  author:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-practitioner']
    index: 21
package_version: 0.1.92
extensions:
  note: {url: 'http://fhir.laniado.org.il/StructureDefinition/ext-flag-note', min: 0, max: 2, type: Extension, index: 1}
class: profile
kind: resource
url: http://fhir.laniado.org.il/StructureDefinition/laniado-flag
base: http://fhir.health.gov.il/StructureDefinition/il-core-flag
version: null
required: [category]