PackagesCanonicalsLogsProblems
    Packages
    swiss.mednet.fhir@0.7.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:
  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}
  status:
    short: completed
    pattern: {type: Code, value: completed}
    mustSupport: true
    index: 1
  patient:
    type: Reference
    short: Link to the Patient
    mustSupport: true
    refers: ['https://mednet.swiss/fhir/StructureDefinition/mni-patient']
    index: 2
  relationship:
    mustSupport: true
    index: 3
    elements:
      coding:
        index: 4
        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: 5
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                    mustSupport: true
                    index: 6
                  code: {short: 'see https://terminology.hl7.org/1.0.0//ValueSet-v3-FamilyMember.html', mustSupport: true, index: 7}
                  display: {mustSupport: true, index: 8}
                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: 9}
  ageAge:
    mustSupport: true
    index: 10
    elements:
      value: {mustSupport: true, index: 11}
      unit: {mustSupport: true, index: 12}
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        mustSupport: true
        index: 13
      code: {short: Coded form of the unit. min (minutes) | d (days) | wk (weeks) | mo (months) | a (years), mustSupport: true, index: 14}
    required: [value, system, code]
  deceasedBoolean: {short: It the family Member already decesead, mustSupport: true, index: 15}
  deceasedAge:
    short: If the family Member is already decesead how old was it
    mustSupport: true
    index: 16
    elements:
      value: {mustSupport: true, index: 17}
      unit: {mustSupport: true, index: 18}
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        mustSupport: true
        index: 19
      code: {short: Coded form of the unit. min (minutes) | d (days) | wk (weeks) | mo (months) | a (years), mustSupport: true, index: 20}
    required: [value, system, code]
  condition:
    mustSupport: true
    index: 21
    elements:
      code:
        mustSupport: true
        index: 22
        elements:
          coding:
            index: 23
            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: 24
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: true
                        index: 25
                      code: {mustSupport: true, index: 26}
                      display: {mustSupport: true, index: 27}
                    required: [system, code]
                ICD10:
                  match: {system: 'http://fhir.de/CodeSystem/dimdi/icd-10-gm', code: null}
                  schema:
                    mustSupport: true
                    index: 28
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/dimdi/icd-10-gm'}
                        mustSupport: true
                        index: 29
                      code: {mustSupport: true, index: 30}
                      display: {mustSupport: true, index: 31}
                    required: [system, code]
                ICPC2:
                  match: {system: 'urn:oid:2.16.840.1.113883.6.139', code: null}
                  schema:
                    mustSupport: true
                    index: 32
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.6.139'}
                        mustSupport: true
                        index: 33
                      code: {mustSupport: true, index: 34}
                      display: {mustSupport: true, index: 35}
                    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: 36}
        required: [text]
    required: [code]
package_version: 0.7.0
class: profile
kind: resource
url: https://mednet.swiss/fhir/StructureDefinition/mni-familyMemberHistory
base: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory
version: 0.7.0
required: [condition]