PackagesCanonicalsLogsProblems
    Packages
    smart.who.int.base@0.1.0
    http://smart.who.int/base/StructureDefinition/SGLogicalModel
description: Defines the minimum expectations for Logical Models used in SMART Guidelines
package_name: smart.who.int.base
derivation: constraint
name: SGLogicalModel
type: StructureDefinition
elements:
  title: {index: 0}
  publisher: {index: 1}
  description: {index: 2}
  kind:
    pattern: {type: Code, value: logical}
    index: 3
  differential:
    elements:
      element:
        elements:
          code:
            index: 4
            slicing:
              rules: open
              ordered: false
              description: Types of codes that the element corresponds to
              discriminator:
              - {path: system, type: pattern}
              min: 1
              slices:
                snomed-gps:
                  match: {system: 'http://who.smart.codes/smart-gps'}
                  schema:
                    mustSupport: true
                    index: 19
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://who.smart.codes/smart-gps'}
                        index: 20
                    required: [system]
                icd-10:
                  match: {system: 'http://who.smart.codes/icd-10'}
                  schema:
                    mustSupport: true
                    index: 11
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://who.smart.codes/icd-10'}
                        index: 12
                    required: [system]
                ichi:
                  match: {system: 'http://who.smart.codes/ichi'}
                  schema:
                    mustSupport: true
                    index: 17
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://who.smart.codes/ichi'}
                        index: 18
                    required: [system]
                smart:
                  match: {system: 'http://who.smart.codes/smart'}
                  schema:
                    mustSupport: true
                    _required: true
                    index: 5
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://who.smart.codes/smart'}
                        index: 6
                    required: [system]
                icd-11:
                  match: {system: 'http://who.smart.codes/icd-11'}
                  schema:
                    mustSupport: true
                    index: 13
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://who.smart.codes/icd-11'}
                        index: 14
                    required: [system]
                icf:
                  match: {system: 'http://who.smart.codes/icf'}
                  schema:
                    mustSupport: true
                    index: 15
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://who.smart.codes/icf'}
                        index: 16
                    required: [system]
                atc:
                  match: {system: 'http://who.smart.codes/atc'}
                  schema:
                    mustSupport: true
                    index: 21
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://who.smart.codes/atc'}
                        index: 22
                    required: [system]
                snomed:
                  match: {system: 'http://who.smart.codes/snomed'}
                  schema:
                    mustSupport: true
                    index: 9
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://who.smart.codes/snomed'}
                        index: 10
                    required: [system]
                loinc:
                  match: {system: 'http://who.smart.codes/loinc'}
                  schema:
                    mustSupport: true
                    index: 7
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://who.smart.codes/loinc'}
                        index: 8
                    required: [system]
          short: {index: 23}
          definition: {index: 24}
          type: {index: 25}
        required: [short, definition, type, code]
package_version: 0.1.0
class: profile
kind: resource
url: http://smart.who.int/base/StructureDefinition/SGLogicalModel
base: http://hl7.org/fhir/StructureDefinition/StructureDefinition
version: 0.1.0
required: [title, publisher, description]