PackagesCanonicalsLogsProblems
    Packages
    swiss.mednet.fhir@0.19.0
    https://mednet.swiss/fhir/StructureDefinition/mni-familyMemberHistory
description: MedNet Interface (MNI) - Family Member History Profile
package_name: swiss.mednet.fhir
derivation: constraint
name: MNIFamilyMemberHistory
type: FamilyMemberHistory
elements:
  deceasedAge:
    short: If the family Member is already decesead how old was it
    mustSupport: true
    index: 18
    elements:
      value: {mustSupport: true, index: 19}
      unit: {mustSupport: true, index: 20}
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        mustSupport: true
        index: 21
      code: {short: Coded form of the unit. min (minutes) | d (days) | wk (weeks) | mo (months) | a (years), mustSupport: true, index: 22}
    required: [value, system, code]
  patient:
    type: Reference
    short: Link to the Patient
    mustSupport: true
    refers: ['https://mednet.swiss/fhir/StructureDefinition/mni-patient']
    index: 4
  deceasedBoolean: {short: It the family Member already decesead, mustSupport: true, index: 17}
  implicitRules: {mustSupport: false, index: 1}
  relationship:
    mustSupport: true
    index: 5
    elements:
      coding:
        index: 6
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          - {path: code, type: value}
          min: null
          slices:
            v3RoleCode:
              match: {system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode', code: null}
              schema:
                mustSupport: true
                index: 7
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                    mustSupport: true
                    index: 8
                  code: {short: 'see https://terminology.hl7.org/1.0.0//ValueSet-v3-FamilyMember.html', mustSupport: true, index: 9}
                  display: {mustSupport: true, index: 10}
                required: [system, code]
      text: {short: 'If the relationship cannot be delivered in a codeable way, it must be delivered in plain text', mustSupport: true, index: 11}
  status:
    short: completed
    pattern: {type: Code, value: completed}
    mustSupport: true
    index: 3
  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}
  condition:
    mustSupport: true
    index: 23
    elements:
      code:
        mustSupport: true
        index: 24
        elements:
          coding:
            index: 25
            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: 26
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: true
                        index: 27
                      code: {mustSupport: true, index: 28}
                      display: {mustSupport: true, index: 29}
                    required: [system, code]
                ICD10:
                  match: {system: 'http://fhir.de/CodeSystem/dimdi/icd-10-gm', code: null}
                  schema:
                    mustSupport: true
                    index: 30
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/dimdi/icd-10-gm'}
                        mustSupport: true
                        index: 31
                      code: {mustSupport: true, index: 32}
                      display: {mustSupport: true, index: 33}
                    required: [system, code]
                ICPC2:
                  match: {system: 'urn:oid:2.16.840.1.113883.6.139', code: null}
                  schema:
                    mustSupport: true
                    index: 34
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.6.139'}
                        mustSupport: true
                        index: 35
                      code: {mustSupport: true, index: 36}
                      display: {mustSupport: true, index: 37}
                    required: [system, code]
          text: {short: Should contain the full name or label of the condition in the document language. This text must alway be provided, mustSupport: true, index: 38}
        required: [text]
    required: [code]
  ageAge:
    mustSupport: true
    index: 12
    elements:
      value: {mustSupport: true, index: 13}
      unit: {mustSupport: true, index: 14}
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        mustSupport: true
        index: 15
      code: {short: Coded form of the unit. min (minutes) | d (days) | wk (weeks) | mo (months) | a (years), mustSupport: true, index: 16}
    required: [value, system, code]
  modifierExtension: {mustSupport: false, index: 2}
package_version: 0.19.0
class: profile
kind: resource
url: https://mednet.swiss/fhir/StructureDefinition/mni-familyMemberHistory
base: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory
version: 0.19.0
required: [condition]