VRIS - Viljatusravi infosüsteem
0.1.0 - draft

VRIS - Viljatusravi infosüsteem, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/ig-ee-vris/ and changes regularly. See the Directory of published versions

## Resource Profile: Patient: EE VRIS Donor

Official URL: https://fhir.ee/vris/StructureDefinition/ee-vris-donor | Version: 0.1.0
Draft as of 2026-07-16 | Computable Name: EEVRISDonor

For use of donors. (ee Doonori profiil, kasutamiseks. Anonüümsete ja anonüümsete-välismaiste doonorite puhul on TEINE PROFIIL!)

Usages:

- Refer to this Profile: CarePlan: EEVRIS Cycle, Condition: EE VRIS Cause of Death, Condition: EE VRIS Comorbidity, Condition: EE VRIS Donor Genetic Finding... Show 31 more, Condition: EE VRIS Female Fertility Treatment Indication, Condition: EE VRIS Male Fertility Treatment Indication, Condition: EE VRIS Fertility Treatment Complication, Related person reference, BiologicallyDerivedProduct: EE VRIS Embryo, Encounter: EE VRIS Encounter, EpisodeOfCare: EE VRIS Episode of Care, Observation: EE VRIS Biochemical Pregnancy, Observation: EE VRIS Blood Group, Observation: EE VRIS Clinical Pregnancy, Observation: EE VRIS Education Level, Observation: EE VRIS Embryo Lifecycle Counts, Observation: EE VRIS Fertilization Counts, Observation: EE VRIS Height, Observation: EE VRIS Marital Status, Observation: EE VRIS Physical Appearance, Observation: EE VRIS Stimulation Protocol for Embryo Transfer, Observation: EE VRIS Ovarian Stimulation Protocol, Observation: EE VRIS Tobacco Use, Observation: EE VRIS Waist, Observation: EE VRIS Weight, BiologicallyDerivedProduct: EE VRIS Oocyte, Procedure: EE VRIS Cryopreservation, Procedure: EE VRIS Destruction, Procedure: EE VRIS Donation, Procedure: EE VRIS Fertilization, Procedure: EE VRIS Oocyte Retrieval, Procedure: EE VRIS Preimplantation Genetic Testing, RelatedPerson: EE VRIS RelatedPerson, BiologicallyDerivedProduct: EE VRIS Reproductive Tissue and BiologicallyDerivedProduct: EE VRIS Sperm
- Examples for this Profile: Patient/patientDonorMale

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient |  | 0..* | EEMPIPatientVerified | Information about an individual or animal receiving health care services
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:role |  | 0..1 | CodeableConcept | Role of donor/recipient. (ee Doonori/retsipiendi roll LOENDIST.) URL: https://fhir.ee/vris/StructureDefinition/ee-vris-role
extension:birthPlace |  | 0..1 | Address | Place of Birth for patient URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
extension:nationality |  | 0..1 | (Complex) | Nationality URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 1..* | Identifier | Identifier for donor (ee DOONORIKOOD. Kasuta erinevaid system-urisi, et eristada. IRCC uri vajaks lisamist patisendi identifikaatorite domeeni!)
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | (ee Kas kasutada doonorite puhul DR Donor registration numberit eristamaks teistest? seda saaks kasutada parameetrina (?) otsingutes, kui on vaja otsida doonoreid?) Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 0..1 | uri | Identity of the terminology system
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: DR
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
system | S Σ | 1..1 | uri | The namespace for the identifier value Binding: Patsiendi identifikaatorite domeen (required) Example General: http://www.acme.com/identifiers/patient
value | S Σ C | 1..1 | string | Patient identification code or document number. Example General: 123456
period | S Σ | 0..1 | Period | Identifikaatori kehtivuse periood. Kui puudub, siis on identifikaator kehtiv.
active | ?!Σ | 0..1 | boolean | Patsiendi kirje olek, määrab kas kirje on kehtiv või eksklikult sisestatud. Eesti isikukoodiga patsiendi puhul väärtuse muutus ei ole lubatud. Vaikimisi on true (aktiivne).
Slices for name | S Σ | 1..* | HumanName | Name.(ee Doonori nimi) Slice: Unordered, Open by value:use
name:official | S Σ | 1..1 | HumanName | Ametlik nimi
use | ?!S Σ | 1..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. Fixed Value: official
text | S Σ | 0..1 | string | Text representation of the full name
family | S Σ | 1..1 | string | Perekonnanimi
given | S Σ | 1..1 | string | Eesnimi This repeating element order: Given Names appear in the correct order for presenting the name
prefix | S Σ | 0..1 | string | Parts that come before the name This repeating element order: Prefixes appear in the correct order for presenting the name
period | S Σ | 0..1 | Period | Time period when name was/is in use
name:nickname | S Σ | 0..1 | HumanName | Tundmatu või anonüümse patsiendi nimi
use | ?!S Σ | 1..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. Fixed Value: nickname
text | S Σ | 1..1 | string | Tundmatu patsiendi hüüdnimi
Slices for telecom | S Σ | 0..* | ContactPoint | Patsiendi kontaktandmed. Slice: Unordered, Closed by value:system
telecom:All Slices |  |  |  | Content/Rules for all slices
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point.
value | S Σ C | 1..1 | string | The actual contact point details
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point.
period | S Σ | 0..1 | Period | Time period when the contact point was/is in use
telecom:phone | S Σ | 0..* | ContactPoint | Telefoni number
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. Required Pattern: phone
value | S Σ C | 1..1 | string | The actual contact point details Constraints: phone-regex
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point.
rank | S Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest)
period | S Σ | 0..1 | Period | Time period when the contact point was/is in use
telecom:email | S Σ | 0..* | ContactPoint | E-Mail
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. Required Pattern: email
value | S Σ C | 1..1 | string | The actual contact point details Constraints: email-regex
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point.
rank | S Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest)
period | S Σ | 0..1 | Period | Time period when the contact point was/is in use
gender | S Σ | 0..1 | code | (ee Sugu. Võib erineda sünnisoost!) Binding: Administratiivne sugu (required)
birthDate | S Σ | 0..1 | date | The date of birth for the individual
Slices for extension |  |  |  | Content/Rules for all slices
extension:birthTime | S | 0..1 | (Complex) | Sünniaeg URL: http://hl7.org/fhir/StructureDefinition/patient-birthTime
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/patient-birthTime"
value[x] | S | 1..1 | dateTime | Value of extension
extension:age |  | 0..1 | (Complex) | (ee Vanus on kohustuslik) URL: https://fhir.ee/base/StructureDefinition/ee-patient-age
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://fhir.ee/base/StructureDefinition/ee-patient-age"
value[x] |  | 1..1 | Age | Value of extension
value | Σ | 1..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > | ad - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | Σ | 1..1 | string | Unit representation
code | Σ C | 1..1 | code | Coded form of the unit
extension:accuracyIndicator |  | 0..1 | Coding | Kuupäeva täpsuse indikaator URL: https://fhir.ee/base/StructureDefinition/ee-date-accuracy-indicator Binding: Date Accuracy Indicator (required): Date accuracy coding
deceased[x] | ?!S Σ | 0..1 |  | (ee Surnud (boolean) ja surmaaeg. Surma põhjus on eraldi observation? Kas seda on vaja?)
deceased[x]All Types |  |  |  | Content/Rules for all Types
Slices for extension |  |  |  | Content/Rules for all slices
extension:accuracyIndicator |  | 0..1 | Coding | Date accuracy indicator URL: https://fhir.ee/base/StructureDefinition/ee-date-accuracy-indicator Binding: Date Accuracy Indicator (required): Date accuracy coding
deceasedBoolean |  |  | boolean |
deceasedDateTime |  |  | dateTime |
address | S Σ | 0..* | EEBaseAddress(2.0.0) | An address for the individual
communication | S | 0..* | BackboneElement | Suhtluskeeled
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
language |  | 1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: Keeled (required)
Additional Bindings | Purpose
CommonLanguages | Starter
Keeled | Preferred
link | ?!S Σ | 0..* | BackboneElement | (ee NB! Seosed MPI kirje ja suhete vahel teha PIGEM identifikaatorite pärimise kaudu. NB! Uurikuidas MPI link töötab, kirjas on et EI salvestata, kas see mõjutab VRIS?)
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
other | Σ | 1..1 | Reference(EEBase Patient(2.0.0) | EEBase RelatedPerson(2.0.0)) | The other patient or related person resource that the link refers to
type | Σ | 1..1 | code | replaced-by | replaces | refer | seealso Binding: LinkType (required): The type of link between this patient resource and another Patient resource, or Patient/RelatedPerson when using the seealso code
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Patient.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | FHIR Std.
Patient.identifier.type | Base | extensible | Identifier Type Codes | 📍5.0.0 | FHIR Std.
Patient.identifier.system | Base | required | Patsiendi identifikaatorite domeen | ⏿3.0.0 | term.tehik.ee
Patient.name:official.​use | Base | required | NameUse | 📍5.0.0 | FHIR Std.
Patient.name:nickname.​use | Base | required | NameUse | 📍5.0.0 | FHIR Std.
Patient.telecom.system | Base | required | ContactPointSystem | 📍5.0.0 | FHIR Std.
Patient.telecom.use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std.
Patient.telecom:phone.​system | Base | required | ContactPointSystem | 📍5.0.0 | FHIR Std.
Patient.telecom:phone.​use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std.
Patient.telecom:email.​system | Base | required | ContactPointSystem | 📍5.0.0 | FHIR Std.
Patient.telecom:email.​use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std.
Patient.gender | Base | required | Administratiivne sugu | ⏿2.0.0 | term.tehik.ee
Patient.birthDate.extension:age.​value[x].comparator | Base | required | QuantityComparator | 📍5.0.0 | FHIR Std.
Patient.communication.​language | Base | required | Keeled | ⏿1.0.0 | term.tehik.ee
Patient.link.type | Base | required | Link Type | 📍5.0.0 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Patient | 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 | `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()`
dom-4 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Patient | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
email-regex | error | Patient.telecom:email.value | E-posti aadress peab olema korrektses vormingus | `value.matches('^(?=.{1,64}@)[A-Za-z0-9_+-]+(\\.[A-Za-z0-9_+-]+)*@[^-][A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*(\\.[A-Za-z]{2,})$')`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
phone-regex | error | Patient.telecom:phone.value | Telefoninumber peab olema korrektses Eesti vormingus (lauatelefon, mobiil või rahvusvaheline number) | `value.matches('(^\\+(?!372)[1-9]\\d{1,14}$)|(^(\\+372|00372)?5(\\d{6,7})$)|(^(\\+372|00372)?(32|33|35|38|39|6[0-9]|7[1-9]|88)(\\d{5})$)')`

