FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packageuz.dhp.core
Resource TypeStructureDefinition
IdStructureDefinition-uz-core-relatedperson.json
FHIR VersionR5
Sourcehttps://build.fhir.org/ig/uzinfocom-org/digital-health-ig/StructureDefinition-uz-core-relatedperson.html
URLhttps://dhp.uz/fhir/core/StructureDefinition/uz-core-relatedperson
Version0.4.0
Statusactive
Date2026-02-03T15:04:26+00:00
NameUZCoreRelatedPerson
TitleUZ Core RelatedPerson
DescriptionUzbekistan Core RelatedPerson profile, used to represent persons related to the patient
TypeRelatedPerson
Kindresource

Resources that use this resource

CapabilityStatement
DHPCapabilityStatement
StructureDefinition
uz-core-clinical-conditionUZ Core Clinical Condition
uz-core-conditionUZ Core Condition
uz-core-goalUZ Core Goal
uz-core-questionnaire-responseUZ Core QuestionnaireResponse

Resources that this resource uses

StructureDefinition
gender-otherDifferentiation of the administrative gender 'other'
uz-core-patientUZ Core Patient
ValueSet
address-type-vsTypes of possible addresses
address-use-vsTypes of address registration
contact-point-system-vsTypes of possible contact points
identifier-type-vsTypes of possible identifiers
identifier-use-vsTypes of possible identifier uses
iso-3166-2-vs-sans-uzISO 3166 part 1 2-letter codes, sans Uzbekistan
mahalla-vsMahallas translations
regions-vsUzbekistan Regions and Locations
relationship-type-vsRelationship type
state-vsUzbekistan states and Locations
telecom-use-vsTelecom use

Narrative

Note: links and images are rebased to the (stated) source


English


Generated Narrative: StructureDefinition uz-core-relatedperson

Language: en

