PackagesCanonicalsLogsProblems
    Packages
    swiss.mednet.fhir@0.2.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: {type: Age, mustSupport: true, choiceOf: deceased, index: 14}
  patient:
    type: Reference
    short: Link to the Patient
    mustSupport: true
    refers: ['https://mednet.swiss/fhir/StructureDefinition/mni-patient']
    index: 2
  age:
    mustSupport: true
    choices: [ageAge]
    index: 9
  deceasedBoolean: {type: boolean, mustSupport: true, choiceOf: deceased, index: 13}
  relationship:
    mustSupport: true
    index: 3
    elements:
      coding:
        mustSupport: true
        index: 4
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
            mustSupport: true
            index: 5
          display: {mustSupport: true, index: 6}
      text: {mustSupport: true, index: 7}
  deceased:
    mustSupport: true
    choices: [deceasedBoolean, deceasedAge]
    index: 12
  status:
    short: completed
    pattern: {type: Code, value: completed}
    mustSupport: true
    index: 1
  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:
    elements:
      code:
        mustSupport: true
        index: 15
        elements:
          coding:
            index: 16
            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: 17
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: true
                        index: 18
                      code: {mustSupport: true, index: 19}
                      display: {mustSupport: true, index: 20}
                    required: [system, code]
                ICD10:
                  match: {system: 'http://fhir.de/CodeSystem/dimdi/icd-10-gm', code: null}
                  schema:
                    mustSupport: true
                    index: 21
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/dimdi/icd-10-gm'}
                        mustSupport: true
                        index: 22
                      code: {mustSupport: true, index: 23}
                      display: {mustSupport: true, index: 24}
                    required: [system, code]
                ICPC2:
                  match: {system: 'urn:oid:2.16.840.1.113883.6.139', code: null}
                  schema:
                    mustSupport: true
                    index: 25
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.6.139'}
                        mustSupport: true
                        index: 26
                      code: {index: 27}
                      display: {mustSupport: true, index: 28}
                    required: [system, code]
          text: {short: Should contain the full name or label of the condition, mustSupport: true, index: 29}
        required: [text]
    required: [code]
  ageAge: {type: Age, mustSupport: true, choiceOf: age, index: 10}
package_version: 0.2.0
class: profile
kind: resource
url: https://mednet.swiss/fhir/StructureDefinition/mni-familyMemberHistory
base: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory
version: 0.2.0