PackagesCanonicalsLogsProblems
    Packages
    uz.dhp.core@0.2.0
    http://dhp.uz/StructureDefinition/uz-core-relatedperson
description: Uzbekistan Core RelatedPerson profile, used to represent persons related to the patient
package_name: uz.dhp.core
derivation: constraint
name: UZCoreRelatedPerson
type: RelatedPerson
elements:
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://dhp.uz/StructureDefinition/uz-core-patient|0.2.0']
    index: 54
  address:
    mustSupport: true
    index: 70
    elements:
      use:
        short: Type of address, home | temp
        binding: {strength: required, valueSet: 'https://terminology.dhp.uz/ValueSet/address-use-vs|0.2.0'}
        mustSupport: true
        index: 71
      city:
        short: Код махалли (сход граждан)
        binding: {strength: required, valueSet: 'https://terminology.dhp.uz/ValueSet/mahalla-vs|0.2.0'}
        mustSupport: true
        index: 75
      type:
        binding: {strength: required, valueSet: 'https://terminology.dhp.uz/ValueSet/address-type-vs|0.2.0'}
        mustSupport: true
        index: 72
      state:
        short: Код области
        binding: {strength: required, valueSet: 'https://terminology.dhp.uz/ValueSet/state-vs|0.2.0'}
        mustSupport: true
        index: 77
      line: {short: 'Текстовае название улицы, предоставляемое ГЦП', mustSupport: true, index: 74}
      period: {short: 'Период времени, когда адрес использовался/используется', mustSupport: true, index: 79}
      country:
        short: Код страны
        binding: {strength: required, valueSet: 'https://terminology.dhp.uz/ValueSet/countries-digital-mvd-vs|0.2.0'}
        mustSupport: true
        index: 78
      district:
        short: Код pайона или города
        binding: {strength: required, valueSet: 'https://terminology.dhp.uz/ValueSet/regions-vs|0.2.0'}
        mustSupport: true
        index: 76
      text: {short: 'Текстовая часть адреса, предоставляемая ГЦП. Название махалли, улицы,  номер дома, номер квартиры', mustSupport: true, index: 73}
  name:
    mustSupport: true
    index: 56
    elements:
      use: {mustSupport: true, index: 57}
      text: {mustSupport: true, index: 58}
      family: {mustSupport: true, index: 59}
      given: {mustSupport: true, index: 60}
      suffix: {mustSupport: true, index: 61}
      period: {mustSupport: true, index: 62}
  birthDate: {mustSupport: true, index: 69}
  relationship:
    binding: {strength: required, valueSet: 'https://terminology.dhp.uz/ValueSet/relationship-type-vs|5.0.0'}
    mustSupport: true
    index: 55
  active: {mustSupport: true, index: 53}
  identifier:
    mustSupport: true
    index: 0
    extensions:
      data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', min: 0, max: 1, type: Extension, mustSupport: true, index: 2}
    elements:
      extension:
        short: 'Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия.'
        index: 1
        slicing:
          slices:
            data-absent-reason:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', index: 2}
              min: 0
              max: 1
      use:
        binding: {strength: required, valueSet: 'https://terminology.dhp.uz/ValueSet/identifier-use-vs|0.2.0'}
        index: 3
      type:
        binding: {strength: required, valueSet: 'https://terminology.dhp.uz/ValueSet/identifier-type-vs|0.2.0'}
        index: 4
    slicing:
      rules: open
      ordered: false
      description: Ways a related person can be identified
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        national-id:
          match: {system: 'https://dpm.uz/identifier/nationaluniqueID'}
          schema:
            mustSupport: true
            index: 5
            extensions:
              data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', min: 0, max: 1, type: Extension, mustSupport: true, index: 6}
            elements:
              extension:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0
                index: 6
                slicing:
                  slices:
                    data-absent-reason:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', index: 6}
                      min: 0
                      max: 1
              use:
                pattern: {type: code, value: official}
                type: code
                index: 7
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: NI, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: National unique individual identifier}
                type: CodeableConcept
                index: 8
              system:
                pattern: {type: uri, value: 'https://dpm.uz/identifier/nationaluniqueID'}
                mustSupport: true
                type: uri
                index: 9
              value: {mustSupport: true, index: 10}
            required: [system, type, value]
        passport-local:
          match: {system: 'https://dpm.uz/identifier/passport-local'}
          schema:
            mustSupport: true
            index: 11
            extensions:
              data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', min: 0, max: 1, type: Extension, mustSupport: true, index: 12}
            elements:
              extension:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0
                index: 12
                slicing:
                  slices:
                    data-absent-reason:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', index: 12}
                      min: 0
                      max: 1
              use:
                pattern: {type: code, value: official}
                type: code
                index: 13
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PPN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Passport number}
                type: CodeableConcept
                index: 14
              system:
                pattern: {type: uri, value: 'https://dpm.uz/identifier/passport-local'}
                mustSupport: true
                type: uri
                index: 15
              value: {mustSupport: true, index: 16}
            required: [system, type, value]
        passport-international:
          match: {system: 'https://dpm.uz/identifier/passport-international'}
          schema:
            mustSupport: true
            index: 17
            extensions:
              data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', min: 0, max: 1, type: Extension, mustSupport: true, index: 18}
            elements:
              extension:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0
                index: 18
                slicing:
                  slices:
                    data-absent-reason:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', index: 18}
                      min: 0
                      max: 1
              use:
                pattern: {type: code, value: official}
                type: code
                index: 19
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PPN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Passport number}
                type: CodeableConcept
                index: 20
              system:
                pattern: {type: uri, value: 'https://dpm.uz/identifier/passport-international'}
                mustSupport: true
                type: uri
                index: 21
              value: {mustSupport: true, index: 22}
            required: [system, type, value]
        birthcertificate:
          match: {system: 'https://adliya.uz/identifier/birthcertificate'}
          schema:
            mustSupport: true
            index: 23
            extensions:
              data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', min: 0, max: 1, type: Extension, mustSupport: true, index: 24}
            elements:
              extension:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0
                index: 24
                slicing:
                  slices:
                    data-absent-reason:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', index: 24}
                      min: 0
                      max: 1
              use:
                pattern: {type: code, value: official}
                type: code
                index: 25
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: BCT, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Birth Certificate}
                type: CodeableConcept
                index: 26
              system:
                pattern: {type: uri, value: 'https://adliya.uz/identifier/birthcertificate'}
                mustSupport: true
                type: uri
                index: 27
              value: {mustSupport: true, index: 28}
            required: [system, type, value]
        driverslicense:
          match: {system: 'https://gov.uz/iiv/identifier/driverslicense'}
          schema:
            mustSupport: true
            index: 29
            extensions:
              data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', min: 0, max: 1, type: Extension, mustSupport: true, index: 30}
            elements:
              extension:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0
                index: 30
                slicing:
                  slices:
                    data-absent-reason:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', index: 30}
                      min: 0
                      max: 1
              use:
                pattern: {type: code, value: official}
                type: code
                index: 31
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: DL, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Driver's license number}
                type: CodeableConcept
                index: 32
              system:
                pattern: {type: uri, value: 'https://gov.uz/iiv/identifier/driverslicense'}
                mustSupport: true
                type: uri
                index: 33
              value: {mustSupport: true, index: 34}
            required: [system, type, value]
        diplomaticpassport:
          match: {system: 'https://gov.uz/mfa/identifier/diplomaticpassport'}
          schema:
            mustSupport: true
            index: 35
            extensions:
              data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', min: 0, max: 1, type: Extension, mustSupport: true, index: 36}
            elements:
              extension:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0
                index: 36
                slicing:
                  slices:
                    data-absent-reason:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', index: 36}
                      min: 0
                      max: 1
              use:
                pattern: {type: code, value: official}
                type: code
                index: 37
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: DP, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Diplomatic Passport}
                type: CodeableConcept
                index: 38
              system:
                pattern: {type: uri, value: 'https://gov.uz/mfa/identifier/diplomaticpassport'}
                mustSupport: true
                type: uri
                index: 39
              value: {mustSupport: true, index: 40}
            required: [system, type, value]
        healthcard:
          match: {system: 'https://gov.uz/ssv/identifier/healthcard'}
          schema:
            mustSupport: true
            index: 41
            extensions:
              data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', min: 0, max: 1, type: Extension, mustSupport: true, index: 42}
            elements:
              extension:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0
                index: 42
                slicing:
                  slices:
                    data-absent-reason:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', index: 42}
                      min: 0
                      max: 1
              use:
                pattern: {type: code, value: official}
                type: code
                index: 43
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: HC, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Health card number}
                type: CodeableConcept
                index: 44
              system:
                pattern: {type: uri, value: 'https://gov.uz/ssv/identifier/healthcard'}
                mustSupport: true
                type: uri
                index: 45
              value: {mustSupport: true, index: 46}
            required: [system, type, value]
        militaryID:
          match: {system: 'https://gov.uz/mudofaa/identifier/militaryID'}
          schema:
            mustSupport: true
            index: 47
            extensions:
              data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', min: 0, max: 1, type: Extension, mustSupport: true, index: 48}
            elements:
              extension:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0
                index: 48
                slicing:
                  slices:
                    data-absent-reason:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', index: 48}
                      min: 0
                      max: 1
              use:
                pattern: {type: code, value: official}
                type: code
                index: 49
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MI, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Military ID number}
                type: CodeableConcept
                index: 50
              system:
                pattern: {type: uri, value: 'https://gov.uz/mudofaa/identifier/militaryID'}
                mustSupport: true
                type: uri
                index: 51
              value: {mustSupport: true, index: 52}
            required: [system, type, value]
  telecom:
    mustSupport: true
    index: 63
    elements:
      system:
        binding: {strength: required, valueSet: 'https://terminology.dhp.uz/ValueSet/contact-point-system-vs|0.2.0'}
        mustSupport: true
        index: 64
      use:
        binding: {strength: required, valueSet: 'https://terminology.dhp.uz/ValueSet/telecom-use-vs|0.2.0'}
        mustSupport: true
        index: 65
  gender:
    mustSupport: true
    index: 66
    extensions:
      gender-other-2: {url: 'http://dhp.uz/StructureDefinition/gender-other|0.2.0', min: 0, max: 1, type: Extension, mustSupport: true, index: 68}
    elements:
      extension:
        index: 67
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            gender-other-2:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://dhp.uz/StructureDefinition/gender-other|0.2.0', index: 68}
              min: 0
              max: 1
  period: {mustSupport: true, index: 80}
package_version: 0.2.0
class: profile
kind: resource
url: http://dhp.uz/StructureDefinition/uz-core-relatedperson
base: http://hl7.org/fhir/StructureDefinition/RelatedPerson|5.0.0
version: 1.0.0
required: [identifier]