PackagesCanonicalsLogsProblems
    Packages
    swiss.mednet.fhir@0.2.0
    https://mednet.swiss/fhir/StructureDefinition/mni-condition
description: MedNet Interface (MNI) - Condition Profile
package_name: swiss.mednet.fhir
derivation: constraint
name: MNICondition
type: Condition
elements:
  id: {short: 'The id is unique within the space of all resources of the same type on the same server It can be any combination of upper- or lower-case ASCII letters ''A''..''Z'', and ''a''..''z'', numerals (''0''..''9''), ''-'' and ''.'' with a length limit of 64 characters. (This might be an integer, an un-prefixed OID, UUID or any other identifier pattern that meets these constraints.)', mustSupport: true, index: 0}
  severity: {mustSupport: true, index: 1}
  code:
    mustSupport: true
    index: 2
    elements:
      coding:
        index: 3
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          - {path: code, type: value}
          min: null
          slices:
            SNOMED:
              match: {system: 'http://snomed.info/sct', code: null}
              schema:
                mustSupport: true
                index: 4
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    mustSupport: true
                    index: 5
                  code: {mustSupport: true, index: 6}
                  display: {mustSupport: true, index: 7}
                required: [system, code]
            ICD10:
              match: {system: 'http://fhir.de/CodeSystem/dimdi/icd-10-gm', code: null}
              schema:
                mustSupport: true
                index: 8
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/dimdi/icd-10-gm'}
                    mustSupport: true
                    index: 9
                  code: {mustSupport: true, index: 10}
                  display: {mustSupport: true, index: 11}
                required: [system, code]
            ICPC2:
              match: {system: 'urn:oid:2.16.840.1.113883.6.139', code: null}
              schema:
                mustSupport: true
                index: 12
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.6.139'}
                    mustSupport: true
                    index: 13
                  code: {mustSupport: true, index: 14}
                  display: {mustSupport: true, index: 15}
                required: [system, code]
      text: {short: Should contain the full name or label of the condition, mustSupport: true, index: 16}
    required: [text]
  bodySite: {mustSupport: true, index: 17}
  subject:
    type: Reference
    short: Link to the Patient
    mustSupport: true
    refers: ['https://mednet.swiss/fhir/StructureDefinition/mni-patient']
    index: 18
  recordedDate: {mustSupport: true, index: 19}
package_version: 0.2.0
class: profile
kind: resource
url: https://mednet.swiss/fhir/StructureDefinition/mni-condition
base: http://hl7.org/fhir/StructureDefinition/Condition
version: 0.2.0
required: [code]