PackagesCanonicalsLogsProblems
    Packages
    swiss.mednet.fhir@0.2.0
    https://mednet.swiss/fhir/StructureDefinition/mni-patient
description: MedNet Interface (MNI) - Patient Profile
package_name: swiss.mednet.fhir
derivation: constraint
name: MNIPatient
type: Patient
elements:
  address: {type: Address, mustSupport: true, index: 19}
  name: {type: HumanName, mustSupport: true, index: 15}
  birthDate: {mustSupport: true, index: 18}
  contained: {short: It is possible to include the generalPractitioner or a contact organization as embedded resource in this contained object. This way it is not needed to include it in the Bundle, mustSupport: true, index: 1}
  photo:
    short: currently ignored by MedNet, but could be implemented in the future
    mustSupport: true
    index: 24
    elements:
      contentType: {mustSupport: true, index: 25}
      data: {mustSupport: true, index: 26}
      url: {mustSupport: true, index: 27}
      size: {mustSupport: true, index: 28}
      hash: {mustSupport: true, index: 29}
    required: [contentType]
  communication:
    mustSupport: true
    index: 49
    elements:
      language: {mustSupport: true, index: 50}
  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}
  identifier:
    mustSupport: true
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      - {path: type.coding.system, type: value}
      - {path: type.coding.code, type: value}
      min: null
      slices:
        AHVN13:
          match:
            system: urn:oid:2.16.756.5.32
            type:
              coding: {system: null, code: null}
          schema:
            short: AHVN13 / NAVS13
            mustSupport: true
            index: 3
            elements:
              system:
                pattern: {type: Uri, value: 'urn:oid:2.16.756.5.32'}
                mustSupport: true
                index: 4
              value: {short: AHVN13 / NAVS13 of the patient (13 digits starting ith 756), mustSupport: true, index: 5}
              period: {index: 6}
            required: [value, system]
        LocalPid:
          match:
            system: null
            type:
              coding: {system: 'http://terminology.hl7.org/CodeSystem/v2-0203', code: MR}
          schema:
            short: Local patient identifiers
            mustSupport: true
            index: 7
            elements:
              type:
                mustSupport: true
                index: 8
                elements:
                  coding:
                    mustSupport: true
                    index: 9
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 10
                      code:
                        pattern: {type: Code, value: MR}
                        mustSupport: true
                        index: 11
                      display:
                        pattern: {type: String, value: Medical record number}
                        mustSupport: true
                        index: 12
              system: {short: 'Uri that defines the Software that delivers the Patient ID. If possible this uri should be unique for each Patient database  for example https://mysoftware.ch/patientDB/123456', mustSupport: true, index: 13}
              value: {mustSupport: true, index: 14}
            required: [value]
  telecom: {type: ContactPoint, mustSupport: true, index: 16}
  generalPractitioner:
    type: Reference
    mustSupport: true
    refers: ['https://mednet.swiss/fhir/StructureDefinition/mni-organization', 'https://mednet.swiss/fhir/StructureDefinition/mni-practitioner']
    index: 51
  gender: {mustSupport: true, index: 17}
  maritalStatus:
    binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-core/ValueSet/ch-core-maritalstatus'}
    mustSupport: true
    index: 20
    elements:
      coding:
        elements:
          system: {short: 'http://fhir.ch/ig/ch-core/CodeSystem/ech-11-maritalstatus |  http://terminology.hl7.org/CodeSystem/v3-MaritalStatus', mustSupport: true, index: 21}
          code: {short: 'Authorized values if system is http://fhir.ch/ig/ch-core/CodeSystem/ech-11-maritalstatus :  1 (Unmarried) |  2 (Married) |  3 (Widowed) |  4 (Divorced) |  5 (Unmarried) |  6 (Domestic partner) |  7 (Legally Separated) |  9 (Unknown).  Authorized values if system is : http://terminology.hl7.org/CodeSystem/v3-MaritalStatus S (unmarried) |  M (Married) |  W (Widowed) |  D (Divorced) |  U (Unmarried) |  T (Domestic partner) |  L (Legally Separated) |  UNK (Unknown) |  A (Annulled) | I (Interlocutory) | P (Polygamous) | S (Never Married)', mustSupport: true, index: 22}
          display: {mustSupport: true, index: 23}
  contact:
    mustSupport: true
    index: 30
    slicing:
      slices:
        MNIContact:
          match: {}
          schema:
            mustSupport: true
            index: 30
            elements:
              relationship:
                mustSupport: true
                index: 31
                slicing:
                  rules: open
                  discriminator:
                  - {path: coding.system, type: value}
                  - {path: coding.code, type: value}
                  min: null
                  slices:
                    KIND:
                      match:
                        coding: {system: 'http://terminology.hl7.org/CodeSystem/v2-0131', code: null}
                      schema:
                        short: Kind of relation ship, for example Emergency contact, Employer
                        mustSupport: true
                        index: 32
                        elements:
                          coding:
                            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/patient-contactrelationship'}
                            mustSupport: true
                            index: 33
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0131'}
                                mustSupport: true
                                index: 34
                              code: {short: C (Emergency Contact) | E (Employer) | F (Federal Agency) | I (Insurance Company) | N (Next-of-Kin) | S (State Agency) | U (Unknown), mustSupport: true, index: 35}
                              display: {mustSupport: true, index: 36}
                            required: [system]
                          text: {short: 'If the relationship can not be coded, it can be described in plain text in this field', mustSupport: true, index: 37}
                    FamilyMember:
                      match:
                        coding: {system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode', code: null}
                      schema:
                        short: FamilyMember relation ship. Only valid if KIND relationship has value N (Next-of-Kin)
                        mustSupport: true
                        index: 38
                        elements:
                          coding:
                            binding: {strength: required, valueSet: 'http://terminology.hl7.org/ValueSet/v3-FamilyMember'}
                            mustSupport: true
                            index: 39
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                                mustSupport: true
                                index: 40
                              code: {short: CHILD (child) | DAU (natural daugher) | SON (natural son) | FTH (father) | MTH (mother) | ..., mustSupport: true, index: 41}
                              display: {mustSupport: true, index: 42}
                            required: [system]
                          text: {short: 'If the relationship can not be coded, it can be described in plain text in this field', mustSupport: true, index: 43}
              name: {type: HumanName, mustSupport: true, index: 44}
              telecom: {type: ContactPoint, mustSupport: true, index: 45}
              address: {type: Address, mustSupport: true, index: 46}
              gender: {mustSupport: true, index: 47}
              organization:
                type: Reference
                mustSupport: true
                refers: ['https://mednet.swiss/fhir/StructureDefinition/mni-organization']
                index: 48
package_version: 0.2.0
class: profile
kind: resource
url: https://mednet.swiss/fhir/StructureDefinition/mni-patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 0.2.0