This structure is derived from EEMPIPatientVerified

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient |  | 0..* | EEMPIPatientVerified | Information about an individual or animal receiving health care services
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:role |  | 0..1 | CodeableConcept | Role of donor/recipient. (ee Doonori/retsipiendi roll LOENDIST.) URL: https://fhir.ee/vris/StructureDefinition/ee-vris-role
extension:birthPlace |  | 0..1 | Address | Place of Birth for patient URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
extension:nationality |  | 0..1 | (Complex) | Nationality URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
identifier |  | 1..* | Identifier | Identifier for donor (ee DOONORIKOOD. Kasuta erinevaid system-urisi, et eristada. IRCC uri vajaks lisamist patisendi identifikaatorite domeeni!)
type |  | 0..1 | CodeableConcept | (ee Kas kasutada doonorite puhul DR Donor registration numberit eristamaks teistest? seda saaks kasutada parameetrina (?) otsingutes, kui on vaja otsida doonoreid?) Required Pattern: At least the following
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: DR
name |  | 1..* | HumanName | Name.(ee Doonori nimi)
gender |  | 0..1 | code | (ee Sugu. Võib erineda sünnisoost!)
birthDate |  |  |  |
Slices for extension |  |  |  | Content/Rules for all slices
extension:age |  | 0..1 | ExtensionEEBasePatientAge(2.0.0) | (ee Vanus on kohustuslik)
value[x] |  | 1..1 | Age | Value of extension
deceased[x] |  | 0..1 | boolean, dateTime | (ee Surnud (boolean) ja surmaaeg. Surma põhjus on eraldi observation? Kas seda on vaja?)
maritalStatus |  | 0..0 | CodeableConcept | (ee Perekonnaseis. SEE TULEB ERALDI observationi kaudu, mitte siit!)
link |  | 0..* | BackboneElement | (ee NB! Seosed MPI kirje ja suhete vahel teha PIGEM identifikaatorite pärimise kaudu. NB! Uurikuidas MPI link töötab, kirjas on et EI salvestata, kas see mõjutab VRIS?)
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient |  | 0..* | EEMPIPatientVerified | Information about an individual or animal receiving health care services
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:role |  | 0..1 | CodeableConcept | Role of donor/recipient. (ee Doonori/retsipiendi roll LOENDIST.) URL: https://fhir.ee/vris/StructureDefinition/ee-vris-role
extension:birthPlace |  | 0..1 | Address | Place of Birth for patient URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
extension:nationality |  | 0..1 | (Complex) | Nationality URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 1..* | Identifier | Identifier for donor (ee DOONORIKOOD. Kasuta erinevaid system-urisi, et eristada. IRCC uri vajaks lisamist patisendi identifikaatorite domeeni!)
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | (ee Kas kasutada doonorite puhul DR Donor registration numberit eristamaks teistest? seda saaks kasutada parameetrina (?) otsingutes, kui on vaja otsida doonoreid?) Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 0..1 | uri | Identity of the terminology system
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: DR
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
system | S Σ | 1..1 | uri | The namespace for the identifier value Binding: Patsiendi identifikaatorite domeen (required) Example General: http://www.acme.com/identifiers/patient
value | S Σ C | 1..1 | string | Patient identification code or document number. Example General: 123456
period | S Σ | 0..1 | Period | Identifikaatori kehtivuse periood. Kui puudub, siis on identifikaator kehtiv.
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued the document. Can be used as a reference to an organization or as free text.
active | ?!Σ | 0..1 | boolean | Patsiendi kirje olek, määrab kas kirje on kehtiv või eksklikult sisestatud. Eesti isikukoodiga patsiendi puhul väärtuse muutus ei ole lubatud. Vaikimisi on true (aktiivne).
Slices for name | S Σ | 1..* | HumanName | Name.(ee Doonori nimi) Slice: Unordered, Open by value:use
name:official | S Σ | 1..1 | HumanName | Ametlik nimi
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!S Σ | 1..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. Fixed Value: official
text | S Σ | 0..1 | string | Text representation of the full name
family | S Σ | 1..1 | string | Perekonnanimi
given | S Σ | 1..1 | string | Eesnimi This repeating element order: Given Names appear in the correct order for presenting the name
prefix | S Σ | 0..1 | string | Parts that come before the name This repeating element order: Prefixes appear in the correct order for presenting the name
suffix | Σ | 0..* | string | Parts that come after the name This repeating element order: Suffixes appear in the correct order for presenting the name
period | S Σ | 0..1 | Period | Time period when name was/is in use
name:nickname | S Σ | 0..1 | HumanName | Tundmatu või anonüümse patsiendi nimi
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!S Σ | 1..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. Fixed Value: nickname
text | S Σ | 1..1 | string | Tundmatu patsiendi hüüdnimi
period | Σ | 0..1 | Period | Time period when name was/is in use
Slices for telecom | S Σ | 0..* | ContactPoint | Patsiendi kontaktandmed. Slice: Unordered, Closed by value:system
telecom:All Slices |  |  |  | Content/Rules for all slices
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point.
value | S Σ C | 1..1 | string | The actual contact point details
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point.
rank | Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest)
period | S Σ | 0..1 | Period | Time period when the contact point was/is in use
telecom:phone | S Σ | 0..* | ContactPoint | Telefoni number
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. Required Pattern: phone
value | S Σ C | 1..1 | string | The actual contact point details Constraints: phone-regex
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point.
rank | S Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest)
period | S Σ | 0..1 | Period | Time period when the contact point was/is in use
telecom:email | S Σ | 0..* | ContactPoint | E-Mail
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. Required Pattern: email
value | S Σ C | 1..1 | string | The actual contact point details Constraints: email-regex
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point.
rank | S Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest)
period | S Σ | 0..1 | Period | Time period when the contact point was/is in use
gender | S Σ | 0..1 | code | (ee Sugu. Võib erineda sünnisoost!) Binding: Administratiivne sugu (required)
birthDate | S Σ | 0..1 | date | The date of birth for the individual
id |  | 0..1 | string | xml:id (or equivalent in JSON)
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:birthTime | S | 0..1 | (Complex) | Sünniaeg URL: http://hl7.org/fhir/StructureDefinition/patient-birthTime
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/patient-birthTime"
value[x] | S | 1..1 | dateTime | Value of extension
extension:age |  | 0..1 | (Complex) | (ee Vanus on kohustuslik) URL: https://fhir.ee/base/StructureDefinition/ee-patient-age
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://fhir.ee/base/StructureDefinition/ee-patient-age"
value[x] |  | 1..1 | Age | Value of extension
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
value | Σ | 1..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > | ad - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | Σ | 1..1 | string | Unit representation
system | Σ C | 0..1 | uri | System that defines coded unit form
code | Σ C | 1..1 | code | Coded form of the unit
extension:accuracyIndicator |  | 0..1 | Coding | Kuupäeva täpsuse indikaator URL: https://fhir.ee/base/StructureDefinition/ee-date-accuracy-indicator Binding: Date Accuracy Indicator (required): Date accuracy coding
value |  | 0..1 | date | Primitive value for date
deceased[x] | ?!S Σ | 0..1 |  | (ee Surnud (boolean) ja surmaaeg. Surma põhjus on eraldi observation? Kas seda on vaja?)
deceased[x]All Types |  |  |  | Content/Rules for all Types
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:accuracyIndicator |  | 0..1 | Coding | Date accuracy indicator URL: https://fhir.ee/base/StructureDefinition/ee-date-accuracy-indicator Binding: Date Accuracy Indicator (required): Date accuracy coding
deceasedBoolean |  |  | boolean |
deceasedDateTime |  |  | dateTime |
address | S Σ | 0..* | EEBaseAddress(2.0.0) | An address for the individual
multipleBirth[x] |  | 0..1 |  | Whether patient is part of a multiple birth
multipleBirthBoolean |  |  | boolean |
multipleBirthInteger |  |  | integer |
communication | S | 0..* | BackboneElement | Suhtluskeeled
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
language |  | 1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: Keeled (required)
Additional Bindings | Purpose
CommonLanguages | Starter
Keeled | Preferred
preferred |  | 0..1 | boolean | Language preference indicator
link | ?!S Σ | 0..* | BackboneElement | (ee NB! Seosed MPI kirje ja suhete vahel teha PIGEM identifikaatorite pärimise kaudu. NB! Uurikuidas MPI link töötab, kirjas on et EI salvestata, kas see mõjutab VRIS?)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
other | Σ | 1..1 | Reference(EEBase Patient(2.0.0) | EEBase RelatedPerson(2.0.0)) | The other patient or related person resource that the link refers to
type | Σ | 1..1 | code | replaced-by | replaces | refer | seealso Binding: LinkType (required): The type of link between this patient resource and another Patient resource, or Patient/RelatedPerson when using the seealso code
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Patient.language | Base | required | All Languages | 📍5.0.0 | FHIR Std.
Patient.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | FHIR Std.
Patient.identifier.type | Base | extensible | Identifier Type Codes | 📍5.0.0 | FHIR Std.
Patient.identifier.system | Base | required | Patsiendi identifikaatorite domeen | ⏿3.0.0 | term.tehik.ee
Patient.name:official.​use | Base | required | NameUse | 📍5.0.0 | FHIR Std.
Patient.name:nickname.​use | Base | required | NameUse | 📍5.0.0 | FHIR Std.
Patient.telecom.system | Base | required | ContactPointSystem | 📍5.0.0 | FHIR Std.
Patient.telecom.use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std.
Patient.telecom:phone.​system | Base | required | ContactPointSystem | 📍5.0.0 | FHIR Std.
Patient.telecom:phone.​use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std.
Patient.telecom:email.​system | Base | required | ContactPointSystem | 📍5.0.0 | FHIR Std.
Patient.telecom:email.​use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std.
Patient.gender | Base | required | Administratiivne sugu | ⏿2.0.0 | term.tehik.ee
Patient.birthDate.extension:age.​value[x].comparator | Base | required | QuantityComparator | 📍5.0.0 | FHIR Std.
Patient.contact.relationship | Base | extensible | Patient Contact Relationship | 📍5.0.0 | FHIR Std.
Patient.contact.gender | Base | required | AdministrativeGender | 📍5.0.0 | FHIR Std.
Patient.communication.​language | Base | required | Keeled | ⏿1.0.0 | term.tehik.ee
Patient.link.type | Base | required | Link Type | 📍5.0.0 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Patient | 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 | `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()`
dom-4 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Patient | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
email-regex | error | Patient.telecom:email.value | E-posti aadress peab olema korrektses vormingus | `value.matches('^(?=.{1,64}@)[A-Za-z0-9_+-]+(\\.[A-Za-z0-9_+-]+)*@[^-][A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*(\\.[A-Za-z]{2,})$')`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
phone-regex | error | Patient.telecom:phone.value | Telefoninumber peab olema korrektses Eesti vormingus (lauatelefon, mobiil või rahvusvaheline number) | `value.matches('(^\\+(?!372)[1-9]\\d{1,14}$)|(^(\\+372|00372)?5(\\d{6,7})$)|(^(\\+372|00372)?(32|33|35|38|39|6[0-9]|7[1-9]|88)(\\d{5})$)')`