NameFlagsCard.TypeDescription & Constraintsdoco
.. RelatedPerson C0..*RelatedPerson(5.0.0)A person that is related to a patient, but who is not a direct target of care
... Slices for identifier S1..*IdentifierA human identifier for this person
Slice: Unordered, Open by value:system
.... identifier:All Slices Content/Rules for all slices
..... extension 0..*ExtensionЭто используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия.
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUseVS (0.4.0) (required)
..... type 0..1CodeableConceptDescription of identifier
Binding: IdentifierTypeVS (0.4.0) (required)
.... identifier:nationalId S0..1IdentifierA human identifier for this person
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... type S1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (Complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: NI
....... display1..1stringRepresentation defined by the system
Fixed Value: National unique individual identifier
..... system S1..1uriThe namespace for the identifier value
Required Pattern: https://dhp.uz/fhir/core/sid/pid/uz/ni
..... value S1..1stringThe value that is unique
.... identifier:passportLocal S0..1IdentifierA human identifier for this person
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... type S1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (Complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: PPN
....... display1..1stringRepresentation defined by the system
Fixed Value: Passport number
..... system S1..1uriThe namespace for the identifier value
Required Pattern: https://dhp.uz/fhir/core/sid/pid/uz/ppn/local
..... value S1..1stringThe value that is unique
.... identifier:passportInternational S0..1IdentifierA human identifier for this person
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... type S1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (Complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: PPN
....... display1..1stringRepresentation defined by the system
Fixed Value: Passport number
..... system S1..1uriThe namespace for the identifier value
Required Pattern: https://dhp.uz/fhir/core/sid/pid/uz/ppn/intl
..... value S1..1stringThe value that is unique
.... identifier:birthCertificate S0..1IdentifierA human identifier for this person
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... type S1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (Complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: BCT
....... display1..1stringRepresentation defined by the system
Fixed Value: Birth Certificate
..... system S1..1uriThe namespace for the identifier value
Required Pattern: https://dhp.uz/fhir/core/sid/pid/uz/bct
..... value S1..1stringThe value that is unique
.... identifier:driversLicense S0..1IdentifierA human identifier for this person
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... type S1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (Complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: DL
....... display1..1stringRepresentation defined by the system
Fixed Value: Driver's license number
..... system S1..1uriThe namespace for the identifier value
Required Pattern: https://dhp.uz/fhir/core/sid/pid/uz/dl
..... value S1..1stringThe value that is unique
.... identifier:diplomaticPassport S0..1IdentifierA human identifier for this person
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... type S1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (Complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: DP
....... display1..1stringRepresentation defined by the system
Fixed Value: Diplomatic Passport
..... system S1..1uriThe namespace for the identifier value
Required Pattern: https://dhp.uz/fhir/core/sid/pid/uz/ppn/dp
..... value S1..1stringThe value that is unique
.... identifier:healthCard S0..1IdentifierA human identifier for this person
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... type S1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (Complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: HC
....... display1..1stringRepresentation defined by the system
Fixed Value: Health card number
..... system S1..1uriThe namespace for the identifier value
Required Pattern: https://dhp.uz/fhir/core/sid/pid/uz/hc
..... value S1..1stringThe value that is unique
.... identifier:militaryId S0..1IdentifierA human identifier for this person
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... type S1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (Complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: MI
....... display1..1stringRepresentation defined by the system
Fixed Value: Military ID number
..... system S1..1uriThe namespace for the identifier value
Required Pattern: https://dhp.uz/fhir/core/sid/pid/uz/mi
..... value S1..1stringThe value that is unique
... active S0..1booleanWhether this related person's record is in active use
... patient S1..1Reference(UZ Core Patient(0.4.0))The patient this person is related to
... relationship S0..*CodeableConceptThe relationship of the related person to the patient
Binding: RelationshipTypeVS (0.4.0) (required)
... name S0..*HumanNameA name associated with the person
.... use S0..1codeusual | official | temp | nickname | anonymous | old | maiden
.... text S0..1stringText representation of the full name
.... family S0..1stringFamily name (often called 'Surname')
.... given S0..*stringGiven names (not always 'first'). Includes middle names
.... suffix S0..*stringParts that come after the name
.... period S0..1PeriodTime period when name was/is in use
... telecom S0..*ContactPointA contact detail for the person
.... system S0..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystemVS (0.4.0) (required)
.... use S0..1codehome | work | temp | old | mobile - purpose of this contact point
Binding: TelecomUseVS (0.4.0) (required)
... gender S0..1codemale | female | other | unknown
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:gender-other-2 S0..1CodingDifferentiation of the administrative gender 'other'
URL: https://dhp.uz/fhir/core/StructureDefinition/gender-other
Binding: GenderOtherVS (0.4.0) (required)
... birthDate S0..1dateThe date on which the related person was born
... Slices for address S0..*AddressAddress where the related person can be contacted or visited
Slice: Unordered, Open by value:country
.... address:uzAddress S0..*AddressAn Uzbekistan address
..... use S0..1codeType of address, home | temp
Binding: AddressUseVS (0.4.0) (required)
..... type S0..1codepostal | physical | both
Binding: AddressTypeVS (0.4.0) (required)
..... text S0..1stringText part of the address provided by DPM. Mahalla name, street, house number, apartment number
..... line S0..*stringText street name provided by DPM
..... city S0..1stringMahalla code (citizens' assembly)
Binding: MahallaVS (0.4.0) (required)
..... district S0..1stringDistrict or city code
Binding: RegionsVS (0.4.0) (required)
..... state S0..1stringRegion code
Binding: StateVS (0.4.0) (required)
..... country S1..1stringCountry code (ISO 3166-1 2 letter code)
Required Pattern: UZ
..... period S0..1PeriodTime period when the address was/is used
.... address:i18nAddress S0..*AddressAn international, non-Uzbekistan address
..... use S0..1codeType of address, home | temp
Binding: AddressUseVS (0.4.0) (required)
..... type S0..1codepostal | physical | both
Binding: AddressTypeVS (0.4.0) (required)
..... text S0..1stringText part of the address
..... line S0..*stringStreet name or address line
..... city S0..1stringCity or locality
..... district S0..1stringDistrict, county, or administrative division
..... state S0..1stringState, province, or region
..... country S1..1stringCountry code (ISO 3166-1 2 letter code)
Binding: ISO3166_2SansUZ (0.4.0) (required)
..... period S0..1PeriodTime period when the address was/is used
... period S0..1PeriodPeriod of time that this relationship is considered valid

doco Documentation for this format

Russian


Сгенерированный нарратив: Определение структуры FHIR. Этот ресурс используется для описания базовых ресурсов, типов данных, определенных в FHIR, а также для описания расширений и ограничений ресурсов и типов данных. uz-core-relatedperson

Язык: en

НаименованиеФлагиКарта.ТипОписание и ограниченияdoco
.. RelatedPerson C0..*RelatedPerson(5.0.0)A person that is related to a patient, but who is not a direct target of care
... Разрезы для identifier S1..*IdentifierA human identifier for this person
Разрез: Не упорядочено, Открыто от value:system
.... identifier:Все разрезы Содержимое/правила для всех разрезов
..... extension 0..*ExtensionЭто используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия.
..... Разрезы для extension Содержимое/правила для всех разрезов
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Привязка: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Привязка: IdentifierUseVS (0.4.0) (required)
..... type 0..1CodeableConceptDescription of identifier
Привязка: IdentifierTypeVS (0.4.0) (required)
... Разрезы для identifier Содержимое/правила для всех разрезов
.... identifier:nationalId S0..1IdentifierA human identifier for this person
..... Разрезы для extension Содержимое/правила для всех разрезов
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Привязка: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Требуемый шаблон: official
..... type S1..1CodeableConceptDescription of identifier
Требуемый шаблон: По крайней мере следующие
...... coding1..*CodingCode defined by a terminology system
Фиксированное значение: (комплексный)
....... system1..1uriIdentity of the terminology system
Фиксированное значение: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Фиксированное значение: NI
....... display1..1stringRepresentation defined by the system
Фиксированное значение: National unique individual identifier
..... system S1..1uriThe namespace for the identifier value
Требуемый шаблон: https://dhp.uz/fhir/core/sid/pid/uz/ni
..... value S1..1stringThe value that is unique
... Разрезы для identifier Содержимое/правила для всех разрезов
.... identifier:passportLocal S0..1IdentifierA human identifier for this person
..... Разрезы для extension Содержимое/правила для всех разрезов
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Привязка: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Требуемый шаблон: official
..... type S1..1CodeableConceptDescription of identifier
Требуемый шаблон: По крайней мере следующие
...... coding1..*CodingCode defined by a terminology system
Фиксированное значение: (комплексный)
....... system1..1uriIdentity of the terminology system
Фиксированное значение: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Фиксированное значение: PPN
....... display1..1stringRepresentation defined by the system
Фиксированное значение: Passport number
..... system S1..1uriThe namespace for the identifier value
Требуемый шаблон: https://dhp.uz/fhir/core/sid/pid/uz/ppn/local
..... value S1..1stringThe value that is unique
... Разрезы для identifier Содержимое/правила для всех разрезов
.... identifier:passportInternational S0..1IdentifierA human identifier for this person
..... Разрезы для extension Содержимое/правила для всех разрезов
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Привязка: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Требуемый шаблон: official
..... type S1..1CodeableConceptDescription of identifier
Требуемый шаблон: По крайней мере следующие
...... coding1..*CodingCode defined by a terminology system
Фиксированное значение: (комплексный)
....... system1..1uriIdentity of the terminology system
Фиксированное значение: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Фиксированное значение: PPN
....... display1..1stringRepresentation defined by the system
Фиксированное значение: Passport number
..... system S1..1uriThe namespace for the identifier value
Требуемый шаблон: https://dhp.uz/fhir/core/sid/pid/uz/ppn/intl
..... value S1..1stringThe value that is unique
... Разрезы для identifier Содержимое/правила для всех разрезов
.... identifier:birthCertificate S0..1IdentifierA human identifier for this person
..... Разрезы для extension Содержимое/правила для всех разрезов
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Привязка: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Требуемый шаблон: official
..... type S1..1CodeableConceptDescription of identifier
Требуемый шаблон: По крайней мере следующие
...... coding1..*CodingCode defined by a terminology system
Фиксированное значение: (комплексный)
....... system1..1uriIdentity of the terminology system
Фиксированное значение: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Фиксированное значение: BCT
....... display1..1stringRepresentation defined by the system
Фиксированное значение: Birth Certificate
..... system S1..1uriThe namespace for the identifier value
Требуемый шаблон: https://dhp.uz/fhir/core/sid/pid/uz/bct
..... value S1..1stringThe value that is unique
... Разрезы для identifier Содержимое/правила для всех разрезов
.... identifier:driversLicense S0..1IdentifierA human identifier for this person
..... Разрезы для extension Содержимое/правила для всех разрезов
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Привязка: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Требуемый шаблон: official
..... type S1..1CodeableConceptDescription of identifier
Требуемый шаблон: По крайней мере следующие
...... coding1..*CodingCode defined by a terminology system
Фиксированное значение: (комплексный)
....... system1..1uriIdentity of the terminology system
Фиксированное значение: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Фиксированное значение: DL
....... display1..1stringRepresentation defined by the system
Фиксированное значение: Driver's license number
..... system S1..1uriThe namespace for the identifier value
Требуемый шаблон: https://dhp.uz/fhir/core/sid/pid/uz/dl
..... value S1..1stringThe value that is unique
... Разрезы для identifier Содержимое/правила для всех разрезов
.... identifier:diplomaticPassport S0..1IdentifierA human identifier for this person
..... Разрезы для extension Содержимое/правила для всех разрезов
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Привязка: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Требуемый шаблон: official
..... type S1..1CodeableConceptDescription of identifier
Требуемый шаблон: По крайней мере следующие
...... coding1..*CodingCode defined by a terminology system
Фиксированное значение: (комплексный)
....... system1..1uriIdentity of the terminology system
Фиксированное значение: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Фиксированное значение: DP
....... display1..1stringRepresentation defined by the system
Фиксированное значение: Diplomatic Passport
..... system S1..1uriThe namespace for the identifier value
Требуемый шаблон: https://dhp.uz/fhir/core/sid/pid/uz/ppn/dp
..... value S1..1stringThe value that is unique
... Разрезы для identifier Содержимое/правила для всех разрезов
.... identifier:healthCard S0..1IdentifierA human identifier for this person
..... Разрезы для extension Содержимое/правила для всех разрезов
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Привязка: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Требуемый шаблон: official
..... type S1..1CodeableConceptDescription of identifier
Требуемый шаблон: По крайней мере следующие
...... coding1..*CodingCode defined by a terminology system
Фиксированное значение: (комплексный)
....... system1..1uriIdentity of the terminology system
Фиксированное значение: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Фиксированное значение: HC
....... display1..1stringRepresentation defined by the system
Фиксированное значение: Health card number
..... system S1..1uriThe namespace for the identifier value
Требуемый шаблон: https://dhp.uz/fhir/core/sid/pid/uz/hc
..... value S1..1stringThe value that is unique
... Разрезы для identifier Содержимое/правила для всех разрезов
.... identifier:militaryId S0..1IdentifierA human identifier for this person
..... Разрезы для extension Содержимое/правила для всех разрезов
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Привязка: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Требуемый шаблон: official
..... type S1..1CodeableConceptDescription of identifier
Требуемый шаблон: По крайней мере следующие
...... coding1..*CodingCode defined by a terminology system
Фиксированное значение: (комплексный)
....... system1..1uriIdentity of the terminology system
Фиксированное значение: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Фиксированное значение: MI
....... display1..1stringRepresentation defined by the system
Фиксированное значение: Military ID number
..... system S1..1uriThe namespace for the identifier value
Требуемый шаблон: https://dhp.uz/fhir/core/sid/pid/uz/mi
..... value S1..1stringThe value that is unique
... active S0..1booleanWhether this related person's record is in active use
... patient S1..1Reference(UZ Core Patient(0.4.0))The patient this person is related to
... relationship S0..*CodeableConceptThe relationship of the related person to the patient
Привязка: RelationshipTypeVS (0.4.0) (required)
... name S0..*HumanNameA name associated with the person
.... use S0..1codeusual | official | temp | nickname | anonymous | old | maiden
.... text S0..1stringText representation of the full name
.... family S0..1stringFamily name (often called 'Surname')
.... given S0..*stringGiven names (not always 'first'). Includes middle names
.... suffix S0..*stringParts that come after the name
.... period S0..1PeriodTime period when name was/is in use
... telecom S0..*ContactPointA contact detail for the person
.... system S0..1codephone | fax | email | pager | url | sms | other
Привязка: ContactPointSystemVS (0.4.0) (required)
.... use S0..1codehome | work | temp | old | mobile - purpose of this contact point
Привязка: TelecomUseVS (0.4.0) (required)
... gender S0..1codemale | female | other | unknown
.... Разрезы для extension 0..*ExtensionExtension
Разрез: Не упорядочено, Открыто от value:url
.... Разрезы для extension Содержимое/правила для всех разрезов
..... extension:gender-other-2 S0..1CodingDifferentiation of the administrative gender 'other'
URL: https://dhp.uz/fhir/core/StructureDefinition/gender-other
Привязка: GenderOtherVS (0.4.0) (required)
... birthDate S0..1dateThe date on which the related person was born
... Разрезы для address S0..*AddressAddress where the related person can be contacted or visited
Разрез: Не упорядочено, Открыто от value:country
... Разрезы для address Содержимое/правила для всех разрезов
.... address:uzAddress S0..*AddressAn Uzbekistan address
..... use S0..1codeType of address, home | temp
Привязка: AddressUseVS (0.4.0) (required)
..... type S0..1codepostal | physical | both
Привязка: AddressTypeVS (0.4.0) (required)
..... text S0..1stringText part of the address provided by DPM. Mahalla name, street, house number, apartment number
..... line S0..*stringText street name provided by DPM
..... city S0..1stringMahalla code (citizens' assembly)
Привязка: MahallaVS (0.4.0) (required)
..... district S0..1stringDistrict or city code
Привязка: RegionsVS (0.4.0) (required)
..... state S0..1stringRegion code
Привязка: StateVS (0.4.0) (required)
..... country S1..1stringCountry code (ISO 3166-1 2 letter code)
Требуемый шаблон: UZ
..... period S0..1PeriodTime period when the address was/is used
... Разрезы для address Содержимое/правила для всех разрезов
.... address:i18nAddress S0..*AddressAn international, non-Uzbekistan address
..... use S0..1codeType of address, home | temp
Привязка: AddressUseVS (0.4.0) (required)
..... type S0..1codepostal | physical | both
Привязка: AddressTypeVS (0.4.0) (required)
..... text S0..1stringText part of the address
..... line S0..*stringStreet name or address line
..... city S0..1stringCity or locality
..... district S0..1stringDistrict, county, or administrative division
..... state S0..1stringState, province, or region
..... country S1..1stringCountry code (ISO 3166-1 2 letter code)
Привязка: ISO3166_2SansUZ (0.4.0) (required)
..... period S0..1PeriodTime period when the address was/is used
... period S0..1PeriodPeriod of time that this relationship is considered valid

doco Документация для этого формата

Uzbek


Generated Narrative: FHIR strukturasining ta'rifi. Ushbu resurs FHIR da belgilangan asosiy manbalarni, ma'lumotlar turlarini tavsiflash, shuningdek, resurslar va ma'lumotlar turlari bo'yicha kengaytmalar va cheklovlarni tavsiflash uchun ishlatiladi. uz-core-relatedperson

Language: en

NameFlagsCard.TypeDescription & Constraintsdoco
.. RelatedPerson C0..*RelatedPerson(5.0.0)A person that is related to a patient, but who is not a direct target of care
... Slices for identifier S1..*IdentifierA human identifier for this person
Slice: Unordered, Open by value:system
.... identifier:All Slices Content/Rules for all slices
..... extension 0..*ExtensionЭто используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия.
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUseVS (0.4.0) (required)
..... type 0..1CodeableConceptDescription of identifier
Binding: IdentifierTypeVS (0.4.0) (required)
... Slices for identifier Content/Rules for all slices
.... identifier:nationalId S0..1IdentifierA human identifier for this person
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... type S1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (Complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: NI
....... display1..1stringRepresentation defined by the system
Fixed Value: National unique individual identifier
..... system S1..1uriThe namespace for the identifier value
Required Pattern: https://dhp.uz/fhir/core/sid/pid/uz/ni
..... value S1..1stringThe value that is unique
... Slices for identifier Content/Rules for all slices
.... identifier:passportLocal S0..1IdentifierA human identifier for this person
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... type S1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (Complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: PPN
....... display1..1stringRepresentation defined by the system
Fixed Value: Passport number
..... system S1..1uriThe namespace for the identifier value
Required Pattern: https://dhp.uz/fhir/core/sid/pid/uz/ppn/local
..... value S1..1stringThe value that is unique
... Slices for identifier Content/Rules for all slices
.... identifier:passportInternational S0..1IdentifierA human identifier for this person
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... type S1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (Complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: PPN
....... display1..1stringRepresentation defined by the system
Fixed Value: Passport number
..... system S1..1uriThe namespace for the identifier value
Required Pattern: https://dhp.uz/fhir/core/sid/pid/uz/ppn/intl
..... value S1..1stringThe value that is unique
... Slices for identifier Content/Rules for all slices
.... identifier:birthCertificate S0..1IdentifierA human identifier for this person
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... type S1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (Complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: BCT
....... display1..1stringRepresentation defined by the system
Fixed Value: Birth Certificate
..... system S1..1uriThe namespace for the identifier value
Required Pattern: https://dhp.uz/fhir/core/sid/pid/uz/bct
..... value S1..1stringThe value that is unique
... Slices for identifier Content/Rules for all slices
.... identifier:driversLicense S0..1IdentifierA human identifier for this person
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... type S1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (Complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: DL
....... display1..1stringRepresentation defined by the system
Fixed Value: Driver's license number
..... system S1..1uriThe namespace for the identifier value
Required Pattern: https://dhp.uz/fhir/core/sid/pid/uz/dl
..... value S1..1stringThe value that is unique
... Slices for identifier Content/Rules for all slices
.... identifier:diplomaticPassport S0..1IdentifierA human identifier for this person
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... type S1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (Complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: DP
....... display1..1stringRepresentation defined by the system
Fixed Value: Diplomatic Passport
..... system S1..1uriThe namespace for the identifier value
Required Pattern: https://dhp.uz/fhir/core/sid/pid/uz/ppn/dp
..... value S1..1stringThe value that is unique
... Slices for identifier Content/Rules for all slices
.... identifier:healthCard S0..1IdentifierA human identifier for this person
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... type S1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (Complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: HC
....... display1..1stringRepresentation defined by the system
Fixed Value: Health card number
..... system S1..1uriThe namespace for the identifier value
Required Pattern: https://dhp.uz/fhir/core/sid/pid/uz/hc
..... value S1..1stringThe value that is unique
... Slices for identifier Content/Rules for all slices
.... identifier:militaryId S0..1IdentifierA human identifier for this person
..... Slices for extension Content/Rules for all slices
...... extension:data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required)
..... use 0..1codeusual | official | temp | secondary | old (If known)
Required Pattern: official
..... type S1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (Complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: MI
....... display1..1stringRepresentation defined by the system
Fixed Value: Military ID number
..... system S1..1uriThe namespace for the identifier value
Required Pattern: https://dhp.uz/fhir/core/sid/pid/uz/mi
..... value S1..1stringThe value that is unique
... active S0..1booleanWhether this related person's record is in active use
... patient S1..1Reference(UZ Core Patient(0.4.0))The patient this person is related to
... relationship S0..*CodeableConceptThe relationship of the related person to the patient
Binding: RelationshipTypeVS (0.4.0) (required)
... name S0..*HumanNameA name associated with the person
.... use S0..1codeusual | official | temp | nickname | anonymous | old | maiden
.... text S0..1stringText representation of the full name
.... family S0..1stringFamily name (often called 'Surname')
.... given S0..*stringGiven names (not always 'first'). Includes middle names
.... suffix S0..*stringParts that come after the name
.... period S0..1PeriodTime period when name was/is in use
... telecom S0..*ContactPointA contact detail for the person
.... system S0..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystemVS (0.4.0) (required)
.... use S0..1codehome | work | temp | old | mobile - purpose of this contact point
Binding: TelecomUseVS (0.4.0) (required)
... gender S0..1codemale | female | other | unknown
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... Slices for extension Content/Rules for all slices
..... extension:gender-other-2 S0..1CodingDifferentiation of the administrative gender 'other'
URL: https://dhp.uz/fhir/core/StructureDefinition/gender-other
Binding: GenderOtherVS (0.4.0) (required)
... birthDate S0..1dateThe date on which the related person was born
... Slices for address S0..*AddressAddress where the related person can be contacted or visited
Slice: Unordered, Open by value:country
... Slices for address Content/Rules for all slices
.... address:uzAddress S0..*AddressAn Uzbekistan address
..... use S0..1codeType of address, home | temp
Binding: AddressUseVS (0.4.0) (required)
..... type S0..1codepostal | physical | both
Binding: AddressTypeVS (0.4.0) (required)
..... text S0..1stringText part of the address provided by DPM. Mahalla name, street, house number, apartment number
..... line S0..*stringText street name provided by DPM
..... city S0..1stringMahalla code (citizens' assembly)
Binding: MahallaVS (0.4.0) (required)
..... district S0..1stringDistrict or city code
Binding: RegionsVS (0.4.0) (required)
..... state S0..1stringRegion code
Binding: StateVS (0.4.0) (required)
..... country S1..1stringCountry code (ISO 3166-1 2 letter code)
Required Pattern: UZ
..... period S0..1PeriodTime period when the address was/is used
... Slices for address Content/Rules for all slices
.... address:i18nAddress S0..*AddressAn international, non-Uzbekistan address
..... use S0..1codeType of address, home | temp
Binding: AddressUseVS (0.4.0) (required)
..... type S0..1codepostal | physical | both
Binding: AddressTypeVS (0.4.0) (required)
..... text S0..1stringText part of the address
..... line S0..*stringStreet name or address line
..... city S0..1stringCity or locality
..... district S0..1stringDistrict, county, or administrative division
..... state S0..1stringState, province, or region
..... country S1..1stringCountry code (ISO 3166-1 2 letter code)
Binding: ISO3166_2SansUZ (0.4.0) (required)
..... period S0..1PeriodTime period when the address was/is used
... period S0..1PeriodPeriod of time that this relationship is considered valid

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "uz-core-relatedperson",
  "language": "en",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "https://dhp.uz/fhir/core/StructureDefinition/uz-core-relatedperson",
  "version": "0.4.0",
  "name": "UZCoreRelatedPerson",
  "_name": {
    "extension": [
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "ru"
          },
          {
            "url": "content",
            "valueString": "UZCoreRelatedPerson"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      },
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "uz"
          },
          {
            "url": "content",
            "valueString": "UZCoreRelatedPerson"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      }
    ]
  },
  "title": "UZ Core RelatedPerson",
  "_title": {
    "extension": [
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "ru"
          },
          {
            "url": "content",
            "valueString": "UZ Core RelatedPerson"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      },
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "uz"
          },
          {
            "url": "content",
            "valueString": "UZ Core RelatedPerson"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      }
    ]
  },
  "status": "active",
  "experimental": true,
  "date": "2026-02-03T15:04:26+00:00",
  "publisher": "Ministry of Health of the Republic of Uzbekistan",
  "contact": [
    {
      "name": "Ministry of Health of the Republic of Uzbekistan",
      "telecom": [
        {
          "system": "url",
          "value": "https://gov.uz/en/ssv"
        },
        {
          "system": "email",
          "value": "info@ssv.uz"
        }
      ]
    }
  ],
  "description": "Uzbekistan Core RelatedPerson profile, used to represent persons related to the patient",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "UZ",
          "display": "Uzbekistan"
        }
      ]
    }
  ],
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "interface",
      "uri": "http://hl7.org/fhir/interface",
      "name": "Interface Pattern"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 V2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "RelatedPerson",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson|5.0.0",
  "derivation": "constraint",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "5.0.0"
      }
    ],
    "element": [
      {
        "id": "RelatedPerson",
        "path": "RelatedPerson",
        "short": "A person that is related to a patient, but who is not a direct target of care",
        "definition": "Information about a person that is involved in a patient's health or the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "RelatedPerson",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "dom-2",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression": "contained.contained.empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource|5.0.0"
          },
          {
            "key": "dom-3",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
            "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource|5.0.0"
          },
          {
            "key": "dom-4",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource|5.0.0"
          },
          {
            "key": "dom-5",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
            "expression": "contained.meta.security.empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource|5.0.0"
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                "valueBoolean": true
              },
              {
                "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
              }
            ],
            "key": "dom-6",
            "severity": "warning",
            "human": "A resource should have narrative for robust management",
            "expression": "text.`div`.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource|5.0.0"
          },
          {
            "key": "uzcore-gender-other-2",
            "severity": "error",
            "human": "gender 'other' implies differentiation of the gender indication 'other' (for use in a profile)",
            "expression": "gender.exists() and gender = 'other' implies gender.extension('https://dhp.uz/fhir/core/StructureDefinition/gender-other').exists()",
            "source": "https://dhp.uz/fhir/core/StructureDefinition/uz-core-relatedperson|0.4.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "Entity, Role, or Act,role"
          },
          {
            "identity": "w5",
            "map": "administrative.individual"
          },
          {
            "identity": "interface",
            "map": "ParticipantLiving"
          }
        ]
      },
      {
        "id": "RelatedPerson.id",
        "path": "RelatedPerson.id",
        "short": "Logical id of this artifact",
        "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
        "comment": "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "RelatedPerson.meta",
        "path": "RelatedPerson.meta",
        "short": "Metadata about the resource",
        "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.meta",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Meta"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "RelatedPerson.implicitRules",
        "path": "RelatedPerson.implicitRules",
        "short": "A set of rules under which this content was created",
        "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
        "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.implicitRules",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": false,
        "isModifier": true,
        "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation",
        "isSummary": true
      },
      {
        "id": "RelatedPerson.language",
        "path": "RelatedPerson.language",
        "short": "Language of the resource content",
        "definition": "The base language in which the resource is written.",
        "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Language"
            }
          ],
          "strength": "required",
          "description": "IETF language tag for a human language",
          "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|5.0.0",
          "additional": [
            {
              "purpose": "starter",
              "valueSet": "http://hl7.org/fhir/ValueSet/languages|5.0.0"
            }
          ]
        }
      },
      {
        "id": "RelatedPerson.text",
        "path": "RelatedPerson.text",
        "short": "Text summary of the resource, for human interpretation",
        "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
        "comment": "Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
        "alias": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "condition": [
          "dom-6"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "id": "RelatedPerson.contained",
        "path": "RelatedPerson.contained",
        "short": "Contained, inline Resources",
        "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.",
        "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.",
        "alias": [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.contained",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Resource"
          }
        ],
        "condition": [
          "dom-2",
          "dom-4",
          "dom-3",
          "dom-5"
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "RelatedPerson.extension",
        "path": "RelatedPerson.extension",
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "RelatedPerson.modifierExtension",
        "path": "RelatedPerson.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "mustSupport": false,
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier",
        "path": "RelatedPerson.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "description": "Ways a related person can be identified",
          "ordered": false,
          "rules": "open"
        },
        "short": "A human identifier for this person",
        "definition": "Identifier for a person within a particular scope.",
        "comment": "RelatedPerson identifiers might not be unique across instances within a system, as a single human individual may be represented as many different RelatedPerson resources with different roles, periods, or relationships.",
        "requirements": "People are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the patient. Examples are national person identifier and local identifier.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "RelatedPerson.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          },
          {
            "identity": "v2",
            "map": "NK1-33"
          },
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "interface",
            "map": "Participant.identifier"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier.id",
        "path": "RelatedPerson.identifier.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier.extension",
        "path": "RelatedPerson.identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия.",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "RelatedPerson.identifier.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "short": "unknown | asked | temp | notasked | masked | unsupported | astext | error",
        "definition": "Provides a reason why the expected value or elements in the element that is extended are missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "ANY.nullFlavor"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier.use",
        "path": "RelatedPerson.identifier.use",
        "short": "usual | official | temp | secondary | old (If known)",
        "definition": "The purpose of this identifier.",
        "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
        "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-use-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier.type",
        "path": "RelatedPerson.identifier.type",
        "short": "Description of identifier",
        "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
        "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
        "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-type-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.5"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier.system",
        "path": "RelatedPerson.identifier.system",
        "short": "The namespace for the identifier value",
        "definition": "Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique.",
        "comment": "Identifier.system is always case sensitive.",
        "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueUri": "http://www.acme.com/identifiers/patient"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / EI-2-4"
          },
          {
            "identity": "rim",
            "map": "II.root or Role.id.root"
          },
          {
            "identity": "servd",
            "map": "./IdentifierType"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier.value",
        "path": "RelatedPerson.identifier.value",
        "short": "The value that is unique",
        "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
        "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [http://hl7.org/fhir/StructureDefinition/rendered-value](http://hl7.org/fhir/extensions/StructureDefinition-rendered-value.html)). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "123456"
          }
        ],
        "condition": [
          "ident-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.1 / EI.1"
          },
          {
            "identity": "rim",
            "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity": "servd",
            "map": "./Value"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier.period",
        "path": "RelatedPerson.identifier.period",
        "short": "Time period when id is/was valid for use",
        "definition": "Time period during which identifier is/was valid for use.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.7 + CX.8"
          },
          {
            "identity": "rim",
            "map": "Role.effectiveTime or implied by context"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier.assigner",
        "path": "RelatedPerson.identifier.assigner",
        "short": "Organization that issued id (may be just text)",
        "definition": "Organization that issued/manages the identifier.",
        "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.assigner",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / (CX.4,CX.9,CX.10)"
          },
          {
            "identity": "rim",
            "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
          },
          {
            "identity": "servd",
            "map": "./IdentifierIssuingAuthority"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:nationalId",
        "path": "RelatedPerson.identifier",
        "sliceName": "nationalId",
        "short": "A human identifier for this person",
        "definition": "Identifier for a person within a particular scope.",
        "comment": "RelatedPerson identifiers might not be unique across instances within a system, as a single human individual may be represented as many different RelatedPerson resources with different roles, periods, or relationships.",
        "requirements": "People are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the patient. Examples are national person identifier and local identifier.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedPerson.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          },
          {
            "identity": "v2",
            "map": "NK1-33"
          },
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "interface",
            "map": "Participant.identifier"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:nationalId.id",
        "path": "RelatedPerson.identifier.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:nationalId.extension",
        "path": "RelatedPerson.identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия.",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "RelatedPerson.identifier:nationalId.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "short": "unknown | asked | temp | notasked | masked | unsupported | astext | error",
        "definition": "Provides a reason why the expected value or elements in the element that is extended are missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "ANY.nullFlavor"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:nationalId.use",
        "path": "RelatedPerson.identifier.use",
        "short": "usual | official | temp | secondary | old (If known)",
        "definition": "The purpose of this identifier.",
        "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
        "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "patternCode": "official",
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-use-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:nationalId.type",
        "path": "RelatedPerson.identifier.type",
        "short": "Description of identifier",
        "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
        "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
        "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "NI",
              "display": "National unique individual identifier"
            }
          ]
        },
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-type-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.5"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:nationalId.system",
        "path": "RelatedPerson.identifier.system",
        "short": "The namespace for the identifier value",
        "definition": "Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique.",
        "comment": "Identifier.system is always case sensitive.",
        "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "patternUri": "https://dhp.uz/fhir/core/sid/pid/uz/ni",
        "example": [
          {
            "label": "General",
            "valueUri": "http://www.acme.com/identifiers/patient"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / EI-2-4"
          },
          {
            "identity": "rim",
            "map": "II.root or Role.id.root"
          },
          {
            "identity": "servd",
            "map": "./IdentifierType"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:nationalId.value",
        "path": "RelatedPerson.identifier.value",
        "short": "The value that is unique",
        "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
        "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [http://hl7.org/fhir/StructureDefinition/rendered-value](http://hl7.org/fhir/extensions/StructureDefinition-rendered-value.html)). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "123456"
          }
        ],
        "condition": [
          "ident-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.1 / EI.1"
          },
          {
            "identity": "rim",
            "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity": "servd",
            "map": "./Value"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:nationalId.period",
        "path": "RelatedPerson.identifier.period",
        "short": "Time period when id is/was valid for use",
        "definition": "Time period during which identifier is/was valid for use.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.7 + CX.8"
          },
          {
            "identity": "rim",
            "map": "Role.effectiveTime or implied by context"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:nationalId.assigner",
        "path": "RelatedPerson.identifier.assigner",
        "short": "Organization that issued id (may be just text)",
        "definition": "Organization that issued/manages the identifier.",
        "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.assigner",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / (CX.4,CX.9,CX.10)"
          },
          {
            "identity": "rim",
            "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
          },
          {
            "identity": "servd",
            "map": "./IdentifierIssuingAuthority"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportLocal",
        "path": "RelatedPerson.identifier",
        "sliceName": "passportLocal",
        "short": "A human identifier for this person",
        "definition": "Identifier for a person within a particular scope.",
        "comment": "RelatedPerson identifiers might not be unique across instances within a system, as a single human individual may be represented as many different RelatedPerson resources with different roles, periods, or relationships.",
        "requirements": "People are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the patient. Examples are national person identifier and local identifier.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedPerson.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          },
          {
            "identity": "v2",
            "map": "NK1-33"
          },
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "interface",
            "map": "Participant.identifier"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportLocal.id",
        "path": "RelatedPerson.identifier.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportLocal.extension",
        "path": "RelatedPerson.identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия.",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "RelatedPerson.identifier:passportLocal.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "short": "unknown | asked | temp | notasked | masked | unsupported | astext | error",
        "definition": "Provides a reason why the expected value or elements in the element that is extended are missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "ANY.nullFlavor"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportLocal.use",
        "path": "RelatedPerson.identifier.use",
        "short": "usual | official | temp | secondary | old (If known)",
        "definition": "The purpose of this identifier.",
        "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
        "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "patternCode": "official",
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-use-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportLocal.type",
        "path": "RelatedPerson.identifier.type",
        "short": "Description of identifier",
        "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
        "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
        "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "PPN",
              "display": "Passport number"
            }
          ]
        },
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-type-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.5"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportLocal.system",
        "path": "RelatedPerson.identifier.system",
        "short": "The namespace for the identifier value",
        "definition": "Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique.",
        "comment": "Identifier.system is always case sensitive.",
        "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "patternUri": "https://dhp.uz/fhir/core/sid/pid/uz/ppn/local",
        "example": [
          {
            "label": "General",
            "valueUri": "http://www.acme.com/identifiers/patient"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / EI-2-4"
          },
          {
            "identity": "rim",
            "map": "II.root or Role.id.root"
          },
          {
            "identity": "servd",
            "map": "./IdentifierType"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportLocal.value",
        "path": "RelatedPerson.identifier.value",
        "short": "The value that is unique",
        "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
        "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [http://hl7.org/fhir/StructureDefinition/rendered-value](http://hl7.org/fhir/extensions/StructureDefinition-rendered-value.html)). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "123456"
          }
        ],
        "condition": [
          "ident-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.1 / EI.1"
          },
          {
            "identity": "rim",
            "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity": "servd",
            "map": "./Value"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportLocal.period",
        "path": "RelatedPerson.identifier.period",
        "short": "Time period when id is/was valid for use",
        "definition": "Time period during which identifier is/was valid for use.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.7 + CX.8"
          },
          {
            "identity": "rim",
            "map": "Role.effectiveTime or implied by context"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportLocal.assigner",
        "path": "RelatedPerson.identifier.assigner",
        "short": "Organization that issued id (may be just text)",
        "definition": "Organization that issued/manages the identifier.",
        "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.assigner",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / (CX.4,CX.9,CX.10)"
          },
          {
            "identity": "rim",
            "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
          },
          {
            "identity": "servd",
            "map": "./IdentifierIssuingAuthority"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportInternational",
        "path": "RelatedPerson.identifier",
        "sliceName": "passportInternational",
        "short": "A human identifier for this person",
        "definition": "Identifier for a person within a particular scope.",
        "comment": "RelatedPerson identifiers might not be unique across instances within a system, as a single human individual may be represented as many different RelatedPerson resources with different roles, periods, or relationships.",
        "requirements": "People are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the patient. Examples are national person identifier and local identifier.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedPerson.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          },
          {
            "identity": "v2",
            "map": "NK1-33"
          },
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "interface",
            "map": "Participant.identifier"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportInternational.id",
        "path": "RelatedPerson.identifier.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportInternational.extension",
        "path": "RelatedPerson.identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия.",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "RelatedPerson.identifier:passportInternational.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "short": "unknown | asked | temp | notasked | masked | unsupported | astext | error",
        "definition": "Provides a reason why the expected value or elements in the element that is extended are missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "ANY.nullFlavor"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportInternational.use",
        "path": "RelatedPerson.identifier.use",
        "short": "usual | official | temp | secondary | old (If known)",
        "definition": "The purpose of this identifier.",
        "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
        "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "patternCode": "official",
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-use-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportInternational.type",
        "path": "RelatedPerson.identifier.type",
        "short": "Description of identifier",
        "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
        "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
        "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "PPN",
              "display": "Passport number"
            }
          ]
        },
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-type-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.5"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportInternational.system",
        "path": "RelatedPerson.identifier.system",
        "short": "The namespace for the identifier value",
        "definition": "Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique.",
        "comment": "Identifier.system is always case sensitive.",
        "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "patternUri": "https://dhp.uz/fhir/core/sid/pid/uz/ppn/intl",
        "example": [
          {
            "label": "General",
            "valueUri": "http://www.acme.com/identifiers/patient"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / EI-2-4"
          },
          {
            "identity": "rim",
            "map": "II.root or Role.id.root"
          },
          {
            "identity": "servd",
            "map": "./IdentifierType"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportInternational.value",
        "path": "RelatedPerson.identifier.value",
        "short": "The value that is unique",
        "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
        "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [http://hl7.org/fhir/StructureDefinition/rendered-value](http://hl7.org/fhir/extensions/StructureDefinition-rendered-value.html)). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "123456"
          }
        ],
        "condition": [
          "ident-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.1 / EI.1"
          },
          {
            "identity": "rim",
            "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity": "servd",
            "map": "./Value"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportInternational.period",
        "path": "RelatedPerson.identifier.period",
        "short": "Time period when id is/was valid for use",
        "definition": "Time period during which identifier is/was valid for use.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.7 + CX.8"
          },
          {
            "identity": "rim",
            "map": "Role.effectiveTime or implied by context"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:passportInternational.assigner",
        "path": "RelatedPerson.identifier.assigner",
        "short": "Organization that issued id (may be just text)",
        "definition": "Organization that issued/manages the identifier.",
        "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.assigner",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / (CX.4,CX.9,CX.10)"
          },
          {
            "identity": "rim",
            "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
          },
          {
            "identity": "servd",
            "map": "./IdentifierIssuingAuthority"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:birthCertificate",
        "path": "RelatedPerson.identifier",
        "sliceName": "birthCertificate",
        "short": "A human identifier for this person",
        "definition": "Identifier for a person within a particular scope.",
        "comment": "RelatedPerson identifiers might not be unique across instances within a system, as a single human individual may be represented as many different RelatedPerson resources with different roles, periods, or relationships.",
        "requirements": "People are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the patient. Examples are national person identifier and local identifier.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedPerson.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          },
          {
            "identity": "v2",
            "map": "NK1-33"
          },
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "interface",
            "map": "Participant.identifier"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:birthCertificate.id",
        "path": "RelatedPerson.identifier.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:birthCertificate.extension",
        "path": "RelatedPerson.identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия.",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "RelatedPerson.identifier:birthCertificate.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "short": "unknown | asked | temp | notasked | masked | unsupported | astext | error",
        "definition": "Provides a reason why the expected value or elements in the element that is extended are missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "ANY.nullFlavor"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:birthCertificate.use",
        "path": "RelatedPerson.identifier.use",
        "short": "usual | official | temp | secondary | old (If known)",
        "definition": "The purpose of this identifier.",
        "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
        "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "patternCode": "official",
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-use-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:birthCertificate.type",
        "path": "RelatedPerson.identifier.type",
        "short": "Description of identifier",
        "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
        "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
        "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "BCT",
              "display": "Birth Certificate"
            }
          ]
        },
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-type-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.5"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:birthCertificate.system",
        "path": "RelatedPerson.identifier.system",
        "short": "The namespace for the identifier value",
        "definition": "Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique.",
        "comment": "Identifier.system is always case sensitive.",
        "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "patternUri": "https://dhp.uz/fhir/core/sid/pid/uz/bct",
        "example": [
          {
            "label": "General",
            "valueUri": "http://www.acme.com/identifiers/patient"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / EI-2-4"
          },
          {
            "identity": "rim",
            "map": "II.root or Role.id.root"
          },
          {
            "identity": "servd",
            "map": "./IdentifierType"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:birthCertificate.value",
        "path": "RelatedPerson.identifier.value",
        "short": "The value that is unique",
        "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
        "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [http://hl7.org/fhir/StructureDefinition/rendered-value](http://hl7.org/fhir/extensions/StructureDefinition-rendered-value.html)). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "123456"
          }
        ],
        "condition": [
          "ident-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.1 / EI.1"
          },
          {
            "identity": "rim",
            "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity": "servd",
            "map": "./Value"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:birthCertificate.period",
        "path": "RelatedPerson.identifier.period",
        "short": "Time period when id is/was valid for use",
        "definition": "Time period during which identifier is/was valid for use.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.7 + CX.8"
          },
          {
            "identity": "rim",
            "map": "Role.effectiveTime or implied by context"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:birthCertificate.assigner",
        "path": "RelatedPerson.identifier.assigner",
        "short": "Organization that issued id (may be just text)",
        "definition": "Organization that issued/manages the identifier.",
        "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.assigner",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / (CX.4,CX.9,CX.10)"
          },
          {
            "identity": "rim",
            "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
          },
          {
            "identity": "servd",
            "map": "./IdentifierIssuingAuthority"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:driversLicense",
        "path": "RelatedPerson.identifier",
        "sliceName": "driversLicense",
        "short": "A human identifier for this person",
        "definition": "Identifier for a person within a particular scope.",
        "comment": "RelatedPerson identifiers might not be unique across instances within a system, as a single human individual may be represented as many different RelatedPerson resources with different roles, periods, or relationships.",
        "requirements": "People are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the patient. Examples are national person identifier and local identifier.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedPerson.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          },
          {
            "identity": "v2",
            "map": "NK1-33"
          },
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "interface",
            "map": "Participant.identifier"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:driversLicense.id",
        "path": "RelatedPerson.identifier.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:driversLicense.extension",
        "path": "RelatedPerson.identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия.",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "RelatedPerson.identifier:driversLicense.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "short": "unknown | asked | temp | notasked | masked | unsupported | astext | error",
        "definition": "Provides a reason why the expected value or elements in the element that is extended are missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "ANY.nullFlavor"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:driversLicense.use",
        "path": "RelatedPerson.identifier.use",
        "short": "usual | official | temp | secondary | old (If known)",
        "definition": "The purpose of this identifier.",
        "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
        "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "patternCode": "official",
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-use-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:driversLicense.type",
        "path": "RelatedPerson.identifier.type",
        "short": "Description of identifier",
        "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
        "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
        "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "DL",
              "display": "Driver's license number"
            }
          ]
        },
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-type-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.5"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:driversLicense.system",
        "path": "RelatedPerson.identifier.system",
        "short": "The namespace for the identifier value",
        "definition": "Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique.",
        "comment": "Identifier.system is always case sensitive.",
        "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "patternUri": "https://dhp.uz/fhir/core/sid/pid/uz/dl",
        "example": [
          {
            "label": "General",
            "valueUri": "http://www.acme.com/identifiers/patient"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / EI-2-4"
          },
          {
            "identity": "rim",
            "map": "II.root or Role.id.root"
          },
          {
            "identity": "servd",
            "map": "./IdentifierType"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:driversLicense.value",
        "path": "RelatedPerson.identifier.value",
        "short": "The value that is unique",
        "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
        "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [http://hl7.org/fhir/StructureDefinition/rendered-value](http://hl7.org/fhir/extensions/StructureDefinition-rendered-value.html)). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "123456"
          }
        ],
        "condition": [
          "ident-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.1 / EI.1"
          },
          {
            "identity": "rim",
            "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity": "servd",
            "map": "./Value"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:driversLicense.period",
        "path": "RelatedPerson.identifier.period",
        "short": "Time period when id is/was valid for use",
        "definition": "Time period during which identifier is/was valid for use.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.7 + CX.8"
          },
          {
            "identity": "rim",
            "map": "Role.effectiveTime or implied by context"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:driversLicense.assigner",
        "path": "RelatedPerson.identifier.assigner",
        "short": "Organization that issued id (may be just text)",
        "definition": "Organization that issued/manages the identifier.",
        "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.assigner",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / (CX.4,CX.9,CX.10)"
          },
          {
            "identity": "rim",
            "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
          },
          {
            "identity": "servd",
            "map": "./IdentifierIssuingAuthority"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:diplomaticPassport",
        "path": "RelatedPerson.identifier",
        "sliceName": "diplomaticPassport",
        "short": "A human identifier for this person",
        "definition": "Identifier for a person within a particular scope.",
        "comment": "RelatedPerson identifiers might not be unique across instances within a system, as a single human individual may be represented as many different RelatedPerson resources with different roles, periods, or relationships.",
        "requirements": "People are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the patient. Examples are national person identifier and local identifier.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedPerson.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          },
          {
            "identity": "v2",
            "map": "NK1-33"
          },
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "interface",
            "map": "Participant.identifier"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:diplomaticPassport.id",
        "path": "RelatedPerson.identifier.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:diplomaticPassport.extension",
        "path": "RelatedPerson.identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия.",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "RelatedPerson.identifier:diplomaticPassport.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "short": "unknown | asked | temp | notasked | masked | unsupported | astext | error",
        "definition": "Provides a reason why the expected value or elements in the element that is extended are missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "ANY.nullFlavor"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:diplomaticPassport.use",
        "path": "RelatedPerson.identifier.use",
        "short": "usual | official | temp | secondary | old (If known)",
        "definition": "The purpose of this identifier.",
        "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
        "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "patternCode": "official",
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-use-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:diplomaticPassport.type",
        "path": "RelatedPerson.identifier.type",
        "short": "Description of identifier",
        "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
        "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
        "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "DP",
              "display": "Diplomatic Passport"
            }
          ]
        },
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-type-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.5"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:diplomaticPassport.system",
        "path": "RelatedPerson.identifier.system",
        "short": "The namespace for the identifier value",
        "definition": "Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique.",
        "comment": "Identifier.system is always case sensitive.",
        "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "patternUri": "https://dhp.uz/fhir/core/sid/pid/uz/ppn/dp",
        "example": [
          {
            "label": "General",
            "valueUri": "http://www.acme.com/identifiers/patient"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / EI-2-4"
          },
          {
            "identity": "rim",
            "map": "II.root or Role.id.root"
          },
          {
            "identity": "servd",
            "map": "./IdentifierType"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:diplomaticPassport.value",
        "path": "RelatedPerson.identifier.value",
        "short": "The value that is unique",
        "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
        "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [http://hl7.org/fhir/StructureDefinition/rendered-value](http://hl7.org/fhir/extensions/StructureDefinition-rendered-value.html)). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "123456"
          }
        ],
        "condition": [
          "ident-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.1 / EI.1"
          },
          {
            "identity": "rim",
            "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity": "servd",
            "map": "./Value"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:diplomaticPassport.period",
        "path": "RelatedPerson.identifier.period",
        "short": "Time period when id is/was valid for use",
        "definition": "Time period during which identifier is/was valid for use.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.7 + CX.8"
          },
          {
            "identity": "rim",
            "map": "Role.effectiveTime or implied by context"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:diplomaticPassport.assigner",
        "path": "RelatedPerson.identifier.assigner",
        "short": "Organization that issued id (may be just text)",
        "definition": "Organization that issued/manages the identifier.",
        "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.assigner",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / (CX.4,CX.9,CX.10)"
          },
          {
            "identity": "rim",
            "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
          },
          {
            "identity": "servd",
            "map": "./IdentifierIssuingAuthority"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:healthCard",
        "path": "RelatedPerson.identifier",
        "sliceName": "healthCard",
        "short": "A human identifier for this person",
        "definition": "Identifier for a person within a particular scope.",
        "comment": "RelatedPerson identifiers might not be unique across instances within a system, as a single human individual may be represented as many different RelatedPerson resources with different roles, periods, or relationships.",
        "requirements": "People are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the patient. Examples are national person identifier and local identifier.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedPerson.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          },
          {
            "identity": "v2",
            "map": "NK1-33"
          },
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "interface",
            "map": "Participant.identifier"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:healthCard.id",
        "path": "RelatedPerson.identifier.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:healthCard.extension",
        "path": "RelatedPerson.identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия.",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "RelatedPerson.identifier:healthCard.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "short": "unknown | asked | temp | notasked | masked | unsupported | astext | error",
        "definition": "Provides a reason why the expected value or elements in the element that is extended are missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "ANY.nullFlavor"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:healthCard.use",
        "path": "RelatedPerson.identifier.use",
        "short": "usual | official | temp | secondary | old (If known)",
        "definition": "The purpose of this identifier.",
        "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
        "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "patternCode": "official",
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-use-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:healthCard.type",
        "path": "RelatedPerson.identifier.type",
        "short": "Description of identifier",
        "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
        "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
        "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "HC",
              "display": "Health card number"
            }
          ]
        },
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-type-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.5"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:healthCard.system",
        "path": "RelatedPerson.identifier.system",
        "short": "The namespace for the identifier value",
        "definition": "Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique.",
        "comment": "Identifier.system is always case sensitive.",
        "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "patternUri": "https://dhp.uz/fhir/core/sid/pid/uz/hc",
        "example": [
          {
            "label": "General",
            "valueUri": "http://www.acme.com/identifiers/patient"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / EI-2-4"
          },
          {
            "identity": "rim",
            "map": "II.root or Role.id.root"
          },
          {
            "identity": "servd",
            "map": "./IdentifierType"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:healthCard.value",
        "path": "RelatedPerson.identifier.value",
        "short": "The value that is unique",
        "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
        "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [http://hl7.org/fhir/StructureDefinition/rendered-value](http://hl7.org/fhir/extensions/StructureDefinition-rendered-value.html)). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "123456"
          }
        ],
        "condition": [
          "ident-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.1 / EI.1"
          },
          {
            "identity": "rim",
            "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity": "servd",
            "map": "./Value"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:healthCard.period",
        "path": "RelatedPerson.identifier.period",
        "short": "Time period when id is/was valid for use",
        "definition": "Time period during which identifier is/was valid for use.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.7 + CX.8"
          },
          {
            "identity": "rim",
            "map": "Role.effectiveTime or implied by context"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:healthCard.assigner",
        "path": "RelatedPerson.identifier.assigner",
        "short": "Organization that issued id (may be just text)",
        "definition": "Organization that issued/manages the identifier.",
        "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.assigner",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / (CX.4,CX.9,CX.10)"
          },
          {
            "identity": "rim",
            "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
          },
          {
            "identity": "servd",
            "map": "./IdentifierIssuingAuthority"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:militaryId",
        "path": "RelatedPerson.identifier",
        "sliceName": "militaryId",
        "short": "A human identifier for this person",
        "definition": "Identifier for a person within a particular scope.",
        "comment": "RelatedPerson identifiers might not be unique across instances within a system, as a single human individual may be represented as many different RelatedPerson resources with different roles, periods, or relationships.",
        "requirements": "People are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the patient. Examples are national person identifier and local identifier.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedPerson.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          },
          {
            "identity": "v2",
            "map": "NK1-33"
          },
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "interface",
            "map": "Participant.identifier"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:militaryId.id",
        "path": "RelatedPerson.identifier.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:militaryId.extension",
        "path": "RelatedPerson.identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия.",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "RelatedPerson.identifier:militaryId.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "short": "unknown | asked | temp | notasked | masked | unsupported | astext | error",
        "definition": "Provides a reason why the expected value or elements in the element that is extended are missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "ANY.nullFlavor"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:militaryId.use",
        "path": "RelatedPerson.identifier.use",
        "short": "usual | official | temp | secondary | old (If known)",
        "definition": "The purpose of this identifier.",
        "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
        "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "patternCode": "official",
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-use-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:militaryId.type",
        "path": "RelatedPerson.identifier.type",
        "short": "Description of identifier",
        "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
        "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
        "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "MI",
              "display": "Military ID number"
            }
          ]
        },
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-type-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.5"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:militaryId.system",
        "path": "RelatedPerson.identifier.system",
        "short": "The namespace for the identifier value",
        "definition": "Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique.",
        "comment": "Identifier.system is always case sensitive.",
        "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "patternUri": "https://dhp.uz/fhir/core/sid/pid/uz/mi",
        "example": [
          {
            "label": "General",
            "valueUri": "http://www.acme.com/identifiers/patient"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / EI-2-4"
          },
          {
            "identity": "rim",
            "map": "II.root or Role.id.root"
          },
          {
            "identity": "servd",
            "map": "./IdentifierType"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:militaryId.value",
        "path": "RelatedPerson.identifier.value",
        "short": "The value that is unique",
        "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
        "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [http://hl7.org/fhir/StructureDefinition/rendered-value](http://hl7.org/fhir/extensions/StructureDefinition-rendered-value.html)). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Identifier.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "123456"
          }
        ],
        "condition": [
          "ident-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.1 / EI.1"
          },
          {
            "identity": "rim",
            "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity": "servd",
            "map": "./Value"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:militaryId.period",
        "path": "RelatedPerson.identifier.period",
        "short": "Time period when id is/was valid for use",
        "definition": "Time period during which identifier is/was valid for use.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.7 + CX.8"
          },
          {
            "identity": "rim",
            "map": "Role.effectiveTime or implied by context"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier:militaryId.assigner",
        "path": "RelatedPerson.identifier.assigner",
        "short": "Organization that issued id (may be just text)",
        "definition": "Organization that issued/manages the identifier.",
        "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.assigner",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / (CX.4,CX.9,CX.10)"
          },
          {
            "identity": "rim",
            "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
          },
          {
            "identity": "servd",
            "map": "./IdentifierIssuingAuthority"
          }
        ]
      },
      {
        "id": "RelatedPerson.active",
        "path": "RelatedPerson.active",
        "short": "Whether this related person's record is in active use",
        "definition": "Whether this related person record is in active use.",
        "comment": "This element is labeled as a modifier because it may be used to mark that the resource was created in error.",
        "requirements": "Need to be able to mark a related person record as not to be used, such as if it was created in error.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedPerson.active",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element",
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": true,
        "isModifierReason": "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid",
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.status"
          },
          {
            "identity": "rim",
            "map": ".statusCode"
          },
          {
            "identity": "interface",
            "map": "Participant.active"
          }
        ]
      },
      {
        "id": "RelatedPerson.patient",
        "path": "RelatedPerson.patient",
        "short": "The patient this person is related to",
        "definition": "The patient this person is related to.",
        "requirements": "We need to know which patient this RelatedPerson is related to.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "RelatedPerson.patient",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://dhp.uz/fhir/core/StructureDefinition/uz-core-patient|0.4.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-3"
          },
          {
            "identity": "rim",
            "map": "scoper[classCode=PSN|ANM and determinerCode='INSTANCE']/playedRole[classCode='PAT']/id"
          }
        ]
      },
      {
        "id": "RelatedPerson.relationship",
        "path": "RelatedPerson.relationship",
        "short": "The relationship of the related person to the patient",
        "definition": "The nature of the relationship between the related person and the patient.",
        "comment": "The directionality of the relationship is from the RelatedPerson to the Patient. For example, if the Patient is a child, and the RelatedPerson is the mother, the relationship would be PRN (parent) or MTH (mother).",
        "requirements": "We need to know the relationship with the patient since it influences the interpretation of the information attributed to this person.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "RelatedPerson.relationship",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/relationship-type-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.class"
          },
          {
            "identity": "v2",
            "map": "NK1-3"
          },
          {
            "identity": "rim",
            "map": "code"
          }
        ]
      },
      {
        "id": "RelatedPerson.name",
        "path": "RelatedPerson.name",
        "short": "A name associated with the person",
        "definition": "A name associated with the person.",
        "requirements": "Related persons need to be identified by name, but it is uncommon to need details about multiple other names for that person.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "RelatedPerson.name",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "HumanName"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "NK1-2"
          },
          {
            "identity": "rim",
            "map": "name"
          },
          {
            "identity": "interface",
            "map": "Participant.name"
          }
        ]
      },
      {
        "id": "RelatedPerson.name.id",
        "path": "RelatedPerson.name.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.name.extension",
        "path": "RelatedPerson.name.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.name.use",
        "path": "RelatedPerson.name.use",
        "short": "usual | official | temp | nickname | anonymous | old | maiden",
        "definition": "Identifies the purpose for this name.",
        "comment": "Applications can assume that a name is current unless it explicitly says that it is temporary or old.",
        "requirements": "Allows the appropriate name for a particular context of use to be selected from among a set of names.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "HumanName.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one",
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "NameUse"
            }
          ],
          "strength": "required",
          "description": "The use of a human name.",
          "valueSet": "http://hl7.org/fhir/ValueSet/name-use|5.0.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "XPN.7, but often indicated by which field contains the name"
          },
          {
            "identity": "rim",
            "map": "unique(./use)"
          },
          {
            "identity": "servd",
            "map": "./NamePurpose"
          }
        ]
      },
      {
        "id": "RelatedPerson.name.text",
        "path": "RelatedPerson.name.text",
        "short": "Text representation of the full name",
        "definition": "Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.",
        "comment": "Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present,  no content is included in the text that isn't found in a part.",
        "requirements": "A renderable, unencoded form.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "HumanName.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "implied by XPN.11"
          },
          {
            "identity": "rim",
            "map": "./formatted"
          }
        ]
      },
      {
        "id": "RelatedPerson.name.family",
        "path": "RelatedPerson.name.family",
        "short": "Family name (often called 'Surname')",
        "definition": "The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.",
        "comment": "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).",
        "alias": [
          "surname"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "HumanName.family",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XPN.1/FN.1"
          },
          {
            "identity": "rim",
            "map": "./part[partType = FAM]"
          },
          {
            "identity": "servd",
            "map": "./FamilyName"
          }
        ]
      },
      {
        "id": "RelatedPerson.name.given",
        "path": "RelatedPerson.name.given",
        "short": "Given names (not always 'first'). Includes middle names",
        "definition": "Given name.",
        "comment": "If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations.  This element is not called \"first name\" since given names do not always come first.",
        "alias": [
          "first name",
          "middle name"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "HumanName.given",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "orderMeaning": "Given Names appear in the correct order for presenting the name",
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XPN.2 + XPN.3"
          },
          {
            "identity": "rim",
            "map": "./part[partType = GIV]"
          },
          {
            "identity": "servd",
            "map": "./GivenNames"
          }
        ]
      },
      {
        "id": "RelatedPerson.name.prefix",
        "path": "RelatedPerson.name.prefix",
        "short": "Parts that come before the name",
        "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "HumanName.prefix",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "orderMeaning": "Prefixes appear in the correct order for presenting the name",
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XPN.5"
          },
          {
            "identity": "rim",
            "map": "./part[partType = PFX]"
          },
          {
            "identity": "servd",
            "map": "./TitleCode"
          }
        ]
      },
      {
        "id": "RelatedPerson.name.suffix",
        "path": "RelatedPerson.name.suffix",
        "short": "Parts that come after the name",
        "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "HumanName.suffix",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "orderMeaning": "Suffixes appear in the correct order for presenting the name",
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XPN/4"
          },
          {
            "identity": "rim",
            "map": "./part[partType = SFX]"
          }
        ]
      },
      {
        "id": "RelatedPerson.name.period",
        "path": "RelatedPerson.name.period",
        "short": "Time period when name was/is in use",
        "definition": "Indicates the period of time when this name was valid for the named person.",
        "requirements": "Allows names to be placed in historical context.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "HumanName.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XPN.13 + XPN.14"
          },
          {
            "identity": "rim",
            "map": "./usablePeriod[type=\"IVL<TS>\"]"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id": "RelatedPerson.telecom",
        "path": "RelatedPerson.telecom",
        "short": "A contact detail for the person",
        "definition": "A contact detail for the person, e.g. a telephone number or an email address.",
        "comment": "Person may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently, and also to help with identification.",
        "requirements": "People have (primary) ways to contact them in some way such as phone, email.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "RelatedPerson.telecom",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "NK1-5 / NK1-6 / NK1-40"
          },
          {
            "identity": "rim",
            "map": "telecom"
          },
          {
            "identity": "interface",
            "map": "ParticipantContactable.telecom"
          }
        ]
      },
      {
        "id": "RelatedPerson.telecom.id",
        "path": "RelatedPerson.telecom.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.telecom.extension",
        "path": "RelatedPerson.telecom.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.telecom.system",
        "path": "RelatedPerson.telecom.system",
        "short": "phone | fax | email | pager | url | sms | other",
        "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ContactPoint.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "cpt-2"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/contact-point-system-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "XTN.3"
          },
          {
            "identity": "rim",
            "map": "./scheme"
          },
          {
            "identity": "servd",
            "map": "./ContactPointType"
          }
        ]
      },
      {
        "id": "RelatedPerson.telecom.value",
        "path": "RelatedPerson.telecom.value",
        "short": "The actual contact point details",
        "definition": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).",
        "comment": "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.",
        "requirements": "Need to support legacy numbers that are not in a tightly controlled format.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ContactPoint.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "cpt-2"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XTN.1 (or XTN.12)"
          },
          {
            "identity": "rim",
            "map": "./url"
          },
          {
            "identity": "servd",
            "map": "./Value"
          }
        ]
      },
      {
        "id": "RelatedPerson.telecom.use",
        "path": "RelatedPerson.telecom.use",
        "short": "home | work | temp | old | mobile - purpose of this contact point",
        "definition": "Identifies the purpose for the contact point.",
        "comment": "Applications can assume that a contact is current unless it explicitly says that it is temporary or old.",
        "requirements": "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ContactPoint.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one",
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/telecom-use-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "XTN.2 - but often indicated by field"
          },
          {
            "identity": "rim",
            "map": "unique(./use)"
          },
          {
            "identity": "servd",
            "map": "./ContactPointPurpose"
          }
        ]
      },
      {
        "id": "RelatedPerson.telecom.rank",
        "path": "RelatedPerson.telecom.rank",
        "short": "Specify preferred order of use (1 = highest)",
        "definition": "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.",
        "comment": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.\n\nRanks need not be unique.  E.g. it's possible to have multiple contacts with rank=1.  If the ranks have different systems or uses, this would be interpreted to mean \"X is my most preferred phone number, Y is my most preferred email address\" or \"X is my preferred home email and Y is my preferred work email\".  If the system and use for equally-ranked contacts are the same, then the level of preference is equivalent for both repetitions. \n\nRanks need not be sequential and not all repetitions must have a rank.  For example, it's possible to have 4 contacts with ranks of 2, 5 and two with no rank specified.  That would be interpreted to mean the first is preferred over the second and no preference stated for the remaining contacts.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ContactPoint.rank",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "positiveInt"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.telecom.period",
        "path": "RelatedPerson.telecom.period",
        "short": "Time period when the contact point was/is in use",
        "definition": "Time period when the contact point was/is in use.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ContactPoint.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "./usablePeriod[type=\"IVL<TS>\"]"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id": "RelatedPerson.gender",
        "path": "RelatedPerson.gender",
        "short": "male | female | other | unknown",
        "definition": "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.",
        "requirements": "Needed for identification of the person, in combination with (at least) name and birth date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedPerson.gender",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "AdministrativeGender"
            }
          ],
          "strength": "required",
          "description": "The gender of a person used for administrative purposes.",
          "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender|5.0.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "NK1-15"
          },
          {
            "identity": "rim",
            "map": "administrativeGender"
          },
          {
            "identity": "interface",
            "map": "ParticipantLiving.gender"
          }
        ]
      },
      {
        "id": "RelatedPerson.gender.id",
        "path": "RelatedPerson.gender.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "RelatedPerson.gender.extension",
        "path": "RelatedPerson.gender.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "RelatedPerson.gender.extension:gender-other-2",
        "path": "RelatedPerson.gender.extension",
        "sliceName": "gender-other-2",
        "short": "Differentiation of the administrative gender 'other'",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Differentiation of the administrative gender 'other'"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Differentiation of the administrative gender 'other'"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Extension for more precise differentiation of the administrative gender 'other', aligned with German base profiles representation of the same concept.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Extension for more precise differentiation of the administrative gender 'other', aligned with German base profiles representation of the same concept."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Extension for more precise differentiation of the administrative gender 'other', aligned with German base profiles representation of the same concept."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://dhp.uz/fhir/core/StructureDefinition/gender-other|0.4.0"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "RelatedPerson.gender.value",
        "path": "RelatedPerson.gender.value",
        "representation": [
          "xmlAttr"
        ],
        "short": "Primitive value for code",
        "definition": "Primitive value for code",
        "min": 0,
        "max": "1",
        "base": {
          "path": "string.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "code"
              },
              {
                "url": "http://hl7.org/fhir/StructureDefinition/regex",
                "valueString": "[^\\s]+( [^\\s]+)*"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "RelatedPerson.birthDate",
        "path": "RelatedPerson.birthDate",
        "short": "The date on which the related person was born",
        "definition": "The date on which the related person was born.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedPerson.birthDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "player.birthTime"
          },
          {
            "identity": "interface",
            "map": "ParticipantLiving.birthDate"
          }
        ]
      },
      {
        "id": "RelatedPerson.address",
        "path": "RelatedPerson.address",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "country"
            }
          ],
          "description": "Address slicing based on country to support Uzbek and international addresses",
          "rules": "open"
        },
        "short": "Address where the related person can be contacted or visited",
        "definition": "Address where the related person can be contacted or visited.",
        "requirements": "Need to keep track where the related person can be contacted per postal mail or visited.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "RelatedPerson.address",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Address"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "NK1-4"
          },
          {
            "identity": "rim",
            "map": "addr"
          },
          {
            "identity": "interface",
            "map": "ParticipantContactable.address"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:uzAddress",
        "path": "RelatedPerson.address",
        "sliceName": "uzAddress",
        "short": "An Uzbekistan address",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "An Uzbekistan address"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "An Uzbekistan address"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Address where the related person can be contacted or visited.",
        "requirements": "Need to keep track where the related person can be contacted per postal mail or visited.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "RelatedPerson.address",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Address"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "NK1-4"
          },
          {
            "identity": "rim",
            "map": "addr"
          },
          {
            "identity": "interface",
            "map": "ParticipantContactable.address"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:uzAddress.id",
        "path": "RelatedPerson.address.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:uzAddress.extension",
        "path": "RelatedPerson.address.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:uzAddress.use",
        "path": "RelatedPerson.address.use",
        "short": "Type of address, home | temp",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Type of address, home | temp"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Type of address, home | temp"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The purpose of this address.",
        "comment": "Applications can assume that an address is current unless it explicitly says that it is temporary or old.",
        "requirements": "Allows an appropriate address to be chosen from a list of many.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueCode": "home"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one",
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/address-use-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.7"
          },
          {
            "identity": "rim",
            "map": "unique(./use)"
          },
          {
            "identity": "servd",
            "map": "./AddressPurpose"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:uzAddress.type",
        "path": "RelatedPerson.address.type",
        "short": "postal | physical | both",
        "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.",
        "comment": "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R5/location.html#) resource).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueCode": "both"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/address-type-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.18"
          },
          {
            "identity": "rim",
            "map": "unique(./use)"
          },
          {
            "identity": "vcard",
            "map": "address type parameter"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:uzAddress.text",
        "path": "RelatedPerson.address.text",
        "short": "Text part of the address provided by DPM. Mahalla name, street, house number, apartment number",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Text part of the address provided by DPM. Mahalla name, street, house number, apartment number"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Text part of the address provided by DPM. Mahalla name, street, house number, apartment number"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.",
        "comment": "Can provide both a text representation and parts. Applications updating an address SHALL ensure that  when both text and parts are present,  no content is included in the text that isn't found in a part.",
        "requirements": "A renderable, unencoded form.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "137 Nowhere Street, Erewhon 9132"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6"
          },
          {
            "identity": "rim",
            "map": "./formatted"
          },
          {
            "identity": "vcard",
            "map": "address label parameter"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:uzAddress.line",
        "path": "RelatedPerson.address.line",
        "short": "Text street name provided by DPM",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Text street name provided by DPM"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Text street name provided by DPM"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "This component contains the house number, apartment number, street name, street direction,  P.O. Box number, delivery hints, and similar address information.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Address.line",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "orderMeaning": "The order in which lines should appear in an address label",
        "example": [
          {
            "label": "General",
            "valueString": "137 Nowhere Street"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = AL]"
          },
          {
            "identity": "vcard",
            "map": "street"
          },
          {
            "identity": "servd",
            "map": "./StreetAddress (newline delimitted)"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:uzAddress.city",
        "path": "RelatedPerson.address.city",
        "short": "Mahalla code (citizens' assembly)",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Mahalla code (citizens' assembly)"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Mahalla code (citizens' assembly)"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The name of the city, town, suburb, village or other community or delivery center.",
        "alias": [
          "Municpality"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.city",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "Erewhon"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/mahalla-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.3"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = CTY]"
          },
          {
            "identity": "vcard",
            "map": "locality"
          },
          {
            "identity": "servd",
            "map": "./Jurisdiction"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:uzAddress.district",
        "path": "RelatedPerson.address.district",
        "short": "District or city code",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "District or city code"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "District or city code"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The name of the administrative area (county).",
        "comment": "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.",
        "alias": [
          "County"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.district",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "Madison"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/regions-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.9"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = CNT | CPA]"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:uzAddress.state",
        "path": "RelatedPerson.address.state",
        "short": "Region code",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Region code"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Region code"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).",
        "alias": [
          "Province",
          "Territory"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/state-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.4"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = STA]"
          },
          {
            "identity": "vcard",
            "map": "region"
          },
          {
            "identity": "servd",
            "map": "./Region"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:uzAddress.postalCode",
        "path": "RelatedPerson.address.postalCode",
        "short": "Postal code for area",
        "definition": "A postal code designating a region defined by the postal service.",
        "alias": [
          "Zip"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.postalCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "9132"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.5"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = ZIP]"
          },
          {
            "identity": "vcard",
            "map": "code"
          },
          {
            "identity": "servd",
            "map": "./PostalIdentificationCode"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:uzAddress.country",
        "path": "RelatedPerson.address.country",
        "short": "Country code (ISO 3166-1 2 letter code)",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Country code (ISO 3166-1 2 letter code)"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Country code (ISO 3166-1 2 letter code)"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Country - a nation as commonly understood or generally accepted.",
        "comment": "ISO 3166 2- or 3- letter codes MAY be used in place of a human readable country name.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Address.country",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "patternString": "UZ",
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.6"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = CNT]"
          },
          {
            "identity": "vcard",
            "map": "country"
          },
          {
            "identity": "servd",
            "map": "./Country"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:uzAddress.period",
        "path": "RelatedPerson.address.period",
        "short": "Time period when the address was/is used",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Time period when the address was/is used"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Time period when the address was/is used"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Time period when address was/is in use.",
        "requirements": "Allows addresses to be placed in historical context.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "example": [
          {
            "label": "General",
            "valuePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            }
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.12 / XAD.13 + XAD.14"
          },
          {
            "identity": "rim",
            "map": "./usablePeriod[type=\"IVL<TS>\"]"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:i18nAddress",
        "path": "RelatedPerson.address",
        "sliceName": "i18nAddress",
        "short": "An international, non-Uzbekistan address",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "An international, non-Uzbekistan address"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "An international, non-Uzbekistan address"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Address where the related person can be contacted or visited.",
        "requirements": "Need to keep track where the related person can be contacted per postal mail or visited.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "RelatedPerson.address",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Address"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "NK1-4"
          },
          {
            "identity": "rim",
            "map": "addr"
          },
          {
            "identity": "interface",
            "map": "ParticipantContactable.address"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:i18nAddress.id",
        "path": "RelatedPerson.address.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:i18nAddress.extension",
        "path": "RelatedPerson.address.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:i18nAddress.use",
        "path": "RelatedPerson.address.use",
        "short": "Type of address, home | temp",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Type of address, home | temp"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Type of address, home | temp"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The purpose of this address.",
        "comment": "Applications can assume that an address is current unless it explicitly says that it is temporary or old.",
        "requirements": "Allows an appropriate address to be chosen from a list of many.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueCode": "home"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one",
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/address-use-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.7"
          },
          {
            "identity": "rim",
            "map": "unique(./use)"
          },
          {
            "identity": "servd",
            "map": "./AddressPurpose"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:i18nAddress.type",
        "path": "RelatedPerson.address.type",
        "short": "postal | physical | both",
        "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.",
        "comment": "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R5/location.html#) resource).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueCode": "both"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/address-type-vs|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.18"
          },
          {
            "identity": "rim",
            "map": "unique(./use)"
          },
          {
            "identity": "vcard",
            "map": "address type parameter"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:i18nAddress.text",
        "path": "RelatedPerson.address.text",
        "short": "Text part of the address",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Text part of the address"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Text part of the address"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.",
        "comment": "Can provide both a text representation and parts. Applications updating an address SHALL ensure that  when both text and parts are present,  no content is included in the text that isn't found in a part.",
        "requirements": "A renderable, unencoded form.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "137 Nowhere Street, Erewhon 9132"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6"
          },
          {
            "identity": "rim",
            "map": "./formatted"
          },
          {
            "identity": "vcard",
            "map": "address label parameter"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:i18nAddress.line",
        "path": "RelatedPerson.address.line",
        "short": "Street name or address line",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Street name or address line"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Street name or address line"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "This component contains the house number, apartment number, street name, street direction,  P.O. Box number, delivery hints, and similar address information.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Address.line",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "orderMeaning": "The order in which lines should appear in an address label",
        "example": [
          {
            "label": "General",
            "valueString": "137 Nowhere Street"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = AL]"
          },
          {
            "identity": "vcard",
            "map": "street"
          },
          {
            "identity": "servd",
            "map": "./StreetAddress (newline delimitted)"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:i18nAddress.city",
        "path": "RelatedPerson.address.city",
        "short": "City or locality",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "City or locality"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "City or locality"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The name of the city, town, suburb, village or other community or delivery center.",
        "alias": [
          "Municpality"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.city",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "Erewhon"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.3"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = CTY]"
          },
          {
            "identity": "vcard",
            "map": "locality"
          },
          {
            "identity": "servd",
            "map": "./Jurisdiction"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:i18nAddress.district",
        "path": "RelatedPerson.address.district",
        "short": "District, county, or administrative division",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "District, county, or administrative division"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "District, county, or administrative division"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The name of the administrative area (county).",
        "comment": "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.",
        "alias": [
          "County"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.district",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "Madison"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.9"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = CNT | CPA]"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:i18nAddress.state",
        "path": "RelatedPerson.address.state",
        "short": "State, province, or region",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "State, province, or region"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "State, province, or region"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).",
        "alias": [
          "Province",
          "Territory"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.4"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = STA]"
          },
          {
            "identity": "vcard",
            "map": "region"
          },
          {
            "identity": "servd",
            "map": "./Region"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:i18nAddress.postalCode",
        "path": "RelatedPerson.address.postalCode",
        "short": "Postal code for area",
        "definition": "A postal code designating a region defined by the postal service.",
        "alias": [
          "Zip"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.postalCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "9132"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.5"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = ZIP]"
          },
          {
            "identity": "vcard",
            "map": "code"
          },
          {
            "identity": "servd",
            "map": "./PostalIdentificationCode"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:i18nAddress.country",
        "path": "RelatedPerson.address.country",
        "short": "Country code (ISO 3166-1 2 letter code)",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Country code (ISO 3166-1 2 letter code)"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Country code (ISO 3166-1 2 letter code)"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Country - a nation as commonly understood or generally accepted.",
        "comment": "ISO 3166 2- or 3- letter codes MAY be used in place of a human readable country name.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Address.country",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/iso-3166-2-vs-sans-uz|0.4.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.6"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = CNT]"
          },
          {
            "identity": "vcard",
            "map": "country"
          },
          {
            "identity": "servd",
            "map": "./Country"
          }
        ]
      },
      {
        "id": "RelatedPerson.address:i18nAddress.period",
        "path": "RelatedPerson.address.period",
        "short": "Time period when the address was/is used",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Time period when the address was/is used"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Time period when the address was/is used"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Time period when address was/is in use.",
        "requirements": "Allows addresses to be placed in historical context.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "example": [
          {
            "label": "General",
            "valuePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            }
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.12 / XAD.13 + XAD.14"
          },
          {
            "identity": "rim",
            "map": "./usablePeriod[type=\"IVL<TS>\"]"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id": "RelatedPerson.photo",
        "path": "RelatedPerson.photo",
        "short": "Image of the person",
        "definition": "Image of the person.",
        "requirements": "Many EHR systems have the capability to capture an image of persons. Fits with newer social media usage too.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "RelatedPerson.photo",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Attachment"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "v2",
            "map": "OBX-5 - needs a profile"
          },
          {
            "identity": "rim",
            "map": "player[classCode='PSN' and determinerCode='INSTANCE']/desc"
          },
          {
            "identity": "interface",
            "map": "ParticipantLiving.photo"
          }
        ]
      },
      {
        "id": "RelatedPerson.period",
        "path": "RelatedPerson.period",
        "short": "Period of time that this relationship is considered valid",
        "definition": "The period of time during which this relationship is or was active. If there are no dates defined, then the interval is unknown.",
        "comment": "If an individual has a relationship with a patient over multiple, non-adjacent periods, there should be a distinct RelatedPerson instance for each period.  For example, if a person is a roommate for a period of time, moves out, and is later a roommate with the same person again, you would have two RelatedPerson instances.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedPerson.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.done[x]"
          },
          {
            "identity": "rim",
            "map": ".effectiveTime"
          }
        ]
      },
      {
        "id": "RelatedPerson.communication",
        "path": "RelatedPerson.communication",
        "short": "A language which may be used to communicate with the related person about the patient's health",
        "definition": "A language which may be used to communicate with the related person about the patient's health.",
        "comment": "If no language is specified, this *implies* that the default local language is spoken.  If you need to convey proficiency for multiple modes, then you need multiple RelatedPerson.Communication associations.   If the RelatedPerson does not speak the default local language, then the Interpreter Required Standard can be used to explicitly declare that an interpreter is required.",
        "requirements": "If a related person does not speak the local language, interpreters may be required, so languages spoken and proficiency is an important things to keep track of both for patient and other persons of interest.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "RelatedPerson.communication",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "LanguageCommunication"
          },
          {
            "identity": "interface",
            "map": "ParticipantLiving.communication"
          }
        ]
      },
      {
        "id": "RelatedPerson.communication.id",
        "path": "RelatedPerson.communication.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.communication.extension",
        "path": "RelatedPerson.communication.extension",
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "RelatedPerson.communication.modifierExtension",
        "path": "RelatedPerson.communication.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "RelatedPerson.communication.language",
        "path": "RelatedPerson.communication.language",
        "short": "The language which can be used to communicate with the related person about the patient's health",
        "definition": "The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. \"en\" for English, or \"en-US\" for American English versus \"en-AU\" for Australian English.",
        "comment": "The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.",
        "requirements": "Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "RelatedPerson.communication.language",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Language"
            }
          ],
          "strength": "required",
          "description": "IETF language tag for a human language",
          "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|5.0.0",
          "additional": [
            {
              "purpose": "starter",
              "valueSet": "http://hl7.org/fhir/ValueSet/languages|5.0.0"
            }
          ]
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code"
          }
        ]
      },
      {
        "id": "RelatedPerson.communication.preferred",
        "path": "RelatedPerson.communication.preferred",
        "short": "Language preference indicator",
        "definition": "Indicates whether or not the related person prefers this language (over other languages he or she masters up a certain level).",
        "comment": "This language is specifically identified for communicating healthcare information.",
        "requirements": "People that master multiple languages up to certain level may prefer one or more, i.e. feel more confident in communicating in a particular language making other languages sort of a fall back method.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedPerson.communication.preferred",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "preferenceInd"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "RelatedPerson",
        "path": "RelatedPerson",
        "constraint": [
          {
            "key": "uzcore-gender-other-2",
            "severity": "error",
            "human": "gender 'other' implies differentiation of the gender indication 'other' (for use in a profile)",
            "expression": "gender.exists() and gender = 'other' implies gender.extension('https://dhp.uz/fhir/core/StructureDefinition/gender-other').exists()",
            "source": "https://dhp.uz/fhir/core/StructureDefinition/uz-core-relatedperson|0.4.0"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier",
        "path": "RelatedPerson.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "description": "Ways a related person can be identified",
          "ordered": false,
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier.extension",
        "path": "RelatedPerson.identifier.extension",
        "short": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия.",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Это используется, если значение отсутствует: например, пациент не имеет паспорта, и нужно указать причину отсутствия."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        }
      },
      {
        "id": "RelatedPerson.identifier.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier.use",
        "path": "RelatedPerson.identifier.use",
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-use-vs|0.4.0"
        }
      },
      {
        "id": "RelatedPerson.identifier.type",
        "path": "RelatedPerson.identifier.type",
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/identifier-type-vs|0.4.0"
        }
      },
      {
        "id": "RelatedPerson.identifier:nationalId",
        "path": "RelatedPerson.identifier",
        "sliceName": "nationalId",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:nationalId.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:nationalId.use",
        "path": "RelatedPerson.identifier.use",
        "patternCode": "official"
      },
      {
        "id": "RelatedPerson.identifier:nationalId.type",
        "path": "RelatedPerson.identifier.type",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "NI",
              "display": "National unique individual identifier"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:nationalId.system",
        "path": "RelatedPerson.identifier.system",
        "min": 1,
        "patternUri": "https://dhp.uz/fhir/core/sid/pid/uz/ni",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:nationalId.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:passportLocal",
        "path": "RelatedPerson.identifier",
        "sliceName": "passportLocal",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:passportLocal.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:passportLocal.use",
        "path": "RelatedPerson.identifier.use",
        "patternCode": "official"
      },
      {
        "id": "RelatedPerson.identifier:passportLocal.type",
        "path": "RelatedPerson.identifier.type",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "PPN",
              "display": "Passport number"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:passportLocal.system",
        "path": "RelatedPerson.identifier.system",
        "min": 1,
        "patternUri": "https://dhp.uz/fhir/core/sid/pid/uz/ppn/local",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:passportLocal.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:passportInternational",
        "path": "RelatedPerson.identifier",
        "sliceName": "passportInternational",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:passportInternational.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:passportInternational.use",
        "path": "RelatedPerson.identifier.use",
        "patternCode": "official"
      },
      {
        "id": "RelatedPerson.identifier:passportInternational.type",
        "path": "RelatedPerson.identifier.type",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "PPN",
              "display": "Passport number"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:passportInternational.system",
        "path": "RelatedPerson.identifier.system",
        "min": 1,
        "patternUri": "https://dhp.uz/fhir/core/sid/pid/uz/ppn/intl",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:passportInternational.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:birthCertificate",
        "path": "RelatedPerson.identifier",
        "sliceName": "birthCertificate",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:birthCertificate.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:birthCertificate.use",
        "path": "RelatedPerson.identifier.use",
        "patternCode": "official"
      },
      {
        "id": "RelatedPerson.identifier:birthCertificate.type",
        "path": "RelatedPerson.identifier.type",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "BCT",
              "display": "Birth Certificate"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:birthCertificate.system",
        "path": "RelatedPerson.identifier.system",
        "min": 1,
        "patternUri": "https://dhp.uz/fhir/core/sid/pid/uz/bct",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:birthCertificate.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:driversLicense",
        "path": "RelatedPerson.identifier",
        "sliceName": "driversLicense",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:driversLicense.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:driversLicense.use",
        "path": "RelatedPerson.identifier.use",
        "patternCode": "official"
      },
      {
        "id": "RelatedPerson.identifier:driversLicense.type",
        "path": "RelatedPerson.identifier.type",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "DL",
              "display": "Driver's license number"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:driversLicense.system",
        "path": "RelatedPerson.identifier.system",
        "min": 1,
        "patternUri": "https://dhp.uz/fhir/core/sid/pid/uz/dl",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:driversLicense.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:diplomaticPassport",
        "path": "RelatedPerson.identifier",
        "sliceName": "diplomaticPassport",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:diplomaticPassport.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:diplomaticPassport.use",
        "path": "RelatedPerson.identifier.use",
        "patternCode": "official"
      },
      {
        "id": "RelatedPerson.identifier:diplomaticPassport.type",
        "path": "RelatedPerson.identifier.type",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "DP",
              "display": "Diplomatic Passport"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:diplomaticPassport.system",
        "path": "RelatedPerson.identifier.system",
        "min": 1,
        "patternUri": "https://dhp.uz/fhir/core/sid/pid/uz/ppn/dp",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:diplomaticPassport.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:healthCard",
        "path": "RelatedPerson.identifier",
        "sliceName": "healthCard",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:healthCard.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:healthCard.use",
        "path": "RelatedPerson.identifier.use",
        "patternCode": "official"
      },
      {
        "id": "RelatedPerson.identifier:healthCard.type",
        "path": "RelatedPerson.identifier.type",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "HC",
              "display": "Health card number"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:healthCard.system",
        "path": "RelatedPerson.identifier.system",
        "min": 1,
        "patternUri": "https://dhp.uz/fhir/core/sid/pid/uz/hc",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:healthCard.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:militaryId",
        "path": "RelatedPerson.identifier",
        "sliceName": "militaryId",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:militaryId.extension:data-absent-reason",
        "path": "RelatedPerson.identifier.extension",
        "sliceName": "data-absent-reason",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:militaryId.use",
        "path": "RelatedPerson.identifier.use",
        "patternCode": "official"
      },
      {
        "id": "RelatedPerson.identifier:militaryId.type",
        "path": "RelatedPerson.identifier.type",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "MI",
              "display": "Military ID number"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:militaryId.system",
        "path": "RelatedPerson.identifier.system",
        "min": 1,
        "patternUri": "https://dhp.uz/fhir/core/sid/pid/uz/mi",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:militaryId.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.active",
        "path": "RelatedPerson.active",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.patient",
        "path": "RelatedPerson.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://dhp.uz/fhir/core/StructureDefinition/uz-core-patient|0.4.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.relationship",
        "path": "RelatedPerson.relationship",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/relationship-type-vs|0.4.0"
        }
      },
      {
        "id": "RelatedPerson.name",
        "path": "RelatedPerson.name",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.name.use",
        "path": "RelatedPerson.name.use",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.name.text",
        "path": "RelatedPerson.name.text",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.name.family",
        "path": "RelatedPerson.name.family",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.name.given",
        "path": "RelatedPerson.name.given",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.name.suffix",
        "path": "RelatedPerson.name.suffix",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.name.period",
        "path": "RelatedPerson.name.period",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.telecom",
        "path": "RelatedPerson.telecom",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.telecom.system",
        "path": "RelatedPerson.telecom.system",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/contact-point-system-vs|0.4.0"
        }
      },
      {
        "id": "RelatedPerson.telecom.use",
        "path": "RelatedPerson.telecom.use",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/telecom-use-vs|0.4.0"
        }
      },
      {
        "id": "RelatedPerson.gender",
        "path": "RelatedPerson.gender",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.gender.extension",
        "path": "RelatedPerson.gender.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "RelatedPerson.gender.extension:gender-other-2",
        "path": "RelatedPerson.gender.extension",
        "sliceName": "gender-other-2",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://dhp.uz/fhir/core/StructureDefinition/gender-other|0.4.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.birthDate",
        "path": "RelatedPerson.birthDate",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address",
        "path": "RelatedPerson.address",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "country"
            }
          ],
          "description": "Address slicing based on country to support Uzbek and international addresses",
          "rules": "open"
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address:uzAddress",
        "path": "RelatedPerson.address",
        "sliceName": "uzAddress",
        "short": "An Uzbekistan address",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "An Uzbekistan address"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "An Uzbekistan address"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "*",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address:uzAddress.use",
        "path": "RelatedPerson.address.use",
        "short": "Type of address, home | temp",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Type of address, home | temp"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Type of address, home | temp"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/address-use-vs|0.4.0"
        }
      },
      {
        "id": "RelatedPerson.address:uzAddress.type",
        "path": "RelatedPerson.address.type",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/address-type-vs|0.4.0"
        }
      },
      {
        "id": "RelatedPerson.address:uzAddress.text",
        "path": "RelatedPerson.address.text",
        "short": "Text part of the address provided by DPM. Mahalla name, street, house number, apartment number",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Text part of the address provided by DPM. Mahalla name, street, house number, apartment number"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Text part of the address provided by DPM. Mahalla name, street, house number, apartment number"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address:uzAddress.line",
        "path": "RelatedPerson.address.line",
        "short": "Text street name provided by DPM",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Text street name provided by DPM"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Text street name provided by DPM"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address:uzAddress.city",
        "path": "RelatedPerson.address.city",
        "short": "Mahalla code (citizens' assembly)",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Mahalla code (citizens' assembly)"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Mahalla code (citizens' assembly)"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/mahalla-vs|0.4.0"
        }
      },
      {
        "id": "RelatedPerson.address:uzAddress.district",
        "path": "RelatedPerson.address.district",
        "short": "District or city code",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "District or city code"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "District or city code"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/regions-vs|0.4.0"
        }
      },
      {
        "id": "RelatedPerson.address:uzAddress.state",
        "path": "RelatedPerson.address.state",
        "short": "Region code",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Region code"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Region code"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/state-vs|0.4.0"
        }
      },
      {
        "id": "RelatedPerson.address:uzAddress.country",
        "path": "RelatedPerson.address.country",
        "short": "Country code (ISO 3166-1 2 letter code)",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Country code (ISO 3166-1 2 letter code)"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Country code (ISO 3166-1 2 letter code)"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 1,
        "patternString": "UZ",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address:uzAddress.period",
        "path": "RelatedPerson.address.period",
        "short": "Time period when the address was/is used",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Time period when the address was/is used"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Time period when the address was/is used"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address:i18nAddress",
        "path": "RelatedPerson.address",
        "sliceName": "i18nAddress",
        "short": "An international, non-Uzbekistan address",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "An international, non-Uzbekistan address"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "An international, non-Uzbekistan address"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "*",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address:i18nAddress.use",
        "path": "RelatedPerson.address.use",
        "short": "Type of address, home | temp",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Type of address, home | temp"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Type of address, home | temp"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/address-use-vs|0.4.0"
        }
      },
      {
        "id": "RelatedPerson.address:i18nAddress.type",
        "path": "RelatedPerson.address.type",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/address-type-vs|0.4.0"
        }
      },
      {
        "id": "RelatedPerson.address:i18nAddress.text",
        "path": "RelatedPerson.address.text",
        "short": "Text part of the address",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Text part of the address"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Text part of the address"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address:i18nAddress.line",
        "path": "RelatedPerson.address.line",
        "short": "Street name or address line",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Street name or address line"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Street name or address line"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address:i18nAddress.city",
        "path": "RelatedPerson.address.city",
        "short": "City or locality",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "City or locality"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "City or locality"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address:i18nAddress.district",
        "path": "RelatedPerson.address.district",
        "short": "District, county, or administrative division",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "District, county, or administrative division"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "District, county, or administrative division"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address:i18nAddress.state",
        "path": "RelatedPerson.address.state",
        "short": "State, province, or region",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "State, province, or region"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "State, province, or region"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address:i18nAddress.country",
        "path": "RelatedPerson.address.country",
        "short": "Country code (ISO 3166-1 2 letter code)",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Country code (ISO 3166-1 2 letter code)"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Country code (ISO 3166-1 2 letter code)"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://terminology.dhp.uz/fhir/core/ValueSet/iso-3166-2-vs-sans-uz|0.4.0"
        }
      },
      {
        "id": "RelatedPerson.address:i18nAddress.period",
        "path": "RelatedPerson.address.period",
        "short": "Time period when the address was/is used",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "ru"
                },
                {
                  "url": "content",
                  "valueString": "Time period when the address was/is used"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            },
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "uz"
                },
                {
                  "url": "content",
                  "valueString": "Time period when the address was/is used"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.period",
        "path": "RelatedPerson.period",
        "mustSupport": true
      }
    ]
  }
}