This structure is derived from EEMPIPatientVerified

Summary

Mandatory: 0 element(1 nested mandatory element)

Extensions

This structure refers to these extensions:

- https://fhir.ee/vris/StructureDefinition/ee-vris-role
- http://hl7.org/fhir/StructureDefinition/patient-birthPlace
- http://hl7.org/fhir/StructureDefinition/patient-nationality

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient |  | 0..* | EEMPIPatientVerified | Information about an individual or animal receiving health care services
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:role |  | 0..1 | CodeableConcept | Role of donor/recipient. (ee Doonori/retsipiendi roll LOENDIST.) URL: https://fhir.ee/vris/StructureDefinition/ee-vris-role
extension:birthPlace |  | 0..1 | Address | Place of Birth for patient URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
extension:nationality |  | 0..1 | (Complex) | Nationality URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 1..* | Identifier | Identifier for donor (ee DOONORIKOOD. Kasuta erinevaid system-urisi, et eristada. IRCC uri vajaks lisamist patisendi identifikaatorite domeeni!)
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | (ee Kas kasutada doonorite puhul DR Donor registration numberit eristamaks teistest? seda saaks kasutada parameetrina (?) otsingutes, kui on vaja otsida doonoreid?) Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 0..1 | uri | Identity of the terminology system
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: DR
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
system | S Σ | 1..1 | uri | The namespace for the identifier value Binding: Patsiendi identifikaatorite domeen (required) Example General: http://www.acme.com/identifiers/patient
value | S Σ C | 1..1 | string | Patient identification code or document number. Example General: 123456
period | S Σ | 0..1 | Period | Identifikaatori kehtivuse periood. Kui puudub, siis on identifikaator kehtiv.
active | ?!Σ | 0..1 | boolean | Patsiendi kirje olek, määrab kas kirje on kehtiv või eksklikult sisestatud. Eesti isikukoodiga patsiendi puhul väärtuse muutus ei ole lubatud. Vaikimisi on true (aktiivne).
Slices for name | S Σ | 1..* | HumanName | Name.(ee Doonori nimi) Slice: Unordered, Open by value:use
name:official | S Σ | 1..1 | HumanName | Ametlik nimi
use | ?!S Σ | 1..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. Fixed Value: official
text | S Σ | 0..1 | string | Text representation of the full name
family | S Σ | 1..1 | string | Perekonnanimi
given | S Σ | 1..1 | string | Eesnimi This repeating element order: Given Names appear in the correct order for presenting the name
prefix | S Σ | 0..1 | string | Parts that come before the name This repeating element order: Prefixes appear in the correct order for presenting the name
period | S Σ | 0..1 | Period | Time period when name was/is in use
name:nickname | S Σ | 0..1 | HumanName | Tundmatu või anonüümse patsiendi nimi
use | ?!S Σ | 1..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. Fixed Value: nickname
text | S Σ | 1..1 | string | Tundmatu patsiendi hüüdnimi
Slices for telecom | S Σ | 0..* | ContactPoint | Patsiendi kontaktandmed. Slice: Unordered, Closed by value:system
telecom:All Slices |  |  |  | Content/Rules for all slices
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point.
value | S Σ C | 1..1 | string | The actual contact point details
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point.
period | S Σ | 0..1 | Period | Time period when the contact point was/is in use
telecom:phone | S Σ | 0..* | ContactPoint | Telefoni number
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. Required Pattern: phone
value | S Σ C | 1..1 | string | The actual contact point details Constraints: phone-regex
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point.
rank | S Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest)
period | S Σ | 0..1 | Period | Time period when the contact point was/is in use
telecom:email | S Σ | 0..* | ContactPoint | E-Mail
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. Required Pattern: email
value | S Σ C | 1..1 | string | The actual contact point details Constraints: email-regex
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point.
rank | S Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest)
period | S Σ | 0..1 | Period | Time period when the contact point was/is in use
gender | S Σ | 0..1 | code | (ee Sugu. Võib erineda sünnisoost!) Binding: Administratiivne sugu (required)
birthDate | S Σ | 0..1 | date | The date of birth for the individual
Slices for extension |  |  |  | Content/Rules for all slices
extension:birthTime | S | 0..1 | (Complex) | Sünniaeg URL: http://hl7.org/fhir/StructureDefinition/patient-birthTime
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/patient-birthTime"
value[x] | S | 1..1 | dateTime | Value of extension
extension:age |  | 0..1 | (Complex) | (ee Vanus on kohustuslik) URL: https://fhir.ee/base/StructureDefinition/ee-patient-age
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://fhir.ee/base/StructureDefinition/ee-patient-age"
value[x] |  | 1..1 | Age | Value of extension
value | Σ | 1..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > | ad - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | Σ | 1..1 | string | Unit representation
code | Σ C | 1..1 | code | Coded form of the unit
extension:accuracyIndicator |  | 0..1 | Coding | Kuupäeva täpsuse indikaator URL: https://fhir.ee/base/StructureDefinition/ee-date-accuracy-indicator Binding: Date Accuracy Indicator (required): Date accuracy coding
deceased[x] | ?!S Σ | 0..1 |  | (ee Surnud (boolean) ja surmaaeg. Surma põhjus on eraldi observation? Kas seda on vaja?)
deceased[x]All Types |  |  |  | Content/Rules for all Types
Slices for extension |  |  |  | Content/Rules for all slices
extension:accuracyIndicator |  | 0..1 | Coding | Date accuracy indicator URL: https://fhir.ee/base/StructureDefinition/ee-date-accuracy-indicator Binding: Date Accuracy Indicator (required): Date accuracy coding
deceasedBoolean |  |  | boolean |
deceasedDateTime |  |  | dateTime |
address | S Σ | 0..* | EEBaseAddress(2.0.0) | An address for the individual
communication | S | 0..* | BackboneElement | Suhtluskeeled
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
language |  | 1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: Keeled (required)
Additional Bindings | Purpose
CommonLanguages | Starter
Keeled | Preferred
link | ?!S Σ | 0..* | BackboneElement | (ee NB! Seosed MPI kirje ja suhete vahel teha PIGEM identifikaatorite pärimise kaudu. NB! Uurikuidas MPI link töötab, kirjas on et EI salvestata, kas see mõjutab VRIS?)
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
other | Σ | 1..1 | Reference(EEBase Patient(2.0.0) | EEBase RelatedPerson(2.0.0)) | The other patient or related person resource that the link refers to
type | Σ | 1..1 | code | replaced-by | replaces | refer | seealso Binding: LinkType (required): The type of link between this patient resource and another Patient resource, or Patient/RelatedPerson when using the seealso code
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Patient.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | FHIR Std.
Patient.identifier.type | Base | extensible | Identifier Type Codes | 📍5.0.0 | FHIR Std.
Patient.identifier.system | Base | required | Patsiendi identifikaatorite domeen | ⏿3.0.0 | term.tehik.ee
Patient.name:official.​use | Base | required | NameUse | 📍5.0.0 | FHIR Std.
Patient.name:nickname.​use | Base | required | NameUse | 📍5.0.0 | FHIR Std.
Patient.telecom.system | Base | required | ContactPointSystem | 📍5.0.0 | FHIR Std.
Patient.telecom.use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std.
Patient.telecom:phone.​system | Base | required | ContactPointSystem | 📍5.0.0 | FHIR Std.
Patient.telecom:phone.​use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std.
Patient.telecom:email.​system | Base | required | ContactPointSystem | 📍5.0.0 | FHIR Std.
Patient.telecom:email.​use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std.
Patient.gender | Base | required | Administratiivne sugu | ⏿2.0.0 | term.tehik.ee
Patient.birthDate.extension:age.​value[x].comparator | Base | required | QuantityComparator | 📍5.0.0 | FHIR Std.
Patient.communication.​language | Base | required | Keeled | ⏿1.0.0 | term.tehik.ee
Patient.link.type | Base | required | Link Type | 📍5.0.0 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Patient | 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 | `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()`
dom-4 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Patient | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
email-regex | error | Patient.telecom:email.value | E-posti aadress peab olema korrektses vormingus | `value.matches('^(?=.{1,64}@)[A-Za-z0-9_+-]+(\\.[A-Za-z0-9_+-]+)*@[^-][A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*(\\.[A-Za-z]{2,})$')`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
phone-regex | error | Patient.telecom:phone.value | Telefoninumber peab olema korrektses Eesti vormingus (lauatelefon, mobiil või rahvusvaheline number) | `value.matches('(^\\+(?!372)[1-9]\\d{1,14}$)|(^(\\+372|00372)?5(\\d{6,7})$)|(^(\\+372|00372)?(32|33|35|38|39|6[0-9]|7[1-9]|88)(\\d{5})$)')`

Differential View

This structure is derived from EEMPIPatientVerified

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient |  | 0..* | EEMPIPatientVerified | Information about an individual or animal receiving health care services
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:role |  | 0..1 | CodeableConcept | Role of donor/recipient. (ee Doonori/retsipiendi roll LOENDIST.) URL: https://fhir.ee/vris/StructureDefinition/ee-vris-role
extension:birthPlace |  | 0..1 | Address | Place of Birth for patient URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
extension:nationality |  | 0..1 | (Complex) | Nationality URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
identifier |  | 1..* | Identifier | Identifier for donor (ee DOONORIKOOD. Kasuta erinevaid system-urisi, et eristada. IRCC uri vajaks lisamist patisendi identifikaatorite domeeni!)
type |  | 0..1 | CodeableConcept | (ee Kas kasutada doonorite puhul DR Donor registration numberit eristamaks teistest? seda saaks kasutada parameetrina (?) otsingutes, kui on vaja otsida doonoreid?) Required Pattern: At least the following
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: DR
name |  | 1..* | HumanName | Name.(ee Doonori nimi)
gender |  | 0..1 | code | (ee Sugu. Võib erineda sünnisoost!)
birthDate |  |  |  |
Slices for extension |  |  |  | Content/Rules for all slices
extension:age |  | 0..1 | ExtensionEEBasePatientAge(2.0.0) | (ee Vanus on kohustuslik)
value[x] |  | 1..1 | Age | Value of extension
deceased[x] |  | 0..1 | boolean, dateTime | (ee Surnud (boolean) ja surmaaeg. Surma põhjus on eraldi observation? Kas seda on vaja?)
maritalStatus |  | 0..0 | CodeableConcept | (ee Perekonnaseis. SEE TULEB ERALDI observationi kaudu, mitte siit!)
link |  | 0..* | BackboneElement | (ee NB! Seosed MPI kirje ja suhete vahel teha PIGEM identifikaatorite pärimise kaudu. NB! Uurikuidas MPI link töötab, kirjas on et EI salvestata, kas see mõjutab VRIS?)
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient |  | 0..* | EEMPIPatientVerified | Information about an individual or animal receiving health care services
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:role |  | 0..1 | CodeableConcept | Role of donor/recipient. (ee Doonori/retsipiendi roll LOENDIST.) URL: https://fhir.ee/vris/StructureDefinition/ee-vris-role
extension:birthPlace |  | 0..1 | Address | Place of Birth for patient URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
extension:nationality |  | 0..1 | (Complex) | Nationality URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 1..* | Identifier | Identifier for donor (ee DOONORIKOOD. Kasuta erinevaid system-urisi, et eristada. IRCC uri vajaks lisamist patisendi identifikaatorite domeeni!)
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | (ee Kas kasutada doonorite puhul DR Donor registration numberit eristamaks teistest? seda saaks kasutada parameetrina (?) otsingutes, kui on vaja otsida doonoreid?) Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 0..1 | uri | Identity of the terminology system
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: DR
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
system | S Σ | 1..1 | uri | The namespace for the identifier value Binding: Patsiendi identifikaatorite domeen (required) Example General: http://www.acme.com/identifiers/patient
value | S Σ C | 1..1 | string | Patient identification code or document number. Example General: 123456
period | S Σ | 0..1 | Period | Identifikaatori kehtivuse periood. Kui puudub, siis on identifikaator kehtiv.
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued the document. Can be used as a reference to an organization or as free text.
active | ?!Σ | 0..1 | boolean | Patsiendi kirje olek, määrab kas kirje on kehtiv või eksklikult sisestatud. Eesti isikukoodiga patsiendi puhul väärtuse muutus ei ole lubatud. Vaikimisi on true (aktiivne).
Slices for name | S Σ | 1..* | HumanName | Name.(ee Doonori nimi) Slice: Unordered, Open by value:use
name:official | S Σ | 1..1 | HumanName | Ametlik nimi
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!S Σ | 1..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. Fixed Value: official
text | S Σ | 0..1 | string | Text representation of the full name
family | S Σ | 1..1 | string | Perekonnanimi
given | S Σ | 1..1 | string | Eesnimi This repeating element order: Given Names appear in the correct order for presenting the name
prefix | S Σ | 0..1 | string | Parts that come before the name This repeating element order: Prefixes appear in the correct order for presenting the name
suffix | Σ | 0..* | string | Parts that come after the name This repeating element order: Suffixes appear in the correct order for presenting the name
period | S Σ | 0..1 | Period | Time period when name was/is in use
name:nickname | S Σ | 0..1 | HumanName | Tundmatu või anonüümse patsiendi nimi
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!S Σ | 1..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. Fixed Value: nickname
text | S Σ | 1..1 | string | Tundmatu patsiendi hüüdnimi
period | Σ | 0..1 | Period | Time period when name was/is in use
Slices for telecom | S Σ | 0..* | ContactPoint | Patsiendi kontaktandmed. Slice: Unordered, Closed by value:system
telecom:All Slices |  |  |  | Content/Rules for all slices
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point.
value | S Σ C | 1..1 | string | The actual contact point details
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point.
rank | Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest)
period | S Σ | 0..1 | Period | Time period when the contact point was/is in use
telecom:phone | S Σ | 0..* | ContactPoint | Telefoni number
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. Required Pattern: phone
value | S Σ C | 1..1 | string | The actual contact point details Constraints: phone-regex
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point.
rank | S Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest)
period | S Σ | 0..1 | Period | Time period when the contact point was/is in use
telecom:email | S Σ | 0..* | ContactPoint | E-Mail
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. Required Pattern: email
value | S Σ C | 1..1 | string | The actual contact point details Constraints: email-regex
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point.
rank | S Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest)
period | S Σ | 0..1 | Period | Time period when the contact point was/is in use
gender | S Σ | 0..1 | code | (ee Sugu. Võib erineda sünnisoost!) Binding: Administratiivne sugu (required)
birthDate | S Σ | 0..1 | date | The date of birth for the individual
id |  | 0..1 | string | xml:id (or equivalent in JSON)
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:birthTime | S | 0..1 | (Complex) | Sünniaeg URL: http://hl7.org/fhir/StructureDefinition/patient-birthTime
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/patient-birthTime"
value[x] | S | 1..1 | dateTime | Value of extension
extension:age |  | 0..1 | (Complex) | (ee Vanus on kohustuslik) URL: https://fhir.ee/base/StructureDefinition/ee-patient-age
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://fhir.ee/base/StructureDefinition/ee-patient-age"
value[x] |  | 1..1 | Age | Value of extension
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
value | Σ | 1..1 | decimal | Numerical value (with implicit precision)
comparator | ?!Σ | 0..1 | code | < | <= | >= | > | ad - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented.
unit | Σ | 1..1 | string | Unit representation
system | Σ C | 0..1 | uri | System that defines coded unit form
code | Σ C | 1..1 | code | Coded form of the unit
extension:accuracyIndicator |  | 0..1 | Coding | Kuupäeva täpsuse indikaator URL: https://fhir.ee/base/StructureDefinition/ee-date-accuracy-indicator Binding: Date Accuracy Indicator (required): Date accuracy coding
value |  | 0..1 | date | Primitive value for date
deceased[x] | ?!S Σ | 0..1 |  | (ee Surnud (boolean) ja surmaaeg. Surma põhjus on eraldi observation? Kas seda on vaja?)
deceased[x]All Types |  |  |  | Content/Rules for all Types
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:accuracyIndicator |  | 0..1 | Coding | Date accuracy indicator URL: https://fhir.ee/base/StructureDefinition/ee-date-accuracy-indicator Binding: Date Accuracy Indicator (required): Date accuracy coding
deceasedBoolean |  |  | boolean |
deceasedDateTime |  |  | dateTime |
address | S Σ | 0..* | EEBaseAddress(2.0.0) | An address for the individual
multipleBirth[x] |  | 0..1 |  | Whether patient is part of a multiple birth
multipleBirthBoolean |  |  | boolean |
multipleBirthInteger |  |  | integer |
communication | S | 0..* | BackboneElement | Suhtluskeeled
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
language |  | 1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: Keeled (required)
Additional Bindings | Purpose
CommonLanguages | Starter
Keeled | Preferred
preferred |  | 0..1 | boolean | Language preference indicator
link | ?!S Σ | 0..* | BackboneElement | (ee NB! Seosed MPI kirje ja suhete vahel teha PIGEM identifikaatorite pärimise kaudu. NB! Uurikuidas MPI link töötab, kirjas on et EI salvestata, kas see mõjutab VRIS?)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
other | Σ | 1..1 | Reference(EEBase Patient(2.0.0) | EEBase RelatedPerson(2.0.0)) | The other patient or related person resource that the link refers to
type | Σ | 1..1 | code | replaced-by | replaces | refer | seealso Binding: LinkType (required): The type of link between this patient resource and another Patient resource, or Patient/RelatedPerson when using the seealso code
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Patient.language | Base | required | All Languages | 📍5.0.0 | FHIR Std.
Patient.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | FHIR Std.
Patient.identifier.type | Base | extensible | Identifier Type Codes | 📍5.0.0 | FHIR Std.
Patient.identifier.system | Base | required | Patsiendi identifikaatorite domeen | ⏿3.0.0 | term.tehik.ee
Patient.name:official.​use | Base | required | NameUse | 📍5.0.0 | FHIR Std.
Patient.name:nickname.​use | Base | required | NameUse | 📍5.0.0 | FHIR Std.
Patient.telecom.system | Base | required | ContactPointSystem | 📍5.0.0 | FHIR Std.
Patient.telecom.use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std.
Patient.telecom:phone.​system | Base | required | ContactPointSystem | 📍5.0.0 | FHIR Std.
Patient.telecom:phone.​use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std.
Patient.telecom:email.​system | Base | required | ContactPointSystem | 📍5.0.0 | FHIR Std.
Patient.telecom:email.​use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std.
Patient.gender | Base | required | Administratiivne sugu | ⏿2.0.0 | term.tehik.ee
Patient.birthDate.extension:age.​value[x].comparator | Base | required | QuantityComparator | 📍5.0.0 | FHIR Std.
Patient.contact.relationship | Base | extensible | Patient Contact Relationship | 📍5.0.0 | FHIR Std.
Patient.contact.gender | Base | required | AdministrativeGender | 📍5.0.0 | FHIR Std.
Patient.communication.​language | Base | required | Keeled | ⏿1.0.0 | term.tehik.ee
Patient.link.type | Base | required | Link Type | 📍5.0.0 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Patient | 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 | `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()`
dom-4 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Patient | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
email-regex | error | Patient.telecom:email.value | E-posti aadress peab olema korrektses vormingus | `value.matches('^(?=.{1,64}@)[A-Za-z0-9_+-]+(\\.[A-Za-z0-9_+-]+)*@[^-][A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*(\\.[A-Za-z]{2,})$')`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
phone-regex | error | Patient.telecom:phone.value | Telefoninumber peab olema korrektses Eesti vormingus (lauatelefon, mobiil või rahvusvaheline number) | `value.matches('(^\\+(?!372)[1-9]\\d{1,14}$)|(^(\\+372|00372)?5(\\d{6,7})$)|(^(\\+372|00372)?(32|33|35|38|39|6[0-9]|7[1-9]|88)(\\d{5})$)')`

This structure is derived from EEMPIPatientVerified

Summary

Mandatory: 0 element(1 nested mandatory element)

Extensions

This structure refers to these extensions:

- https://fhir.ee/vris/StructureDefinition/ee-vris-role
- http://hl7.org/fhir/StructureDefinition/patient-birthPlace
- http://hl7.org/fhir/StructureDefinition/patient-nationality

Other representations of profile: CSV, Excel, Schematron